Blender  V3.3
Public Member Functions | List of all members
btVector4 Class Reference

#include <btVector3.h>

Inheritance diagram for btVector4:

Public Member Functions

SIMD_FORCE_INLINE btVector4 ()
 
SIMD_FORCE_INLINE btVector4 (const btScalar &_x, const btScalar &_y, const btScalar &_z, const btScalar &_w)
 
SIMD_FORCE_INLINE btVector4 absolute4 () const
 
btScalar getW () const
 
SIMD_FORCE_INLINE int maxAxis4 () const
 
SIMD_FORCE_INLINE int minAxis4 () const
 
SIMD_FORCE_INLINE int closestAxis4 () const
 
SIMD_FORCE_INLINE void setValue (const btScalar &_x, const btScalar &_y, const btScalar &_z, const btScalar &_w)
 Set x,y,z and zero w. More...
 

Detailed Description

Definition at line 1073 of file btVector3.h.

Constructor & Destructor Documentation

◆ btVector4() [1/2]

SIMD_FORCE_INLINE btVector4::btVector4 ( )
inline

Definition at line 1076 of file btVector3.h.

Referenced by absolute4().

◆ btVector4() [2/2]

SIMD_FORCE_INLINE btVector4::btVector4 ( const btScalar _x,
const btScalar _y,
const btScalar _z,
const btScalar _w 
)
inline

Definition at line 1078 of file btVector3.h.

References m_floats.

Member Function Documentation

◆ absolute4()

SIMD_FORCE_INLINE btVector4 btVector4::absolute4 ( ) const
inline

Definition at line 1103 of file btVector3.h.

References btFabs(), btVector4(), and m_floats.

Referenced by closestAxis4().

◆ closestAxis4()

SIMD_FORCE_INLINE int btVector4::closestAxis4 ( ) const
inline

Definition at line 1174 of file btVector3.h.

References absolute4(), and maxAxis4().

Referenced by sortCachedPoints().

◆ getW()

btScalar btVector4::getW ( ) const
inline

Definition at line 1118 of file btVector3.h.

References m_floats.

◆ maxAxis4()

SIMD_FORCE_INLINE int btVector4::maxAxis4 ( ) const
inline

Definition at line 1120 of file btVector3.h.

References BT_LARGE_FLOAT, and m_floats.

Referenced by closestAxis4().

◆ minAxis4()

SIMD_FORCE_INLINE int btVector4::minAxis4 ( ) const
inline

Definition at line 1147 of file btVector3.h.

References BT_LARGE_FLOAT, and m_floats.

◆ setValue()

SIMD_FORCE_INLINE void btVector4::setValue ( const btScalar _x,
const btScalar _y,
const btScalar _z,
const btScalar _w 
)
inline

Set x,y,z and zero w.

Parameters
xValue of x
yValue of y
zValue of z

Set the values

Parameters
xValue of x
yValue of y
zValue of z
wValue of w

Definition at line 1198 of file btVector3.h.

References m_floats.

Referenced by bt_edge_plane(), bt_segment_collision(), btPrimitiveTriangle::buildTriPlane(), btTriangleShapeEx::buildTriPlane(), and getPlaneEquation().


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