List of all members.
Classes
Public Member Functions
-
ProtIntersect (const string &name, int p, const RefPtr< VCreationPreferences > &vp)
-
bool rayTriangleIntersect (const point orig, const tvector dir, const point vert0, const point vert1, const point vert2, double &t, double &d, double &v, point &intersection)
- override bool update (VRequest &R, double precision)
- Virtual update function that implements some heavy action on the object.
Public Attributes
Member Function Documentation
bool ProtIntersect::update |
( |
VRequest & |
, |
|
|
double |
precision |
|
) |
| [virtual] |
Virtual update function that implements some heavy action on the object.
Update function.
It is called only if any input object is newer than the current object. It must return true on successful completion. However, the object may touch() itself in the update() routine. Then, it will get a newer time than all input objects, which will trigger all dependent objects as well.
- Returns:
- Must return true to indicate that the object was successfully updated and may now get the age of the most recent parameter.
Reimplemented from Wizt::VObject.
The documentation for this class was generated from the following file:
- modules/examples/ProtIntersect/ProtIntersect.cpp