dRay.h 429 B

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