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

◆ TransformNormal() [1/4]

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

Definition at line 345 of file Vector2.cs.

346 {
347 float x = normal.X * matrix.M11 + normal.Y * matrix.M21;
348 float y = normal.X * matrix.M12 + normal.Y * matrix.M22;
349 result.X = x;
350 result.Y = y;
351 }