blob: f6caea8542832f7887f523cf55b313de79a91cd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#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);
|