#include <graph/ModelRendererTree.h>#include <graph/OptionsDisplay.h>#include <3dsparse/TreeModelFactory.h>#include <image/ImageFactory.h>#include <GLEXT/GLStateExtension.h>#include <GLEXT/GLGlobalState.h>#include <GLEXT/GLTexture.h>#include <GLEXT/GLInfo.h>Go to the source code of this file.
Functions | |
| static void | drawPineLevel (float texX, float texY, float width, float height, float lowheight, float texWidth=0.125f, float count=5.0f, bool doubleSide=false, float angOffset=0.0f) |
| static void | drawPineTrunc (float width, float height, float lowheight, float x=0.875f, float y=0.0f, float w=0.125f, float h=0.1f, float steps=3.0f) |
| static void | drawPalmTrunc (float width, float height, float count, float x=0.0f, float y=0.0f, float w=1.0f, float h=0.125f) |
| static void | drawPalmLevel (float width1, float w2, float height, float height2, float count, float texX, float texY) |
| static void drawPalmLevel | ( | float | width1, | |
| float | w2, | |||
| float | height, | |||
| float | height2, | |||
| float | count, | |||
| float | texX, | |||
| float | texY | |||
| ) | [static] |
Definition at line 213 of file ModelRendererTree.cpp.
References GL_QUADS, glBegin(), glEnd(), glNormal3fv(), glTexCoord2f(), glVertex3fv(), PI, and RAND.
Referenced by ModelRendererTree::drawInternalPre().
| static void drawPalmTrunc | ( | float | width, | |
| float | height, | |||
| float | count, | |||
| float | x = 0.0f, |
|||
| float | y = 0.0f, |
|||
| float | w = 1.0f, |
|||
| float | h = 0.125f | |||
| ) | [static] |
Definition at line 165 of file ModelRendererTree.cpp.
References GL_QUAD_STRIP, GL_TRIANGLE_FAN, glBegin(), glEnd(), glNormal3f(), glTexCoord2f(), glVertex3f(), and PI.
Referenced by ModelRendererTree::drawInternalPre().
| static void drawPineLevel | ( | float | texX, | |
| float | texY, | |||
| float | width, | |||
| float | height, | |||
| float | lowheight, | |||
| float | texWidth = 0.125f, |
|||
| float | count = 5.0f, |
|||
| bool | doubleSide = false, |
|||
| float | angOffset = 0.0f | |||
| ) | [static] |
Definition at line 91 of file ModelRendererTree.cpp.
References GL_TRIANGLE_FAN, glBegin(), glEnd(), glNormal3f(), glTexCoord2f(), glVertex3f(), PI, and RAND.
Referenced by ModelRendererTree::drawInternalPre().
| static void drawPineTrunc | ( | float | width, | |
| float | height, | |||
| float | lowheight, | |||
| float | x = 0.875f, |
|||
| float | y = 0.0f, |
|||
| float | w = 0.125f, |
|||
| float | h = 0.1f, |
|||
| float | steps = 3.0f | |||
| ) | [static] |
Definition at line 142 of file ModelRendererTree.cpp.
References GL_TRIANGLE_FAN, glBegin(), glEnd(), glNormal3f(), glTexCoord2f(), glVertex3f(), and PI.
Referenced by ModelRendererTree::drawInternalPre().
1.5.3