|
osgEarth 2.1.1
|
Include dependency graph for Diamond.cpp:Go to the source code of this file.
Defines | |
| #define | DEVIATION 0 |
| #define | T_QUADTREE 0 |
| #define | T_CHILD_0 1 |
| #define | T_PARENT_R 2 |
| #define | T_CHILD_1 3 |
| #define | T_GDPARENT 4 |
| #define | T_CHILD_2 5 |
| #define | T_PARENT_L 6 |
| #define | T_CHILD_3 7 |
| #define | OT(I, R) otex[ ( I + R ) % 8 ] |
| #define | ADD_TRI(COORDS, TEX, C1, T1, C2, T2, C3, T3, OFFSET, SPAN) |
Variables | |
| static int | s_numDiamonds = 0 |
| static osg::Vec2f | otex [8] |
| #define ADD_TRI | ( | COORDS, | |
| TEX, | |||
| C1, | |||
| T1, | |||
| C2, | |||
| T2, | |||
| C3, | |||
| T3, | |||
| OFFSET, | |||
| SPAN | |||
| ) |
{ \
COORDS->push_back(C1); \
COORDS->push_back(C2); \
COORDS->push_back(C3); \
TEX->push_back( OFFSET + (T1*SPAN) ); \
TEX->push_back( OFFSET + (T2*SPAN) ); \
TEX->push_back( OFFSET + (T3*SPAN) );
Definition at line 487 of file Diamond.cpp.
| #define DEVIATION 0 |
Definition at line 239 of file Diamond.cpp.
| #define OT | ( | I, | |
| R | |||
| ) | otex[ ( I + R ) % 8 ] |
Definition at line 485 of file Diamond.cpp.
| #define T_CHILD_0 1 |
Definition at line 465 of file Diamond.cpp.
| #define T_CHILD_1 3 |
Definition at line 467 of file Diamond.cpp.
| #define T_CHILD_2 5 |
Definition at line 469 of file Diamond.cpp.
| #define T_CHILD_3 7 |
Definition at line 471 of file Diamond.cpp.
| #define T_GDPARENT 4 |
Definition at line 468 of file Diamond.cpp.
| #define T_PARENT_L 6 |
Definition at line 470 of file Diamond.cpp.
| #define T_PARENT_R 2 |
Definition at line 466 of file Diamond.cpp.
| #define T_QUADTREE 0 |
Definition at line 464 of file Diamond.cpp.
osg::Vec2f otex[8] [static] |
{
osg::Vec2f(0.0,0.0),
osg::Vec2f(0.5,0.0),
osg::Vec2f(1.0,0.0),
osg::Vec2f(1.0,0.5),
osg::Vec2f(1.0,1.0),
osg::Vec2f(0.5,1.0),
osg::Vec2f(0.0,1.0),
osg::Vec2f(0.0,0.5)
}
Definition at line 473 of file Diamond.cpp.
int s_numDiamonds = 0 [static] |
Definition at line 39 of file Diamond.cpp.
1.7.3