ZeroZero Game Engine
v0.0
A 3D game engine using Vulkan & Jolt
|
Sphere shaped collision Shape
Public Member Functions | |
SphereShape (float radius, const string &resName="SphereShape") | |
![]() | |
auto | getId () const |
const auto & | getName () const |
string | toString () const override |
virtual shared_ptr< Resource > | duplicate () const |
![]() | |
void | connect (const Signal::signal &name, const Signal::Handler &handler) |
void | connect (const Signal::signal &name, const function< void ()> &handler) |
void | emit (const Signal::signal &name, void *params=nullptr) |
|
explicit |
Creates a SphereShape with the given radius