Chunks
Moddable voxel sandbox for room-scale VR.
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Chunks.Geometry.Matrix4 Struct Reference

Public Member Functions

 Matrix4 (float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
 

Static Public Member Functions

static Matrix4 Translation (Vector offset)
 
static Matrix4 Scale (Vector scale)
 
static Matrix4 Rotation (Quaternion q)
 
static Matrix4 operator* (Matrix4 a, Matrix4 b)
 
static Vector operator* (Matrix4 mat, Vector vec)
 
static operator IntMatrix3 (Matrix4 mat)
 

Public Attributes

Matrix4 Inverse => new Matrix4(_inner.inverse)
 
Matrix4 Transpose => new Matrix4(_inner.transpose)
 
float Determinant => _inner.determinant
 

Static Public Attributes

static readonly Matrix4 Identity = new Matrix4(Matrix4x4.identity)
 

Constructor & Destructor Documentation

Chunks.Geometry.Matrix4.Matrix4 ( float  m00,
float  m01,
float  m02,
float  m03,
float  m10,
float  m11,
float  m12,
float  m13,
float  m20,
float  m21,
float  m22,
float  m23,
float  m30,
float  m31,
float  m32,
float  m33 
)

Member Function Documentation

static Chunks.Geometry.Matrix4.operator IntMatrix3 ( Matrix4  mat)
explicitstatic
static Matrix4 Chunks.Geometry.Matrix4.operator* ( Matrix4  a,
Matrix4  b 
)
static
static Vector Chunks.Geometry.Matrix4.operator* ( Matrix4  mat,
Vector  vec 
)
static
static Matrix4 Chunks.Geometry.Matrix4.Rotation ( Quaternion  q)
static
static Matrix4 Chunks.Geometry.Matrix4.Scale ( Vector  scale)
static
static Matrix4 Chunks.Geometry.Matrix4.Translation ( Vector  offset)
static

Member Data Documentation

float Chunks.Geometry.Matrix4.Determinant => _inner.determinant
readonly Matrix4 Chunks.Geometry.Matrix4.Identity = new Matrix4(Matrix4x4.identity)
static
Matrix4 Chunks.Geometry.Matrix4.Inverse => new Matrix4(_inner.inverse)
Matrix4 Chunks.Geometry.Matrix4.Transpose => new Matrix4(_inner.transpose)

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