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

Model an axis-aligned ellipsoid. More...

#include <collider.h>

Public Member Functions

 EllipsoidCollider (glm::vec3 radius=glm::vec3(1, 1, 1))
 Construct an ellipsoid collider.
 

Public Attributes

glm::vec3 radius
 

Detailed Description

Model an axis-aligned ellipsoid.

Constructor & Destructor Documentation

◆ EllipsoidCollider()

Saga::EllipsoidCollider::EllipsoidCollider ( glm::vec3  radius = glm::vec3(1,1,1))
inline

Construct an ellipsoid collider.

Parameters
radiusthe radius of the ellipsoid collider. So its bounding box will be twice the size of this radius.

Member Data Documentation

◆ radius

glm::vec3 Saga::EllipsoidCollider::radius

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