Important Codes/Beizer with drag of control points.cpp
void init() 
{
    // Object properties
    currentlymoving = false;
    selectedvert = -1;
    drawpoly = true;
    drawverts = true;

    // OpenGL Stuff
    glClearColor(1.0, 1.0, 1.0, 0.0);  // white background
}
// init
// Initializes GL states
// Called by main after window creation
init
Initializes GL states
Called by main after window creation
init Initializes GL states Called by main after window creation
void init() 
{
    currentlymoving = false;
    selectedvert = -1;
    drawpoly = true;
    drawverts = true;
    glClearColor(1.0, 1.0, 1.0, 0.0);  
}
void init ( ) { currentlymoving = false ; selectedvert = -1 ; drawpoly = true ; drawverts = true ; glClearColor ( 1.0 , 1.0 , 1.0 , 0.0 ) ; }
init
Initializes GL states
Called by main after window creation
init Initializes GL states Called by main after window creation
// Object properties // OpenGL Stuff // white background