Saga
Saga Game Engine
|
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 |
Model an axis-aligned ellipsoid.
|
inline |
Construct an ellipsoid collider.
radius | the radius of the ellipsoid collider. So its bounding box will be twice the size of this radius. |
glm::vec3 Saga::EllipsoidCollider::radius |