ZeroZero Game Engine  v0.0
A 3D game engine using Vulkan & Jolt
Public Member Functions | List of all members
BoxShape Class Reference

Detailed Description

Box shaped collision Shape

Inheritance diagram for BoxShape:
Shape Resource Object

Public Member Functions

 BoxShape (const vec3 &extends, const string &resName="BoxShape")
 
shared_ptr< Resourceduplicate () const override
 
- Public Member Functions inherited from Resource
auto getId () const
 
const auto & getName () const
 
string toString () const override
 
- Public Member Functions inherited from Object
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)
 

Constructor & Destructor Documentation

BoxShape ( const vec3 &  extends,
const string &  resName = "BoxShape" 
)
explicit

Creates a BoxShape with the given extends

Member Function Documentation

shared_ptr<Resource> duplicate ( ) const
overridevirtual

Duplicates a resource. Warning : not implemented on all resources types, check documentation for the resource type before using it.

Reimplemented from z0::Resource::duplicate()