Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsIdentity

readonly bool System.Numerics.Matrix4x4.IsIdentity
get

Definition at line 67 of file Matrix4x4.cs.

68 {
69 get
70 {
71 if (M11 == 1f && M22 == 1f && M33 == 1f && M44 == 1f && M12 == 0f && M13 == 0f && M14 == 0f && M21 == 0f && M23 == 0f && M24 == 0f && M31 == 0f && M32 == 0f && M34 == 0f && M41 == 0f && M42 == 0f)
72 {
73 return M43 == 0f;
74 }
75 return false;
76 }
77 }