Vector documentation

This commit is contained in:
Simon Lübeß
2024-02-19 18:17:45 +01:00
parent b84ce5e482
commit f5f32eecb2
9 changed files with 180 additions and 8 deletions
+9
View File
@@ -4,6 +4,9 @@ using GlitchyEngine.Math.Attributes;
namespace GlitchyEngine.Math;
/// <summary>
/// Represents a vector with two double-precision floating-point values.
/// </summary>
[Vector(typeof(double), 2, "double")]
[VectorMath]
[ComparableVector]
@@ -12,6 +15,9 @@ public partial struct double2
{
}
/// <summary>
/// Represents a vector with three double-precision floating-point values.
/// </summary>
[Vector(typeof(double), 3, "double")]
[VectorMath]
[ComparableVector]
@@ -20,6 +26,9 @@ public partial struct double3
{
}
/// <summary>
/// Represents a vector with four double-precision floating-point values.
/// </summary>
[Vector(typeof(double), 4, "double")]
[VectorMath]
[ComparableVector]