Simulation information. More...
#include <haptix_sim.h>
Data Fields | |
hxsTransform | camera_transform |
Information about the camera. More... | |
int | model_count |
Number of models in simulation. More... | |
hxsModel | models [50] |
Array of models in simulation. More... | |
Simulation information.
IMPORTANT: Any hxsSimInfo variable should be declared in the heap. Declaring the variable in the stack can cause a stack overflow:
hxsSimInfo simInfo = (hxsSimInfo)malloc(sizeof(hxsSimInfo)); ... free(simInfo);
hxsTransform hxsSimInfo::camera_transform |
Information about the camera.
int hxsSimInfo::model_count |
Number of models in simulation.
This defines the range of elements in the "models" array.
hxsModel hxsSimInfo::models[50] |
Array of models in simulation.