Logo Search packages:      
Sourcecode: blender version File versions

btVector3 Class Reference

#include <btVector3.h>

Inheritance diagram for btVector3:

btQuadWord btQuadWordStorage

List of all members.


Detailed Description

btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-byte alignment when btVector3 is stored in containers. This extra component can be used by derived classes (Quaternion?) or by user Ideally, this class should be replaced by a platform optimized SIMD version that keeps the data in registers

Definition at line 25 of file btVector3.h.


Public Member Functions

SIMD_FORCE_INLINE btVector3 absolute () const
SIMD_FORCE_INLINE btScalar angle (const btVector3 &v) const
SIMD_FORCE_INLINE btVector3 (const btScalar &x, const btScalar &y, const btScalar &z)
SIMD_FORCE_INLINE btVector3 (const btQuadWordStorage &q)
SIMD_FORCE_INLINE int closestAxis () const
SIMD_FORCE_INLINE btVector3 cross (const btVector3 &v) const
SIMD_FORCE_INLINE btScalar distance (const btVector3 &v) const
SIMD_FORCE_INLINE btScalar distance2 (const btVector3 &v) const
SIMD_FORCE_INLINE btScalar dot (const btVector3 &v) const
SIMD_FORCE_INLINE int furthestAxis () const
SIMD_FORCE_INLINE const btScalar & getX () const
SIMD_FORCE_INLINE const btScalar & getY () const
SIMD_FORCE_INLINE const btScalar & getZ () const
SIMD_FORCE_INLINE btScalar length () const
SIMD_FORCE_INLINE btScalar length2 () const
SIMD_FORCE_INLINE btVector3 lerp (const btVector3 &v, const btScalar &t) const
SIMD_FORCE_INLINE int maxAxis () const
SIMD_FORCE_INLINE int minAxis () const
SIMD_FORCE_INLINE btVector3normalize ()
SIMD_FORCE_INLINE btVector3 normalized () const
SIMD_FORCE_INLINE operator btScalar * ()
SIMD_FORCE_INLINE operator const btScalar * () const
SIMD_FORCE_INLINE btVector3operator*= (const btVector3 &v)
SIMD_FORCE_INLINE btVector3operator*= (const btScalar &s)
SIMD_FORCE_INLINE btVector3operator+= (const btVector3 &v)
SIMD_FORCE_INLINE btVector3operator-= (const btVector3 &v)
SIMD_FORCE_INLINE btVector3operator/= (const btScalar &s)
SIMD_FORCE_INLINE btVector3 rotate (const btVector3 &wAxis, const btScalar angle)
SIMD_FORCE_INLINE void setInterpolate3 (const btVector3 &v0, const btVector3 &v1, btScalar rt)
SIMD_FORCE_INLINE void setMax (const btQuadWord &other)
SIMD_FORCE_INLINE void setMin (const btQuadWord &other)
SIMD_FORCE_INLINE void setValue (const btScalar &x, const btScalar &y, const btScalar &z, const btScalar &w)
SIMD_FORCE_INLINE void setValue (const btScalar &x, const btScalar &y, const btScalar &z)
SIMD_FORCE_INLINE void setW (btScalar w)
SIMD_FORCE_INLINE void setX (btScalar x)
SIMD_FORCE_INLINE void setY (btScalar y)
SIMD_FORCE_INLINE void setZ (btScalar z)
SIMD_FORCE_INLINE btScalar triple (const btVector3 &v1, const btVector3 &v2) const
SIMD_FORCE_INLINE const btScalar & w () const
SIMD_FORCE_INLINE const btScalar & x () const
SIMD_FORCE_INLINE const btScalar & y () const
SIMD_FORCE_INLINE const btScalar & z () const

Protected Attributes

btScalar m_unusedW
btScalar m_x
btScalar m_y
btScalar m_z

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

Generated by  Doxygen 1.6.0   Back to index