From 2335c3ec628a3dc55fc5ba96cd6c1eea2ba1a3f9 Mon Sep 17 00:00:00 2001 From: Syntriax Date: Fri, 13 Jun 2025 22:17:39 +0300 Subject: [PATCH] docs: added ray 2d comments --- Engine.Core/Primitives/Ray2D.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Engine.Core/Primitives/Ray2D.cs b/Engine.Core/Primitives/Ray2D.cs index a369d39..3e16bed 100644 --- a/Engine.Core/Primitives/Ray2D.cs +++ b/Engine.Core/Primitives/Ray2D.cs @@ -1,5 +1,10 @@ namespace Syntriax.Engine.Core; +/// +/// Represents an infinite ray in 2D space. +/// +/// The in 2D space where the ray starts from. +/// Normalized indicating the ray's is direction. public readonly struct Ray2D(Vector2D Origin, Vector2D Direction) { ///