#include <ddgtmesh.h>
Class diagram for ddgTCache:
Public Members | |||
void | init (unsigned int size ) | ||
Initialize the cache. | |||
ddgTNode* | get (ddgCacheIndex n) | ||
Get entry. |
nodes are created for triangle which are either directly visible or indirectly active to ensure the continuity of the mesh. Entry 0 is the default entry and will return the values for all elements which are not actually in the cache. Entry 1 is a scratch entry which elements who are not actually active can use to write a value to. This is to avoid writing complicated functions which check all the time.