From 0fc46fc9590912bf6925c899edd02d7a2cdf5f79 Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 04:28:53 +0000 Subject: adding ode source to /libraries --- "libraries/ode-0.9\\/contrib/dRay/Include/dRay.h" | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 "libraries/ode-0.9\\/contrib/dRay/Include/dRay.h" (limited to 'libraries/ode-0.9\/contrib/dRay/Include') 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 100755 index 0000000..f6caea8 --- /dev/null +++ "b/libraries/ode-0.9\\/contrib/dRay/Include/dRay.h" @@ -0,0 +1,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); -- cgit v1.1