|
Open Dynamics Engine
|
Functions | |
| ODE_API dGeomID | dCreateSphere (dSpaceID space, dReal radius) |
| Create a sphere geom of the given radius, and return its ID. | |
| ODE_API void | dGeomSphereSetRadius (dGeomID sphere, dReal radius) |
| Set the radius of a sphere geom. | |
| ODE_API dReal | dGeomSphereGetRadius (dGeomID sphere) |
| Retrieves the radius of a sphere geom. | |
| ODE_API dReal | dGeomSpherePointDepth (dGeomID sphere, dReal x, dReal y, dReal z) |
| Calculate the depth of the a given point within a sphere. | |
| ODE_API dGeomID dCreateSphere | ( | dSpaceID | space, |
| dReal | radius | ||
| ) |
Create a sphere geom of the given radius, and return its ID.
| space | a space to contain the new geom. May be null. |
| radius | the radius of the sphere. |
| ODE_API dReal dGeomSphereGetRadius | ( | dGeomID | sphere | ) |
Retrieves the radius of a sphere geom.
| sphere | the sphere to query. |
| ODE_API dReal dGeomSpherePointDepth | ( | dGeomID | sphere, |
| dReal | x, | ||
| dReal | y, | ||
| dReal | z | ||
| ) |
Calculate the depth of the a given point within a sphere.
| sphere | the sphere to query. |
| x | the X coordinate of the point. |
| y | the Y coordinate of the point. |
| z | the Z coordinate of the point. |
| ODE_API void dGeomSphereSetRadius | ( | dGeomID | sphere, |
| dReal | radius | ||
| ) |
Set the radius of a sphere geom.
| sphere | the sphere to set. |
| radius | the new radius. |
1.7.3