Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
mnd::SphereCollider Class Reference

Sphere collider of the given radius. More...

#include <Collider.h>

+ Inheritance diagram for mnd::SphereCollider:
+ Collaboration diagram for mnd::SphereCollider:

Public Member Functions

 SphereCollider (float radius)
 
btCollisionShape * GetShape ()
 Underlying Bullet shape (borrowed, do not delete).
 

Protected Attributes

btCollisionShape * m_shape = nullptr
 

Detailed Description

Sphere collider of the given radius.

Definition at line 48 of file Collider.h.

Constructor & Destructor Documentation

◆ SphereCollider()

mnd::SphereCollider::SphereCollider ( float  radius)

Definition at line 28 of file Collider.cpp.

References mnd::Collider::m_shape.

Member Function Documentation

◆ GetShape()

btCollisionShape * mnd::Collider::GetShape ( )
inherited

Underlying Bullet shape (borrowed, do not delete).

Definition at line 17 of file Collider.cpp.

References mnd::Collider::m_shape.

Member Data Documentation

◆ m_shape

btCollisionShape* mnd::Collider::m_shape = nullptr
protectedinherited

The documentation for this class was generated from the following files: