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

Function dGeomRaySet

3rd_party/Src/ode/ode/src/collision_std.cpp:441–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439
440
441void dGeomRaySet (dGeomID g, dReal px, dReal py, dReal pz,
442 dReal dx, dReal dy, dReal dz)
443{
444 dUASSERT (g && g->type == dRayClass,"argument not a ray");
445 dGeomSetPosition (g,px,py,pz);
446 dMatrix3 R;
447 dRFromZAxis (R,dx,dy,dz);
448 dGeomSetRotation (g,R);
449}
450
451
452void dGeomRayGet (dGeomID g, dVector3 start, dVector3 dir)

Callers 2

setMethod · 0.85
dGeomRayMotionsSetFunction · 0.85

Calls 3

dGeomSetPositionFunction · 0.85
dRFromZAxisFunction · 0.85
dGeomSetRotationFunction · 0.85

Tested by

no test coverage detected