| PathEngine home | previous: | next: |
The test application runs as a main loop, and must call
For this tutorial we'll use a very basic update loop that exits when the escape key is pressed, or when the window is closed:
bool windowClosed = false;
while(!testBed->getKeyState("_ESCAPE") && !windowClosed)
{
//...
}
|
In this case, if the escape key is down then the loop terminates.
See
The cMeshRenderGeometry class, defined in "sampleShared/MeshRenderGeometry.h", is used for creating the appropriate 'render geometry' for rendering the mesh through iTestBed.
Camera control will be performed by the testbed within the call to
See
| Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |