Skip to content

Commit 42cc762

Browse files
authored
Examples - spaces to tabs (#7115)
1 parent 291e64d commit 42cc762

301 files changed

Lines changed: 8458 additions & 8458 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/3d/3DModelLoaderExample/src/ofApp.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ class ofApp : public ofBaseApp{
2323
void dragEvent(ofDragInfo dragInfo);
2424
void gotMessage(ofMessage msg);
2525

26-
ofxAssimpModelLoader model;
27-
ofLight light;
28-
29-
// stores the info on the current file.
30-
string curFileInfo;
31-
32-
//boolean to toggle help text
33-
bool bHelpText;
34-
35-
// for demonstrating loading in models directly into a mesh without using ofxAssimpModelLoader
36-
ofVboMesh mesh;
37-
bool bUsingMesh;
26+
ofxAssimpModelLoader model;
27+
ofLight light;
28+
29+
// stores the info on the current file.
30+
string curFileInfo;
31+
32+
//boolean to toggle help text
33+
bool bHelpText;
34+
35+
// for demonstrating loading in models directly into a mesh without using ofxAssimpModelLoader
36+
ofVboMesh mesh;
37+
bool bUsingMesh;
3838
ofNode meshNode;
3939

40-
ofEasyCam cam;
40+
ofEasyCam cam;
4141
float cameraOrbit;
4242
};
4343

examples/3d/3DPrimitivesExample/src/ofApp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void ofApp::draw() {
124124
// x = columns, y = rows //
125125
glm::vec2 planeDims = plane.getResolution();
126126
float planeAngleX = ofGetElapsedTimef()*3.6;
127-
float planeAngleInc = 3.f / (float)planeDims.x;
127+
float planeAngleInc = 3.f / (float)planeDims.x;
128128
glm::vec3 vert;
129129
for (size_t i = 0; i < deformPlane.getNumIndices(); i++) {
130130
planeAngleX += planeAngleInc;
@@ -240,7 +240,7 @@ void ofApp::draw() {
240240

241241

242242
// ICO Sphere //
243-
243+
244244
icoSphere.rotateDeg(spinX, 1.0, 0.0, 0.0);
245245
icoSphere.rotateDeg(spinY, 0, 1.0, 0.0);
246246

@@ -411,7 +411,7 @@ void ofApp::draw() {
411411
ofFill();
412412

413413
cam.end();
414-
414+
415415
ofSetDrawBitmapMode(OF_BITMAPMODE_MODEL_BILLBOARD);
416416

417417
ofDrawBitmapStringHighlight("ofPlanePrimitive" , glm::vec3(-90,-160,0) + cam.worldToScreen(plane.getGlobalPosition()) );

examples/3d/3DPrimitivesExample/src/ofApp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
#include "ofMain.h"
44

55
class ofApp : public ofBaseApp{
6-
6+
77
public:
88
void setup();
99
void update();
1010
void draw();
11-
11+
1212
void keyPressed (int key);
1313
void keyReleased(int key);
1414
void mouseMoved(int x, int y );
@@ -20,7 +20,7 @@ class ofApp : public ofBaseApp{
2020
void windowResized(int w, int h);
2121
void dragEvent(ofDragInfo dragInfo);
2222
void gotMessage(ofMessage msg);
23-
23+
2424
bool bFill;
2525
bool bWireframe;
2626
bool bDrawNormals;

examples/3d/advanced3dExample/src/ofApp.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void ofApp::setupViewports(){
108108

109109
//--------------------------------------------------------------
110110
void ofApp::update(){
111-
111+
112112
}
113113

114114

@@ -185,9 +185,9 @@ void ofApp::draw(){
185185
ofDrawRectangle(viewMain);
186186

187187
// restore the GL depth function
188-
188+
189189
ofPopStyle();
190-
190+
191191
//
192192
//--
193193
}
@@ -297,9 +297,9 @@ void ofApp::drawScene(int cameraIndex){
297297

298298
ofPopMatrix();
299299

300-
// Alternatively to the above, you may call the built-in method of
300+
// Alternatively to the above, you may call the built-in method of
301301
// ofCamera to draw its frustum:
302-
//
302+
//
303303
// camEasyCam.drawFrustum(boundsToUse);
304304

305305
ofPopStyle();

0 commit comments

Comments
 (0)