SimpleMeshGeneratorGenerateTorus Method (Int32, Double, Int32, Degree, Double, Int32, Degree, Boolean, Vector3F, Vector3F, Vector4F, Vector2F, Int32, SimpleMeshGeneratorFace) |
Namespace: NeoAxis
public static void GenerateTorus( int axis, double radius, int segments, Degree circumference, double tubeRadius, int tubeSegments, Degree tubeCircumference, bool insideOut, out Vector3F[] positions, out Vector3F[] normals, out Vector4F[] tangents, out Vector2F[] texCoords, out int[] indices, out SimpleMeshGeneratorFace[] faces )