C4 Engine
C4 Engine API Documentation

class CylinderShape

Defined in:  C4Shapes.h
The CylinderShape class represents a cylinder shape node in a world.
Definition

class CylinderShape : public Shape

Constructor

CylinderShape(const Vector2D& size, float height);

Parameters
size The size of the cylinder base.
height The height of the cylinder.
Description
The CylinderShape class represents a shape node that is shaped like a cylinder whose dimensions are specified by the size and height parameters.
Base Classes
Shape A cylinder shape is a specific type of shape.
See Also

CylinderShapeObject