HAPTIX API

Data Fields
hxsSimInfo Struct Reference

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...
 

Detailed Description

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);

Field Documentation

hxsTransform hxsSimInfo::camera_transform

Information about the camera.

See also
hxs_get_camera_transform
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.

See also
modelCount

The documentation for this struct was generated from the following file: