예제 #1
0
void Triangle::init()
{
    initializeGLFunctions();
    glGenBuffers(2, vboId);
    initialiseGeometry();
}
예제 #2
0
void Cube::init()
{
    glGenBuffers(2, vboId);
    initialiseGeometry();
}