Creates the vertices and indices for a cube.
The cube is created around the origin. (-size / 2, size / 2).
width, height and depth of the cube. Default = 1
The created vertices.
Generated using TypeDoc
Creates the vertices and indices for a cube.
The cube is created around the origin. (-size / 2, size / 2).