BMC Engine v1.0.0
An open-source game engine powered by C and C++
|
#include <Generators.h>
Static Public Member Functions | |
static void | vertices (GLfloat verts[], float size) |
static void | indices (GLuint inds[]) |
Generates a cube, if given a size.
|
static |
Assigns an array the indices of a basic cube.
inds | The array to assign to. |
|
static |
Assigns an array the vertices of a basic cube.
verts | The array to assign to. |
size | The size multiplier for the cube. |