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

◆ TransformNormal() [1/4]

static void Microsoft.Xna.Framework.Vector3.TransformNormal ( ref Vector3 normal,
ref Matrix matrix,
out Vector3 result )
inlinestatic

Definition at line 441 of file Vector3.cs.

442 {
443 float x = normal.X * matrix.M11 + normal.Y * matrix.M21 + normal.Z * matrix.M31;
444 float y = normal.X * matrix.M12 + normal.Y * matrix.M22 + normal.Z * matrix.M32;
445 float z = normal.X * matrix.M13 + normal.Y * matrix.M23 + normal.Z * matrix.M33;
446 result.X = x;
447 result.Y = y;
448 result.Z = z;
449 }