view src/main.cpp @ 9:9adcffbdc16d

fixed bug with switching and make sure alignIndex never goes to zero, added in limit to the joint matrix that gets created.
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Mon, 07 Nov 2011 18:08:43 +0000
parents 572c856e38ac
children
line wrap: on
line source
#include "ofMain.h"
#include "testApp.h"
#include "ofAppGlutWindow.h"

//========================================================================
int main( ){

    ofAppGlutWindow window;
	ofSetupOpenGL(&window, 1024,768, OF_WINDOW);			// <-------- setup the GL context

	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:
	ofRunApp( new testApp());

}