Nxna2
 All Classes Namespaces Functions Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Nxna::Matrix Struct Reference
Collaboration diagram for Nxna::Matrix:
Collaboration graph
[legend]

Public Member Functions

 Matrix (float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44)
 
Matrix operator* (const Matrix &matrix)
 

Static Public Member Functions

static void GetIdentity (Matrix &m)
 
static Matrix CreateLookAt (const Vector3 &cameraPosition, const Vector3 &cameraTarget, const Vector3 &cameraUpVector)
 
static Matrix CreateOrthographicOffCenter (float left, float right, float bottom, float top, float zNearPlane, float zFarPlane)
 
static Matrix CreatePerspectiveFieldOfView (float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance)
 
static Matrix CreatePerspective (float width, float height, float nearPlaneDistance, float farPlaneDistance)
 
static Matrix CreateTranslation (float x, float y, float z)
 
static void CreateTranslation (float x, float y, float z, Matrix &result)
 
static Matrix CreateTranslation (const Vector3 &position)
 
static Matrix CreateScale (float scale)
 
static void CreateScale (float x, float y, float z, Matrix &result)
 
static Matrix CreateRotationX (float rotation)
 
static void CreateRotationX (float rotation, Matrix &result)
 
static Matrix CreateRotationY (float rotation)
 
static void CreateRotationY (float rotation, Matrix &result)
 
static Matrix CreateRotationZ (float rotation)
 
static void CreateRotationZ (float rotation, Matrix &result)
 
static Matrix CreateFromAxisAngle (const Vector3 &axis, float angle)
 
static void CreateFromAxisAngle (const Vector3 &axis, float angle, Matrix &result)
 
static Matrix CreateConstrainedBillboard (const Vector3 &objectPosition, const Vector3 &cameraPosition, const Vector3 &rotationAxis, const Vector3 *cameraForwardVector, const Vector3 *objectForwardVector)
 
static void CreateConstrainedBillboard (const Vector3 &objectPosition, const Vector3 &cameraPosition, const Vector3 &rotationAxis, const Vector3 *cameraForwardVector, const Vector3 *objectForwardVector, Matrix &result)
 
static Matrix CreateWorld (const Vector3 &position, const Vector3 &forward, const Vector3 &up)
 
static void Invert (const Matrix &matrix, Matrix &result)
 
static void Multiply (const Matrix &matrix1, const Matrix &matrix2, Matrix &result)
 

Public Attributes

union {
   struct {
      float   M11
 
      float   M12
 
      float   M13
 
      float   M14
 
      float   M21
 
      float   M22
 
      float   M23
 
      float   M24
 
      float   M31
 
      float   M32
 
      float   M33
 
      float   M34
 
      float   M41
 
      float   M42
 
      float   M43
 
      float   M44
 
   } 
 
   float   C [16]
 
}; 
 

Static Public Attributes

static const Matrix Identity
 

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