Overload  1.1
Game engine with editor
Public Member Functions | Static Public Member Functions | List of all members
OvPhysics::Tools::Conversion Class Reference

#include <Conversion.h>

Public Member Functions

 Conversion ()=delete
 

Static Public Member Functions

static btTransform ToBtTransform (const OvMaths::FTransform &p_transform)
 
static btVector3 ToBtVector3 (const OvMaths::FVector3 &p_vector)
 
static btQuaternion ToBtQuaternion (const OvMaths::FQuaternion &p_quaternion)
 
static OvMaths::FTransform ToOvTransform (const btTransform &p_transform)
 
static OvMaths::FVector3 ToOvVector3 (const btVector3 &p_vector)
 
static OvMaths::FQuaternion ToOvQuaternion (const btQuaternion &p_quaternion)
 

Detailed Description

Conversion helper to convert bullet maths to OvMaths

Constructor & Destructor Documentation

◆ Conversion()

OvPhysics::Tools::Conversion::Conversion ( )
delete

Member Function Documentation

◆ ToBtQuaternion()

btQuaternion OvPhysics::Tools::Conversion::ToBtQuaternion ( const OvMaths::FQuaternion p_quaternion)
static

Convert a FQuaternion to btQuaternion

Parameters
p_quaternion

◆ ToBtTransform()

btTransform OvPhysics::Tools::Conversion::ToBtTransform ( const OvMaths::FTransform p_transform)
static

Convert a FTransform to btTransform

Parameters
p_transform@project: Overload
Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

◆ ToBtVector3()

btVector3 OvPhysics::Tools::Conversion::ToBtVector3 ( const OvMaths::FVector3 p_vector)
static

Convert a FVector3 to btVector3

Parameters
p_vector

◆ ToOvQuaternion()

OvMaths::FQuaternion OvPhysics::Tools::Conversion::ToOvQuaternion ( const btQuaternion &  p_quaternion)
static

Convert a btQuaternion to FQuaternion

Parameters
p_quaternion

◆ ToOvTransform()

OvMaths::FTransform OvPhysics::Tools::Conversion::ToOvTransform ( const btTransform &  p_transform)
static

Convert a btTransform to FTransform

Parameters
p_transform

◆ ToOvVector3()

OvMaths::FVector3 OvPhysics::Tools::Conversion::ToOvVector3 ( const btVector3 &  p_vector)
static

Convert a btVector3 to FVector3

Parameters
p_vector

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