VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::DtDiGuyCharacterBoundingCallback Struct Reference

Custom root node bbox callback to avoid traversing down the model. 10x faster then trusting osg which winds up evaluating all the child collision boxes.

Inheritance diagram for makVrv::DtDiGuyCharacterBoundingCallback:
Inheritance graph
[legend]

Public Member Functions

 DtDiGuyCharacterBoundingCallback (DtDiGuyOsgRootNode &root)
 
virtual osg::BoundingSphere computeBound (const osg::Node &node) const
 

Public Attributes

DtDiGuyOsgRootNodemyRoot
 

Constructor & Destructor Documentation

makVrv::DtDiGuyCharacterBoundingCallback::DtDiGuyCharacterBoundingCallback ( DtDiGuyOsgRootNode root)

Member Function Documentation

virtual osg::BoundingSphere makVrv::DtDiGuyCharacterBoundingCallback::computeBound ( const osg::Node &  node) const
virtual

Member Data Documentation

DtDiGuyOsgRootNode& makVrv::DtDiGuyCharacterBoundingCallback::myRoot

The documentation for this struct was generated from the following file:

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)