int vdsSimpleVisibility (const vdsNode *node)

Test a node against the view frustum


Test a node against the view frustum. Using a very crude approximation of the viewing frustum as a simple cone, checks whether the node->bound sphere intersects the cone.

Note: I have got to write a better view-frustum test.

0 if the node lies completely outside the viewing cone
1 if the node partially intersects the viewing cone
2 if the node is completely contained by the viewing cone

alphabetic index hierarchy of classes