diff options
| author | Tim Redfern <redfernt@gmail.com> | 2023-08-17 23:06:47 +0100 |
|---|---|---|
| committer | Tim Redfern <redfernt@gmail.com> | 2023-08-17 23:06:47 +0100 |
| commit | ae1a7a509b9c5f08636b449f5de3ffede4ae954a (patch) | |
| tree | d02ec3473c8d1e9beadbbf3cc1687acbe3d6ff22 /lasertext/src/ofApp.cpp | |
| parent | f302aab99b8455f98704924e93842f9623523916 (diff) | |
ready for multi stars
Diffstat (limited to 'lasertext/src/ofApp.cpp')
| -rw-r--r-- | lasertext/src/ofApp.cpp | 11 |
1 files changed, 10 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)); |
