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

Function dGeomSphereSetRadius

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

Source from the content-addressed store, hash-verified

108
109
110void dGeomSphereSetRadius (dGeomID g, dReal radius)
111{
112 dUASSERT (g && g->type == dSphereClass,"argument not a sphere");
113 dAASSERT (radius > 0);
114 dxSphere *s = (dxSphere*) g;
115 s->radius = radius;
116 dGeomMoved (g);
117}
118
119
120dReal dGeomSphereGetRadius (dGeomID g)

Callers 2

setRadiusMethod · 0.85
SetBoxMethod · 0.85

Calls 1

dGeomMovedFunction · 0.85

Tested by

no test coverage detected