You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: MonoGame.Framework/Vector2.cs
+74-1
Original file line number
Diff line number
Diff line change
@@ -1187,7 +1187,7 @@ public static void TransformNormal(ref Vector2 normal, ref Matrix matrix, out Ve
1187
1187
result.X=x;
1188
1188
result.Y=y;
1189
1189
}
1190
-
1190
+
1191
1191
/// <summary>
1192
1192
/// Apply transformation on normals within array of <see cref="Vector2"/> by the specified <see cref="Matrix"/> and places the results in an another array.
1193
1193
/// </summary>
@@ -1254,6 +1254,79 @@ Vector2[] destinationArray
1254
1254
}
1255
1255
}
1256
1256
1257
+
/// <summary>
1258
+
/// Rotates a vector by the specified number of radians
1259
+
/// </summary>
1260
+
/// <param name="value">The vector to be rotated.</param>
1261
+
/// <param name="radians">The amount to rotate the vector.</param>
0 commit comments