Public Member Functions | Public Attributes | List of all members
Matrix3 Class Reference

#include <matrix3.h>

Public Member Functions

_FORCE_INLINE_ const Vector3operator[] (int axis) const
 
_FORCE_INLINE_ Vector3operator[] (int axis)
 
void invert ()
 
void transpose ()
 
Matrix3 inverse () const
 
Matrix3 transposed () const
 
_FORCE_INLINE_ float determinant () const
 
void from_z (const Vector3 &p_z)
 
_FORCE_INLINE_ Vector3 get_axis (int p_axis) const
 
_FORCE_INLINE_ void set_axis (int p_axis, const Vector3 &p_value)
 
void rotate (const Vector3 &p_axis, real_t p_phi)
 
Matrix3 rotated (const Vector3 &p_axis, real_t p_phi) const
 
void scale (const Vector3 &p_scale)
 
Matrix3 scaled (const Vector3 &p_scale) const
 
Vector3 get_scale () const
 
Vector3 get_euler () const
 
void set_euler (const Vector3 &p_euler)
 
_FORCE_INLINE_ real_t tdotx (const Vector3 &v) const
 
_FORCE_INLINE_ real_t tdoty (const Vector3 &v) const
 
_FORCE_INLINE_ real_t tdotz (const Vector3 &v) const
 
bool operator== (const Matrix3 &p_matrix) const
 
bool operator!= (const Matrix3 &p_matrix) const
 
_FORCE_INLINE_ Vector3 xform (const Vector3 &p_vector) const
 
_FORCE_INLINE_ Vector3 xform_inv (const Vector3 &p_vector) const
 
_FORCE_INLINE_ void operator*= (const Matrix3 &p_matrix)
 
_FORCE_INLINE_ Matrix3 operator* (const Matrix3 &p_matrix) const
 
int get_orthogonal_index () const
 
void set_orthogonal_index (int p_index)
 
 operator String () const
 
void get_axis_and_angle (Vector3 &r_axis, real_t &r_angle) const
 
_FORCE_INLINE_ void set (real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz)
 
_FORCE_INLINE_ Vector3 get_column (int i) const
 
_FORCE_INLINE_ Vector3 get_row (int i) const
 
_FORCE_INLINE_ void set_row (int i, const Vector3 &p_row)
 
_FORCE_INLINE_ void set_zero ()
 
_FORCE_INLINE_ Matrix3 transpose_xform (const Matrix3 &m) const
 
 Matrix3 (real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz)
 
void orthonormalize ()
 
Matrix3 orthonormalized () const
 
 operator Quat () const
 
 Matrix3 (const Quat &p_quat)
 
 Matrix3 (const Vector3 &p_euler)
 
 Matrix3 (const Vector3 &p_axis, real_t p_phi)
 

Public Attributes

Vector3 elements [3]
 

Detailed Description

Author
Juan Linietsky reduz.nosp@m.io@g.nosp@m.mail..nosp@m.com

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