Open 3D Engine AtomTressFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AMD::Matrix3 Class Reference

Public Member Functions

 Matrix3 (const Matrix3 &other)
 
 Matrix3 (float e00, float e01, float e02, float e10, float e11, float e12, float e20, float e21, float e22)
 
void SetIdentity ()
 
void Set (float e00, float e01, float e02, float e10, float e11, float e12, float e20, float e21, float e22)
 
float GetElement (int i, int j) const
 
void SetElement (int i, int j, float val)
 
void SetRotation (const Vector3 &axis, float ang)
 
void Inverse ()
 
Matrix3 InverseOther () const
 
void Transpose ()
 
Matrix3 TransposeOther () const
 
Vector3 operator* (const Vector3 &vec) const
 
Matrix3 operator* (const Matrix3 &other) const
 
Matrix3 operator* (float val) const
 
Matrix3 operator+ (const Matrix3 &other) const
 
Matrix3 operator- (const Matrix3 &other) const
 
Matrix3 operator/ (float val) const
 
Matrix3operator*= (float val)
 
Matrix3operator-= (const Matrix3 &other)
 
Matrix3operator+= (const Matrix3 &other)
 
Matrix3operator= (const Matrix3 &other)
 
bool operator== (const Matrix3 &other)
 
bool operator!= (const Matrix3 &other)
 
bool operator== (float a)
 
bool operator!= (float a)
 
float & operator() (int i, int j)
 
const float & operator() (int i, int j) const
 

Static Public Attributes

static const Matrix3 IDENTITY
 
static const Matrix3 ZERO
 

Friends

class Vector3
 
class Quaternion
 
Matrix3 operator* (float val, const Matrix3 &other)
 
Matrix3 operator- (const Matrix3 &other)
 

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