Skip to content

Commit

Permalink
Merge pull request MonoGame#8347 from theLaffa/45-XmlDoc-Vector2
Browse files Browse the repository at this point in the history
[Documentation] Update XML documentation for `Vector2`
  • Loading branch information
SimonDarksideJ authored Jun 5, 2024
2 parents 5c5aea5 + a21edee commit 6417e82
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ namespace System.Numerics
/// </summary>
public struct Vector2
{
/// <summary>The X component of the vector.</summary>
public Single X;

/// <summary>The Y component of the vector.</summary>
public Single Y;


/// <summary>Creates a vector with the specified values.</summary>
/// <param name="x">The value assigned to the <see cref="X"/> field.</param>
/// <param name="y">The value assigned to the <see cref="Y"/> field.</param>
public Vector2(Single x, Single y)
{
X = x;
Expand Down

0 comments on commit 6417e82

Please sign in to comment.