CSAD
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
Public Member Functions | Friends | List of all members
bt::vector4i Class Reference

vector4i - four-dimensional integer vector. More...

Public Member Functions

_FORCEINLINE vector4i ()
 The constructor does not set the initial values to the fields.
 
_FORCEINLINE vector4i (_int32 a)
 Constructor, sets all parameters equal to one value.
 
_FORCEINLINE vector4i (_int32 _x, _int32 _y, _int32 _z, _int32 _w)
 
_FORCEINLINE vector4i (vector4f *_a)
 The transformation vector in floating-point format to integer.
 
_FORCEINLINE const vector4i operator* (const float &b)
 Scaling integer vector.
 
_FORCEINLINE _int32 & operator[] (unsigned int id) const
 Field reference as to the elements of the array.
 
_FORCEINLINE void zero ()
 Sets the value of the fields to zero.
 

Friends

_FORCEINLINE friend vector4i operator* (const vector4i &a, const float &b)
 Scaling integer vector.
 
_FORCEINLINE friend vector4i operator* (const float &b, const vector4i &a)
 Scaling integer vector.
 
_FORCEINLINE friend vector4i operator* (vector4i &a, float &b)
 Scaling integer vector.
 
_FORCEINLINE friend vector4i operator* (float &b, vector4i &a)
 Scaling integer vector.
 
_FORCEINLINE friend vector4i operator+ (const vector4i &a, const vector4i &b)
 Addition of integer vectors.
 
_FORCEINLINE friend vector4i operator+ (vector4i &a, vector4i &b)
 Addition of integer vectors.
 
_FORCEINLINE friend vector4i operator- (vector4i &a, vector4i &b)
 Subtraction of integer vectors.
 

Detailed Description

vector4i - four-dimensional integer vector.

See Also
vector3i, vector2i bt: math

Constructor & Destructor Documentation

_FORCEINLINE bt::vector4i::vector4i ( _int32  _x,
_int32  _y,
_int32  _z,
_int32  _w 
)
inline

Constructor.

Parameters
_x- vector x
_y- vector y
_z- vector z
_w- vector w