diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-02-07 20:31:57 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-02-07 20:31:57 +0000 |
| commit | dc70308cd8caebbab43067c6520f39476c2ae044 (patch) | |
| tree | 0067d643c9ebe80e36b5b48afbbcbcdbb250c16d /Common/interface | |
| parent | MathLib: added TraceLineThroughGrid function (diff) | |
| download | DiligentCore-dc70308cd8caebbab43067c6520f39476c2ae044.tar.gz DiligentCore-dc70308cd8caebbab43067c6520f39476c2ae044.zip | |
MathLib: added few more tests for TraceLineThroughGrid function
Diffstat (limited to 'Common/interface')
| -rw-r--r-- | Common/interface/AdvancedMath.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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. /// |
