OpenSimMirror/libraries/ode-0.9/contrib/dRay/Include/dRay.h

16 lines
429 B
C

#include "ode\ode.h"
/* Class ID */
extern int dRayClass;
/* Creates a ray */
dxGeom* dGeomCreateRay(dSpaceID space, dReal Length);
/* Set/Get length */
void dGeomRaySetLength(dxGeom* g, dReal Length);
dReal dGeomRayGetLength(dxGeom* g);
/* Utility function to override the ray's pos + rot */
void dGeomRaySet(dxGeom* g, dVector3 Origin, dVector3 Direction);
void dGeomRayGet(dxGeom* g, dVector3 Origin, dVector3 Direction);