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

Function dGeomRaySetLength

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

Source from the content-addressed store, hash-verified

422
423
424void dGeomRaySetLength (dGeomID g, dReal length)
425{
426 dUASSERT (g && g->type == dRayClass,"argument not a ray");
427 dxRay *r = (dxRay*) g;
428 r->length = length;
429 dGeomMoved (g);
430}
431
432
433dReal dGeomRayGetLength (dGeomID g)

Callers 2

setLengthMethod · 0.85
dGeomRayMotionsSetFunction · 0.85

Calls 1

dGeomMovedFunction · 0.85

Tested by

no test coverage detected