Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Protected Attributes
btQuadWord Class Reference

btQuadWord is base-class for vectors, points More...

#include <btQuadWord.h>

Inheritance diagram for btQuadWord:
Inheritance graph
[legend]
Collaboration diagram for btQuadWord:
Collaboration graph
[legend]

List of all members.

Public Member Functions

SIMD_FORCE_INLINE const btScalargetX () const
SIMD_FORCE_INLINE const btScalargetY () const
SIMD_FORCE_INLINE const btScalargetZ () const
SIMD_FORCE_INLINE void setX (btScalar x)
SIMD_FORCE_INLINE void setY (btScalar y)
SIMD_FORCE_INLINE void setZ (btScalar z)
SIMD_FORCE_INLINE void setW (btScalar w)
SIMD_FORCE_INLINE const btScalarx () const
SIMD_FORCE_INLINE const btScalary () const
SIMD_FORCE_INLINE const btScalarz () const
SIMD_FORCE_INLINE const btScalarw () const
SIMD_FORCE_INLINE operator btScalar * ()
SIMD_FORCE_INLINE operator const btScalar * () const
SIMD_FORCE_INLINE void setValue (const btScalar &x, const btScalar &y, const btScalar &z)
SIMD_FORCE_INLINE void setValue (const btScalar &x, const btScalar &y, const btScalar &z, const btScalar &w)
SIMD_FORCE_INLINE btQuadWord ()
SIMD_FORCE_INLINE btQuadWord (const btQuadWordStorage &q)
SIMD_FORCE_INLINE btQuadWord (const btScalar &x, const btScalar &y, const btScalar &z)
SIMD_FORCE_INLINE btQuadWord (const btScalar &x, const btScalar &y, const btScalar &z, const btScalar &w)
SIMD_FORCE_INLINE void setMax (const btQuadWord &other)
SIMD_FORCE_INLINE void setMin (const btQuadWord &other)

Protected Attributes

btScalar m_x
btScalar m_y
btScalar m_z
btScalar m_unusedW

Detailed Description

btQuadWord is base-class for vectors, points

Definition at line 36 of file btQuadWord.h.


Constructor & Destructor Documentation

Definition at line 94 of file btQuadWord.h.

              {
              }

Definition at line 99 of file btQuadWord.h.

              {
                     *((btQuadWordStorage*)this) = q;
              }
SIMD_FORCE_INLINE btQuadWord::btQuadWord ( const btScalar x,
const btScalar y,
const btScalar z 
) [inline]

Definition at line 104 of file btQuadWord.h.

              {
                     m_x = x, m_y = y, m_z = z, m_unusedW = 0.0f;
              }

Here is the call graph for this function:

SIMD_FORCE_INLINE btQuadWord::btQuadWord ( const btScalar x,
const btScalar y,
const btScalar z,
const btScalar w 
) [inline]

Definition at line 109 of file btQuadWord.h.

              {
                     m_x = x, m_y = y, m_z = z, m_unusedW = w;
              }

Here is the call graph for this function:


Member Function Documentation

SIMD_FORCE_INLINE const btScalar& btQuadWord::getX ( ) const [inline]

Definition at line 43 of file btQuadWord.h.

{ return m_x; }

Here is the caller graph for this function:

SIMD_FORCE_INLINE const btScalar& btQuadWord::getY ( ) const [inline]

Definition at line 45 of file btQuadWord.h.

{ return m_y; }
SIMD_FORCE_INLINE const btScalar& btQuadWord::getZ ( ) const [inline]

Definition at line 47 of file btQuadWord.h.

{ return m_z; }

Here is the caller graph for this function:

SIMD_FORCE_INLINE btQuadWord::operator btScalar * ( ) [inline]

Definition at line 66 of file btQuadWord.h.

{ return &m_x; }
SIMD_FORCE_INLINE btQuadWord::operator const btScalar * ( ) const [inline]

Definition at line 67 of file btQuadWord.h.

{ return &m_x; }
SIMD_FORCE_INLINE void btQuadWord::setMax ( const btQuadWord other) [inline]

Definition at line 115 of file btQuadWord.h.

              {
                     btSetMax(m_x, other.m_x);
                     btSetMax(m_y, other.m_y);
                     btSetMax(m_z, other.m_z);
                     btSetMax(m_unusedW, other.m_unusedW);
              }

Here is the call graph for this function:

Here is the caller graph for this function:

SIMD_FORCE_INLINE void btQuadWord::setMin ( const btQuadWord other) [inline]

Definition at line 123 of file btQuadWord.h.

              {
                     btSetMin(m_x, other.m_x);
                     btSetMin(m_y, other.m_y);
                     btSetMin(m_z, other.m_z);
                     btSetMin(m_unusedW, other.m_unusedW);
              }

Here is the call graph for this function:

Here is the caller graph for this function:

SIMD_FORCE_INLINE void btQuadWord::setValue ( const btScalar x,
const btScalar y,
const btScalar z 
) [inline]

Definition at line 71 of file btQuadWord.h.

              {
                     m_x=x;
                     m_y=y;
                     m_z=z;
                     m_unusedW = 0.f;
              }

Here is the call graph for this function:

SIMD_FORCE_INLINE void btQuadWord::setValue ( const btScalar x,
const btScalar y,
const btScalar z,
const btScalar w 
) [inline]

Definition at line 86 of file btQuadWord.h.

              {
                     m_x=x;
                     m_y=y;
                     m_z=z;
                     m_unusedW=w;
              }

Here is the call graph for this function:

Definition at line 55 of file btQuadWord.h.

{ m_unusedW = w;};

Here is the call graph for this function:

Definition at line 49 of file btQuadWord.h.

{ m_x = x;};

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 51 of file btQuadWord.h.

{ m_y = y;};

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 53 of file btQuadWord.h.

{ m_z = z;};

Here is the call graph for this function:

Here is the caller graph for this function:

SIMD_FORCE_INLINE const btScalar& btQuadWord::w ( ) const [inline]

Definition at line 63 of file btQuadWord.h.

{ return m_unusedW; }

Here is the caller graph for this function:

SIMD_FORCE_INLINE const btScalar& btQuadWord::x ( ) const [inline]

Definition at line 57 of file btQuadWord.h.

{ return m_x; }
SIMD_FORCE_INLINE const btScalar& btQuadWord::y ( ) const [inline]

Definition at line 59 of file btQuadWord.h.

{ return m_y; }
SIMD_FORCE_INLINE const btScalar& btQuadWord::z ( ) const [inline]

Definition at line 61 of file btQuadWord.h.

{ return m_z; }

Member Data Documentation

btScalar btQuadWordStorage::m_unusedW [protected, inherited]

Definition at line 31 of file btQuadWord.h.

btScalar btQuadWordStorage::m_x [protected, inherited]

Definition at line 28 of file btQuadWord.h.

btScalar btQuadWordStorage::m_y [protected, inherited]

Definition at line 29 of file btQuadWord.h.

btScalar btQuadWordStorage::m_z [protected, inherited]

Definition at line 30 of file btQuadWord.h.


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