DarkGDK Programming Wiki
Advertisement

Constructs a 3D sphere object that is white and untextured by default.

Syntax[]

void dbMakeObjectSphere(int iObject, float fSize)
void dbMakeObjectSphere(int iObject, float fSize, int iRows, int iColumns)

iObject is the object number, you need that number when you want to refer back to this object.
fSize is the size of the sphere object.
iRows is amount of rows that the sphere should have. If you set this value to low value (like 2), the sphere will become very angular. iColumns is the amount of columns that the sphere should have.

See Also[]

Advertisement