Skip to content

Commit a4b8a6c

Browse files
committed
Move constructors & existing interfaces.
1 parent c9e57f2 commit a4b8a6c

30 files changed

Lines changed: 108 additions & 46 deletions

sources/Maths/Maths/Matrix2x2F.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix2x2F<T> : IEquatable<Matrix2x2F<T>> where T : IFloatingPointIeee754<T>
6+
partial struct Matrix2x2F<T> :
7+
IEquatable<Matrix2x2F<T>>
8+
where T : IFloatingPointIeee754<T>
79
{
810
/// <summary>The multiplicative identity matrix of size 2x2.</summary>
911
public static readonly Matrix2x2F<T> Identity = new(

sources/Maths/Maths/Matrix2x2I.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix2x2I<T> : IEquatable<Matrix2x2I<T>> where T : IBinaryInteger<T>
6+
partial struct Matrix2x2I<T> :
7+
IEquatable<Matrix2x2I<T>>
8+
where T : IBinaryInteger<T>
79
{
810
/// <summary>The multiplicative identity matrix of size 2x2.</summary>
911
public static readonly Matrix2x2I<T> Identity = new(

sources/Maths/Maths/Matrix2x3F.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix2x3F<T> : IEquatable<Matrix2x3F<T>> where T : IFloatingPointIeee754<T>
6+
partial struct Matrix2x3F<T> :
7+
IEquatable<Matrix2x3F<T>>
8+
where T : IFloatingPointIeee754<T>
79
{
810
/// <summary>The 1st row of the matrix represented as a vector.</summary>
911
public Vector3F<T> Row1;

sources/Maths/Maths/Matrix2x3I.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix2x3I<T> : IEquatable<Matrix2x3I<T>> where T : IBinaryInteger<T>
6+
partial struct Matrix2x3I<T> :
7+
IEquatable<Matrix2x3I<T>>
8+
where T : IBinaryInteger<T>
79
{
810
/// <summary>The 1st row of the matrix represented as a vector.</summary>
911
public Vector3I<T> Row1;

sources/Maths/Maths/Matrix2x4F.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix2x4F<T> : IEquatable<Matrix2x4F<T>> where T : IFloatingPointIeee754<T>
6+
partial struct Matrix2x4F<T> :
7+
IEquatable<Matrix2x4F<T>>
8+
where T : IFloatingPointIeee754<T>
79
{
810
/// <summary>The 1st row of the matrix represented as a vector.</summary>
911
public Vector4F<T> Row1;

sources/Maths/Maths/Matrix2x4I.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix2x4I<T> : IEquatable<Matrix2x4I<T>> where T : IBinaryInteger<T>
6+
partial struct Matrix2x4I<T> :
7+
IEquatable<Matrix2x4I<T>>
8+
where T : IBinaryInteger<T>
79
{
810
/// <summary>The 1st row of the matrix represented as a vector.</summary>
911
public Vector4I<T> Row1;

sources/Maths/Maths/Matrix3x2F.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix3x2F<T> : IEquatable<Matrix3x2F<T>> where T : IFloatingPointIeee754<T>
6+
partial struct Matrix3x2F<T> :
7+
IEquatable<Matrix3x2F<T>>
8+
where T : IFloatingPointIeee754<T>
79
{
810
/// <summary>The 1st row of the matrix represented as a vector.</summary>
911
public Vector2F<T> Row1;

sources/Maths/Maths/Matrix3x2I.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix3x2I<T> : IEquatable<Matrix3x2I<T>> where T : IBinaryInteger<T>
6+
partial struct Matrix3x2I<T> :
7+
IEquatable<Matrix3x2I<T>>
8+
where T : IBinaryInteger<T>
79
{
810
/// <summary>The 1st row of the matrix represented as a vector.</summary>
911
public Vector2I<T> Row1;

sources/Maths/Maths/Matrix3x3F.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix3x3F<T> : IEquatable<Matrix3x3F<T>> where T : IFloatingPointIeee754<T>
6+
partial struct Matrix3x3F<T> :
7+
IEquatable<Matrix3x3F<T>>
8+
where T : IFloatingPointIeee754<T>
79
{
810
/// <summary>The multiplicative identity matrix of size 3x3.</summary>
911
public static readonly Matrix3x3F<T> Identity = new(

sources/Maths/Maths/Matrix3x3I.gen.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ namespace Silk.NET.Maths
33
using System.Diagnostics.CodeAnalysis;
44
using System.Numerics;
55

6-
partial struct Matrix3x3I<T> : IEquatable<Matrix3x3I<T>> where T : IBinaryInteger<T>
6+
partial struct Matrix3x3I<T> :
7+
IEquatable<Matrix3x3I<T>>
8+
where T : IBinaryInteger<T>
79
{
810
/// <summary>The multiplicative identity matrix of size 3x3.</summary>
911
public static readonly Matrix3x3I<T> Identity = new(

0 commit comments

Comments
 (0)