public static void ComputeRayAtPosition(OCMap map, int x, int z) { int maxY = map.GetMaxY(x, z); map.GetSunLightmap().SetSunHeight(maxY + 1, x, z); }
public static void ComputeRayAtPosition(OCMap map, int x, int z) { int maxY = map.GetMaxY( x, z ); map.GetSunLightmap().SetSunHeight(maxY+1, x, z); }