SimpleMeshGeneratorGenerateTorus Method (Int32, Double, Int32, Degree, Double, Int32, Degree, Boolean, Vector3, Vector3, Vector4, Vector2, 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 Vector3[] positions, out Vector3[] normals, out Vector4[] tangents, out Vector2[] texCoords, out int[] indices, out SimpleMeshGeneratorFace[] faces )