public static float HeightFlat(float3 position, EnvironmentConsts ec) { return(ec.sinXHeight); }
public static float HeightSlopeX(float3 position, EnvironmentConsts ec) { return(ec.sinXHeight * position.x); }
public static float HeightSine(float3 position, EnvironmentConsts ec) { return(ec.sinXHeight * (math.sin(ec.sinXShift + position.x / ec.sinXLength)) + ec.sinYHeight * (math.sin(ec.sinYShift + position.z / ec.sinYLength))); }