#pragma once
#include "ofxiOS.h"
class ofApp : public ofxiOSApp{
public:
void setup();
void update();
void draw();
void exit();
void touchDown(ofTouchEventArgs & touch);
void touchMoved(ofTouchEventArgs & touch);
void touchUp(ofTouchEventArgs & touch);
void touchDoubleTap(ofTouchEventArgs & touch);
void touchCancelled(ofTouchEventArgs & touch);
void lostFocus();
void gotFocus();
void gotMemoryWarning();
void deviceOrientationChanged(int newOrientation);
bool bFill;
bool bWireframe;
bool bDrawNormals;
bool bDrawLights;
bool bInfoText;
ofImage texture;
int mode;
int numTouches;
ofSpherePrimitive sphere;
ofIcoSpherePrimitive icoSphere;
ofPlanePrimitive plane;
ofCylinderPrimitive cylinder;
ofConePrimitive cone;
ofBoxPrimitive box;
ofLight pointLight;
ofLight pointLight2;
ofLight pointLight3;
ofMaterial material;
ofMesh boxSides[ofBoxPrimitive::SIDES_TOTAL];
};
Comments