C4 Engine
C4 Engine API Documentation

class TruncatedDomeShape

Defined in:  C4Shapes.h
The TruncatedDomeShape class represents a truncated dome shape node in a world.

class TruncatedDomeShape : public Shape


TruncatedDomeShape(const Vector2D& size, float height, float ratio);

size The size of truncated dome base.
height The height of the truncated dome.
ratio The ratio of the size of the top face to the size of the bottom face (base) of the truncated dome.
The TruncatedDomeShape class represents a shape node that is shaped like a truncated dome whose dimensions are specified by the size, height, and ratio parameters.
Base Classes
Shape A truncated dome shape is a specific type of shape.
See Also