C4 Engine
C4 Engine API Documentation

TorusGeometryObject::SetPrimarySize

Defined in:  C4Primitives.h
Sets the primary size of a torus.
Prototype

void SetPrimarySize(const Vector2D& primary);

Parameters
primary The new primary size of the torus.
Description
The SetPrimarySize function sets the primary size of a torus primitive. The components of the size parameter define the semiaxis lengths in the x and y directions.
See Also

TorusGeometryObject::GetPrimarySize

TorusGeometryObject::GetSecondaryRadius

TorusGeometryObject::SetSecondaryRadius