MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / dGeomRayMotionsSet

Function dGeomRayMotionsSet

ogsr_engine/xrGame/dRayMotions.cpp:116–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void dGeomRayMotionsSet(dGeomID g, const dReal* p, const dReal* d, dReal l)
117{
118 dxRayMotions* c = (dxRayMotions*)dGeomGetClassData(g);
119 dGeomRaySetLength(c->ray, l);
120 dGeomRaySet(c->ray, p[0], p[1], p[2], d[0], d[1], d[2]);
121 dGeomMoved(g);
122}
123
124void dGeomRayMotionSetGeom(dGeomID rm, dGeomID g)
125{

Callers 1

CollideMethod · 0.85

Calls 4

dGeomGetClassDataFunction · 0.85
dGeomRaySetLengthFunction · 0.85
dGeomRaySetFunction · 0.85
dGeomMovedFunction · 0.85

Tested by

no test coverage detected