diff options
Diffstat (limited to 'lasertext')
| -rw-r--r-- | lasertext/src/ofApp.cpp | 11 | ||||
| -rw-r--r-- | lasertext/src/ofApp.h | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/lasertext/src/ofApp.cpp b/lasertext/src/ofApp.cpp index c883866..391aa37 100644 --- a/lasertext/src/ofApp.cpp +++ b/lasertext/src/ofApp.cpp @@ -26,7 +26,16 @@ void ofApp::setup(){ //banner.init("Everything Is Going To Be Alright"); banner.init("No Pleasure is Too Guilty"); - stars.init("stars",5,450); +/* + stars.allocate(1); + + for (int i=0;i<stars.size();i++){ + stars.init("stars "+ofToString(i+1),5,450); + } + + */ + + stars.init("stars "+ofToString(1),990,10); textgui.setup("text","",5,650); textgui.add(laser_scale.set("scale", 1.0f, 0.5f, 3.0f)); diff --git a/lasertext/src/ofApp.h b/lasertext/src/ofApp.h index 052d565..bd92da1 100644 --- a/lasertext/src/ofApp.h +++ b/lasertext/src/ofApp.h @@ -179,6 +179,8 @@ class ofApp : public ofBaseApp{ ofxXmlSettings XML; + //vector<starSystem> stars; + starSystem stars; glm::vec2 warpframe[4]; |
