Tao.Ode SDK Documentation

Ode.dCreateSphere Method 

Create a sphere geom of the given radius, and return its ID. If space is nonzero, insert it into that space. The point of reference for a sphere is its center.

[Visual Basic]
Public Shared Function dCreateSphere( _
   ByVal space As IntPtr, _
   ByVal radius As Single _
) As IntPtr
[C#]
public static IntPtr dCreateSphere(
   IntPtr space,
   float radius
);

Parameters

space
A dSpaceID
radius
A dReal

Return Value

A dGeomID

See Also

Ode Class | Tao.Ode Namespace