mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-20 19:38:24 +00:00
Add XML documentation to matrix Add methods.
Fixes warnings [#61] about missing documentation on public members.
This commit is contained in:
parent
e520ef6175
commit
1002d4e33a
|
@ -670,6 +670,12 @@ namespace OpenTK
|
||||||
|
|
||||||
#region Add Functions
|
#region Add Functions
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Adds two instances.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="left">The left operand of the addition.</param>
|
||||||
|
/// <param name="right">The right operand of the addition.</param>
|
||||||
|
/// <returns>A new instance that is the result of the addition.</returns>
|
||||||
public static Matrix3 Add(Matrix3 left, Matrix3 right)
|
public static Matrix3 Add(Matrix3 left, Matrix3 right)
|
||||||
{
|
{
|
||||||
Matrix3 result;
|
Matrix3 result;
|
||||||
|
@ -677,6 +683,12 @@ namespace OpenTK
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Adds two instances.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="left">The left operand of the addition.</param>
|
||||||
|
/// <param name="right">The right operand of the addition.</param>
|
||||||
|
/// <param name="result">A new instance that is the result of the addition.</param>
|
||||||
public static void Add(ref Matrix3 left, ref Matrix3 right, out Matrix3 result)
|
public static void Add(ref Matrix3 left, ref Matrix3 right, out Matrix3 result)
|
||||||
{
|
{
|
||||||
Vector3.Add(ref left.Row0, ref right.Row0, out result.Row0);
|
Vector3.Add(ref left.Row0, ref right.Row0, out result.Row0);
|
||||||
|
|
|
@ -667,6 +667,12 @@ namespace OpenTK
|
||||||
|
|
||||||
#region Add Functions
|
#region Add Functions
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Adds two instances.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="left">The left operand of the addition.</param>
|
||||||
|
/// <param name="right">The right operand of the addition.</param>
|
||||||
|
/// <returns>A new instance that is the result of the addition.</returns>
|
||||||
public static Matrix3d Add(Matrix3d left, Matrix3d right)
|
public static Matrix3d Add(Matrix3d left, Matrix3d right)
|
||||||
{
|
{
|
||||||
Matrix3d result;
|
Matrix3d result;
|
||||||
|
@ -674,6 +680,12 @@ namespace OpenTK
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Adds two instances.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="left">The left operand of the addition.</param>
|
||||||
|
/// <param name="right">The right operand of the addition.</param>
|
||||||
|
/// <param name="result">A new instance that is the result of the addition.</param>
|
||||||
public static void Add(ref Matrix3d left, ref Matrix3d right, out Matrix3d result)
|
public static void Add(ref Matrix3d left, ref Matrix3d right, out Matrix3d result)
|
||||||
{
|
{
|
||||||
Vector3d.Add(ref left.Row0, ref right.Row0, out result.Row0);
|
Vector3d.Add(ref left.Row0, ref right.Row0, out result.Row0);
|
||||||
|
|
Loading…
Reference in a new issue