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