From dc70308cd8caebbab43067c6520f39476c2ae044 Mon Sep 17 00:00:00 2001 From: assiduous Date: Fri, 7 Feb 2020 12:31:57 -0800 Subject: MathLib: added few more tests for TraceLineThroughGrid function --- Common/interface/AdvancedMath.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Common/interface') diff --git a/Common/interface/AdvancedMath.hpp b/Common/interface/AdvancedMath.hpp index d67243b8..3b0685dd 100644 --- a/Common/interface/AdvancedMath.hpp +++ b/Common/interface/AdvancedMath.hpp @@ -554,13 +554,13 @@ inline float IntersectRayTriangle(const float3& V0, } -/// Traces a 2D line through the grid and enumerates all cells the line touches. +/// Traces a 2D line through the square cell grid and enumerates all cells the line touches. /// \tparam TCallback - Type of the callback function. /// \param f2Start - Line start point. /// \param f2Start - Line end point. /// \param i2GridSize - Grid dimensions. -/// \param Callback - Callback function that will be caleed with the argument of type Int2 +/// \param Callback - Callback function that will be caleed with the argument of type int2 /// for every cell visited. The function should return true to continue /// tracing and false otherwise. /// -- cgit v1.2.3