Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
mpr::ModelOBB Struct Reference

#include <mpr.hpp>

Inheritance diagram for mpr::ModelOBB:
mpr::Model

Public Member Functions

 ModelOBB (const vec &ent, const vec &center, const vec &radius, int yaw)
 
vec contactface (const vec &wn, const vec &wdir) const
 
vec supportpoint (const vec &n) const
 
vec center () const
 

Public Attributes

vec o
 
vec radius
 
matrix3 orient
 

Constructor & Destructor Documentation

mpr::ModelOBB::ModelOBB ( const vec ent,
const vec center,
const vec radius,
int  yaw 
)
inline

Member Function Documentation

vec mpr::Model::center ( ) const
inlineinherited

References mpr::Model::o.

vec mpr::ModelOBB::contactface ( const vec wn,
const vec wdir 
) const
inline
vec mpr::ModelOBB::supportpoint ( const vec n) const
inline

Member Data Documentation

vec mpr::Model::o
inherited
matrix3 mpr::Model::orient
inherited
vec mpr::Model::radius
inherited

The documentation for this struct was generated from the following file: