Image Component Library (ICL)
Namespaces | Macros | Functions | Variables
PhysicsDefs.h File Reference
#include <ICLGeom/GeomDefs.h>
#include <LinearMath/btTransform.h>

Go to the source code of this file.

Namespaces

 icl
 undocument this line if you encounter any issues!
 
 icl::physics
 

Macros

#define ICL_UNIT_TO_BULLET_UNIT   (ICL_UNIT_TO_METER / METER_TO_BULLET_UNIT)
 

Functions

float icl::physics::icl2bullet (float x)
 Converts from icl to bullet units. More...
 
float icl::physics::bullet2icl (float x)
 Converts from bullet to icl units. More...
 
geom::Mat icl::physics::bullet2icl (const btTransform &T)
 Creates an icl Mat from a bullet transform and scales accordingly. More...
 
btTransform icl::physics::icl2bullet_unscaled_mat (const geom::Mat &M)
 
btTransform icl::physics::icl2bullet_scaled_mat (const geom::Mat &M)
 Creates a bullet transform from an icl Mat and scales accordingly. More...
 
btVector3 icl::physics::icl2bullet_unscaled (const geom::Vec &v)
 Creates a bullet vector from an icl vector WITHOUT scaling. More...
 
geom::Vec icl::physics::bullet2icl_unscaled (const btVector3 &v)
 Creates an icl vector from a bullet vector WITHOUT scaling. More...
 
btVector3 icl::physics::icl2bullet_scaled (const geom::Vec &v)
 Creates a bullet vector from an icl vector WITH scaling. More...
 
geom::Vec icl::physics::bullet2icl_scaled (const btVector3 &v)
 Creates an icl vector from a bullet vector WITH scaling. More...
 

Variables

ICLPhysics_API float icl::physics::ICL_UNIT_TO_METER
 
ICLPhysics_API float icl::physics::METER_TO_BULLET_UNIT
 

Macro Definition Documentation

◆ ICL_UNIT_TO_BULLET_UNIT

#define ICL_UNIT_TO_BULLET_UNIT   (ICL_UNIT_TO_METER / METER_TO_BULLET_UNIT)