~jtaylor/ubuntu/oneiric/soya/fix-780305

« back to all changes in this revision

Viewing changes to ode-0.5/contrib/dRay/Include/dRay.h

  • Committer: Bazaar Package Importer
  • Author(s): Marc Dequènes (Duck)
  • Date: 2005-01-30 09:55:06 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050130095506-f21p6v6cgaobhn5j
Tags: 0.9.2-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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);