Programming API Reference: SharpGfx.Geometries.Shapes

Class public static Cube

Approach with indexing.
Property public static float[] Positions { get; }: Vertex-positions of each face, shared vertices are repeated.
Property public static float[] Normals { get; }: Normal per vertex.
Property public static float[] Tangent { get; }: U in model space.
Property public static float[] BiTangent { get; }: V in model space.
Property public static float[] TextureUvs { get; }: In texture space.
Property public static ushort[] Triangles { get; }: In vertex numbers.