Saga
Saga Game Engine
Loading...
Searching...
No Matches
Saga::CylinderCollider Struct Reference

Model an axis-aligned cylinder collider. More...

#include <collider.h>

Public Member Functions

 CylinderCollider (float height=1, float radius=0.5f)
 

Public Attributes

float height
 
float radius
 

Detailed Description

Model an axis-aligned cylinder collider.

Constructor & Destructor Documentation

◆ CylinderCollider()

Saga::CylinderCollider::CylinderCollider ( float  height = 1,
float  radius = 0.5f 
)
inline

Create a cylinder collider.

Parameters
heightthe height of the cylinder collider.
radiusof the cylinder collider.

Member Data Documentation

◆ height

float Saga::CylinderCollider::height

◆ radius

float Saga::CylinderCollider::radius

The documentation for this struct was generated from the following file: