Docs 0.11.0

ofDocsexamples 3d advanced3dExample src Grid.cpp

Sources

src Grid.cpp src Grid.h src main.cpp src ofApp.cpp src ofApp.h src Swarm.cpp src Swarm.h

Comments

See also

documentationof3dUtils (functions)
documentationof3dPrimitive
documentationof3dGraphics
documentationof3dGraphics (functions)
documentation3d
examplesadvanced3dExample
openframeworksof3dGraphics.h
openframeworksof3dGraphics.cpp
openframeworksof3dUtils.h
openframeworksof3dUtils.cpp
openframeworksof3dPrimitives.h
openframeworksof3dPrimitives.cpp
openframeworks3d
#include "Grid.h"

// grid is a custom 3D
//  object that we've
//  created in this
//  example.

void grid::customDraw(){
	ofPushStyle();

	//give a saturation and lightness
	ofSetColor(255, 100, 100);

	ofDrawGrid(100.0f);

	ofPopStyle();
}