List of all members.
Public Member Functions |
| CullDrawableByNormal (const osg::Vec3d &normal) |
bool | cull (osg::NodeVisitor *nv, osg::Drawable *drawable, osg::State *state) const |
Public Attributes |
osg::Vec3d | _normal |
Detailed Description
Definition at line 189 of file Utils.
Constructor & Destructor Documentation
osgEarth::CullDrawableByNormal::CullDrawableByNormal |
( |
const osg::Vec3d & |
normal | ) |
[inline] |
Member Function Documentation
bool osgEarth::CullDrawableByNormal::cull |
( |
osg::NodeVisitor * |
nv, |
|
|
osg::Drawable * |
drawable, |
|
|
osg::State * |
state |
|
) |
| const [inline] |
Definition at line 192 of file Utils.
{
return nv && nv->getEyePoint() * _normal <= 0;
}
Member Data Documentation
The documentation for this struct was generated from the following file:
- /home/cube/sources/osgearth/src/osgEarth/Utils