Return epsilon value such that anything less than epsilon is treated as 0 for the catastrophe value ( and thus there is no catastrophe ).
Protected Attributes
real
cat_epsilon
Detailed Description
this class provides an interface to sources of discontinuity in the physical simulation.
i.e. collision detection etc... Register it with ctWorld and check_cata- will be called each frame and handle_cat will be called if check_cata- return > 0.
Member Function Documentation
real ctCatastropheManager::check_catastrophe (
) [pure virtual]
check for a catastrophe and return a real indicating the "magnitude" of the worst ( bigger number ) catastrophe.
Return 0 for no catastrophe
The documentation for this class was generated from the following file: