Back to index

supertuxkart  0.5+dfsg1
Classes | Typedefs | Functions
gjkepa_impl Namespace Reference

Classes

struct  GJK
struct  EPA

Typedefs

typedef btScalar F
typedef bool Z
typedef int I
typedef unsigned int U
typedef unsigned char U1
typedef unsigned short U2
typedef btVector3 Vector3
typedef btMatrix3x3 Rotation

Functions

static F Abs (F v)
static F Sign (F v)
template<typename T >
static void Swap (T &a, T &b)
template<typename T >
static T Min (const T &a, const T &b)
template<typename T >
static T Max (const T &a, const T &b)
static void ClearMemory (void *p, U sz)
template<typename T >
static void Raise (const T &)

Typedef Documentation

Definition at line 46 of file btGjkEpa.cpp.

typedef int gjkepa_impl::I

Definition at line 48 of file btGjkEpa.cpp.

Definition at line 54 of file btGjkEpa.cpp.

typedef unsigned int gjkepa_impl::U

Definition at line 49 of file btGjkEpa.cpp.

typedef unsigned char gjkepa_impl::U1

Definition at line 50 of file btGjkEpa.cpp.

typedef unsigned short gjkepa_impl::U2

Definition at line 51 of file btGjkEpa.cpp.

Definition at line 53 of file btGjkEpa.cpp.

typedef bool gjkepa_impl::Z

Definition at line 47 of file btGjkEpa.cpp.


Function Documentation

static F gjkepa_impl::Abs ( F  v) [inline, static]

Definition at line 87 of file btGjkEpa.cpp.

{ return(v<0?-v:v); }

Here is the caller graph for this function:

static void gjkepa_impl::ClearMemory ( void *  p,
U  sz 
) [inline, static]

Definition at line 95 of file btGjkEpa.cpp.

                                                                                           { memset(p,0,(size_t)sz); 
}

Here is the caller graph for this function:

template<typename T >
static T gjkepa_impl::Max ( const T &  a,
const T &  b 
) [inline, static]

Definition at line 93 of file btGjkEpa.cpp.

                                                                             { 
return(a>b?a:b); }
template<typename T >
static T gjkepa_impl::Min ( const T &  a,
const T &  b 
) [inline, static]

Definition at line 91 of file btGjkEpa.cpp.

                                                                             { 
return(a<b?a:b); }
template<typename T >
static void gjkepa_impl::Raise ( const T &  ) [inline, static]

Definition at line 101 of file btGjkEpa.cpp.

{}
static F gjkepa_impl::Sign ( F  v) [inline, static]

Definition at line 88 of file btGjkEpa.cpp.

{ return(F(v<0?-1:1)); }
template<typename T >
static void gjkepa_impl::Swap ( T &  a,
T &  b 
) [inline, static]

Definition at line 89 of file btGjkEpa.cpp.

                                                                                    { T 
t(a);a=b;b=t; }

Here is the caller graph for this function: