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

◆ Transform() [1/8]

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

Definition at line 327 of file Vector2.cs.

328 {
329 float x = position.X * matrix.M11 + position.Y * matrix.M21 + matrix.M41;
330 float y = position.X * matrix.M12 + position.Y * matrix.M22 + matrix.M42;
331 result.X = x;
332 result.Y = y;
333 }