Logo Search packages:      
Sourcecode: blender version File versions  Download package

dRay.h

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


Generated by  Doxygen 1.6.0   Back to index