dCreateSphere

@brief Create a sphere geom of the given radius, and return its ID.

@param space a space to contain the new geom. May be null. @param radius the radius of the sphere.

@returns A new sphere geom.

@remarks The point of reference for a sphere is its center.

@sa dGeomDestroy @sa dGeomSphereSetRadius @ingroup collide_sphere

extern (C) nothrow
dCreateSphere

Meta