C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

class TorusGeometry

Defined in:  C4Primitives.h
The TorusGeometry class represents a torus primitive node in a world.
Definition

class TorusGeometry : public PrimitiveGeometry

Constructor

TorusGeometry(const Vector2D& primary, float secondary);

Parameters
primary The primary size of the torus.
secondary The secondary radius of the torus.
Description
Base Classes
PrimitiveGeometry A torus is a specific type of primitive geometry.
See Also

TorusGeometryObject