diff options
author | dan miller | 2007-10-19 05:15:33 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:15:33 +0000 |
commit | 79eca25c945a535a7a0325999034bae17da92412 (patch) | |
tree | 40ff433d94859d629aac933d5ec73b382f62ba1a /libraries/ode-0.9/contrib/dRay/Include/dRay.h | |
parent | adding ode source to /libraries (diff) | |
download | opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.zip opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.gz opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.bz2 opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.xz |
resubmitting ode
Diffstat (limited to 'libraries/ode-0.9/contrib/dRay/Include/dRay.h')
-rw-r--r-- | libraries/ode-0.9/contrib/dRay/Include/dRay.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/ode-0.9/contrib/dRay/Include/dRay.h b/libraries/ode-0.9/contrib/dRay/Include/dRay.h new file mode 100644 index 0000000..f6caea8 --- /dev/null +++ b/libraries/ode-0.9/contrib/dRay/Include/dRay.h | |||
@@ -0,0 +1,15 @@ | |||
1 | #include "ode\ode.h" | ||
2 | |||
3 | /* Class ID */ | ||
4 | extern int dRayClass; | ||
5 | |||
6 | /* Creates a ray */ | ||
7 | dxGeom* dGeomCreateRay(dSpaceID space, dReal Length); | ||
8 | |||
9 | /* Set/Get length */ | ||
10 | void dGeomRaySetLength(dxGeom* g, dReal Length); | ||
11 | dReal dGeomRayGetLength(dxGeom* g); | ||
12 | |||
13 | /* Utility function to override the ray's pos + rot */ | ||
14 | void dGeomRaySet(dxGeom* g, dVector3 Origin, dVector3 Direction); | ||
15 | void dGeomRayGet(dxGeom* g, dVector3 Origin, dVector3 Direction); | ||