This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
#include "ofMathConstants.h"
Go to the source code of this file.
Macros | |
#define | OF_MAX_STYLE_HISTORY 32 |
#define | OF_MAX_VIEWPORT_HISTORY 32 |
#define | OF_MAX_CIRCLE_PTS 1024 |
Typedefs | |
typedef ofColor_< float > | ofFloatColor |
using | ofDefaultVertexType = ofDefaultVec3 |
using | ofDefaultNormalType = ofDefaultVec3 |
using | ofDefaultColorType = ofFloatColor |
using | ofDefaultTexCoordType = ofDefaultVec2 |
Macro Definition Documentation
◆ OF_MAX_CIRCLE_PTS
#define OF_MAX_CIRCLE_PTS 1024 |
- Deprecated:
- Not currently used in the OF codebase.
◆ OF_MAX_STYLE_HISTORY
#define OF_MAX_STYLE_HISTORY 32 |
◆ OF_MAX_VIEWPORT_HISTORY
#define OF_MAX_VIEWPORT_HISTORY 32 |
- Deprecated:
- Not currently used in the OF codebase.
Typedef Documentation
◆ ofDefaultColorType
using ofDefaultColorType = ofFloatColor |
◆ ofDefaultNormalType
using ofDefaultNormalType = ofDefaultVec3 |
◆ ofDefaultTexCoordType
using ofDefaultTexCoordType = ofDefaultVec2 |
◆ ofDefaultVertexType
using ofDefaultVertexType = ofDefaultVec3 |
◆ ofFloatColor
typedef ofColor_<float> ofFloatColor |
Enumeration Type Documentation
◆ ofBlendMode
enum ofBlendMode |
Used to represent the available blending modes for drawing.
◆ ofDrawBitmapMode
enum ofDrawBitmapMode |
Sets the bitmap drawing mode for text.
- See also
- ofSetDrawBitmapMode()
Enumerator | |
---|---|
OF_BITMAPMODE_SIMPLE | |
OF_BITMAPMODE_SCREEN | |
OF_BITMAPMODE_VIEWPORT | |
OF_BITMAPMODE_MODEL | |
OF_BITMAPMODE_MODEL_BILLBOARD |
◆ ofFillFlag
enum ofFillFlag |
Used to represent the available fill modes.
- See also
- ofBaseRenderer
Enumerator | |
---|---|
OF_OUTLINE | Draw shapes as outlines, unfilled. |
OF_FILLED | Draw shapes filled with the current draw color. |
◆ ofGradientMode
enum ofGradientMode |
Represents the gradient types available to ofBackgroundGradient().
◆ ofHandednessType
enum ofHandednessType |
represents the available matrix coordinate system handednesses.
- See also
- ofMatrixStack
- http://seanmiddleditch.com/matrices-handedness-pre-and-post-multiplication-row-vs-column-major-and-notations/
Enumerator | |
---|---|
OF_LEFT_HANDED | |
OF_RIGHT_HANDED |
◆ ofImageType
enum ofImageType : short |
Used to represent the available channel types in ofImage.
These represent an abstraction of both CPU pixels (ofPixels) and GPU pixels (ofTexture). In most cases, developers should prefer ofPixelFormat over ofImageType for a more precise description of channel types.
- See also
- ofImage
◆ ofMatrixMode
enum ofMatrixMode |
represents the available matrix types used internally in ofMatrixStack.
Enumerator | |
---|---|
OF_MATRIX_MODELVIEW | |
OF_MATRIX_PROJECTION | |
OF_MATRIX_TEXTURE |
◆ ofPolyRenderMode
enum ofPolyRenderMode |
◆ ofPolyWindingMode
enum ofPolyWindingMode |
represents the available polygon winding modes.
These are straight out of glu, but renamed and included here for convenience. We don't mean to wrap the whole glu library (or any other library for that matter), but these defines are useful to give people flexibility over the polygonizer.
- See also
- ofPath::tessellate()
- ofTessellator::performTessellation()
- http://glprogramming.com/red/images/Image128.gif
- http://glprogramming.com/red/chapter11.html
◆ ofPrimitiveMode
enum ofPrimitiveMode |
◆ ofRectMode
enum ofRectMode |
Used to represent the available rectangle drawing modes.
- See also
- ofRectangle
- ofTexture
- ofImage
Enumerator | |
---|---|
OF_RECTMODE_CORNER | Represents the mode where rectangles draw from the top left. |
OF_RECTMODE_CENTER | Represents the mode where rectangles draw from the center. |