Annwvyn::AnnTriggerObjectShapeGenerator Class Reference

Shape generator. Just a bunch of static methods. You will need to de-alliocate them by hand. More...

#include <AnnTriggerObject.hpp>

Public Member Functions

 AnnTriggerObjectShapeGenerator ()=delete
 Deleted constructor. This class is just a collection of static methods. More...
 

Static Public Member Functions

static btCollisionShape * box (const float &w, const float &h, const float &l)
 Generate a box shape. w, h and l are the dimentions on the x, y and z. More...
 
static btCollisionShape * sphere (const float &r)
 Generate a sphere shape. More...
 

Detailed Description

Shape generator. Just a bunch of static methods. You will need to de-alliocate them by hand.

Definition at line 22 of file AnnTriggerObject.hpp.

Constructor & Destructor Documentation

◆ AnnTriggerObjectShapeGenerator()

Annwvyn::AnnTriggerObjectShapeGenerator::AnnTriggerObjectShapeGenerator ( )
delete

Deleted constructor. This class is just a collection of static methods.

Member Function Documentation

◆ box()

btCollisionShape * AnnTriggerObjectShapeGenerator::box ( const float &  w,
const float &  h,
const float &  l 
)
static

Generate a box shape. w, h and l are the dimentions on the x, y and z.

Definition at line 10 of file AnnTriggerObject.cpp.

Here is the call graph for this function:

◆ sphere()

btCollisionShape * AnnTriggerObjectShapeGenerator::sphere ( const float &  r)
static

Generate a sphere shape.

Definition at line 16 of file AnnTriggerObject.cpp.


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