Skip to content

Commit

Permalink
fixed laplacian tunnel
Browse files Browse the repository at this point in the history
  • Loading branch information
obviousjim committed Jun 27, 2015
1 parent 93707e6 commit a90451b
Show file tree
Hide file tree
Showing 7 changed files with 943 additions and 419 deletions.
Expand Up @@ -6,7 +6,6 @@
#include "CloudsGlobal.h"

bool meshsort(NamedVbo a, NamedVbo b){
// return ofToInt( ofSplitString(a.name,"Tunnel_")[1] ) < ofToInt( ofSplitString(b.name,"Tunnel_")[1] );
return ofToInt( a.name ) < ofToInt( b.name );
}

Expand Down Expand Up @@ -128,12 +127,17 @@ void CloudsVisualSystemLaplacianTunnel::selfSetupGui(){
void CloudsVisualSystemLaplacianTunnel::selfSetDefaults(){
primaryCursorMode = CURSOR_MODE_CAMERA;
secondaryCursorMode = CURSOR_MODE_INACTIVE;

frameCount = 0;
bUseExternalCamera = false;
bPalindrome = false;
lastFrameTime = 0;
growthFPS = 0;
currentGrowthIndex = 0;
}

void CloudsVisualSystemLaplacianTunnel::selfGuiEvent(ofxUIEventArgs &e){
if(e.widget->getName() == "Custom Button"){
// cout << "Button pressed!" << endl;
}

}

//Use system gui for global or logical settings, for exmpl
Expand Down Expand Up @@ -165,7 +169,6 @@ void CloudsVisualSystemLaplacianTunnel::selfSetup(){
currentGrowthIndex = 0;

ofDirectory objs(GetCloudsMediaPath() + "assets/LaplacianTunnel/Meshes/");
//ofDirectory objs(getVisualSystemDataPath(true) + "Meshes/");
objs.allowExt("vbo");
objs.listDir();

Expand Down Expand Up @@ -328,7 +331,7 @@ void CloudsVisualSystemLaplacianTunnel::selfDrawBackground(){
// this is called when your system is no longer drawing.
// Right after this selfUpdate() and selfDraw() won't be called any more
void CloudsVisualSystemLaplacianTunnel::selfEnd(){
clear();
// clear();
}

// this is called when you should clear all the memory and delet anything you made in setup
Expand Down
55 changes: 0 additions & 55 deletions VSLaplacian/Laplacian.sln

This file was deleted.

0 comments on commit a90451b

Please sign in to comment.