public void MakeSphereBorder(Vector3 sphereCenter, float sphereRadius, int numPoints, Camera camera) { List<Vector3> sphereBorderPoints = PrimitiveFactory.GenerateSphereBorderPoints(camera, sphereCenter, sphereRadius, numPoints); SetClockwisePoints(camera.ConvertWorldToScreenPoints(sphereBorderPoints), true); }
public static void DrawSphereBorder(Camera camera, Vector3 sphereCenter, float sphereRadius, int numPoints) { List <Vector3> boundaryPoints = PrimitiveFactory.GenerateSphereBorderPoints(camera, sphereCenter, sphereRadius, numPoints); DrawLineLoop3D(boundaryPoints); }