Lua
C++
Edit

Mat4

This class describes a 4x4 matrix used for 3D orientations in space.

Property Type Description
i Vec4 first matrix row
j Vec4 second matrix row
k Vec4 third matrix row
t Vec4 fourth matrix row
Mat4 Constructor Mat4()
Mat4 Constructor Mat4(const float scale)
Mat4 Constructor Mat4(const Vec4& i, const Vec4& j, const Vec4& k, const Vec4& t)
Mat4 Constructor Mat4(const Vec3& translation, const Vec3& rotation, const Vec3& scale)
Mat4 Constructor Mat4(const Vec3& translation, const Quat& rotation, const Vec3& scale)
Determinant Method gets the matrix determinant
GetQuaternion Method gets the matrix rotation
GetRotation Method gets the matrix Euler rotation
GetScale Method gets the matrix scale
GetTranslation Method gets the matrix translation
Inverse Method gets the inverse matrix
Normalize Method gets the normalized matrix
Transpose Method gets the transpose matrix
Copyright © 2024 Ultra Software.
All rights reserved.