diff options
author | Aki <please@ignore.pl> | 2021-10-01 22:52:04 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-01 23:45:09 +0200 |
commit | 5e6773397cc101c7c3d08482efc456daa91734e9 (patch) | |
tree | d6a116bb2c12dab6ff5e0f212676a9ac6bd19346 /Opcode/Ice/IceSegment.cpp | |
parent | c2d2c3551501110fddd78674d5435bfaa70382a3 (diff) | |
download | starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.zip starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.tar.gz starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.tar.bz2 |
Switched to use only one version of Opcode
Diffstat (limited to 'Opcode/Ice/IceSegment.cpp')
-rw-r--r-- | Opcode/Ice/IceSegment.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Opcode/Ice/IceSegment.cpp b/Opcode/Ice/IceSegment.cpp index f8d1553..0eede40 100644 --- a/Opcode/Ice/IceSegment.cpp +++ b/Opcode/Ice/IceSegment.cpp @@ -9,12 +9,12 @@ ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
- * Segment class.
+ * IceSegment class.
* A segment is defined by S(t) = mP0 * (1 - t) + mP1 * t, with 0 <= t <= 1
* Alternatively, a segment is S(t) = Origin + t * Direction for 0 <= t <= 1.
* Direction is not necessarily unit length. The end points are Origin = mP0 and Origin + Direction = mP1.
*
- * \class Segment
+ * \class IceSegment
* \author Pierre Terdiman
* \version 1.0
*/
@@ -26,7 +26,7 @@ using namespace IceMaths;
-float Segment::SquareDistance(const IcePoint& Point, float* t) const
+float IceSegment::SquareDistance(const IcePoint& Point, float* t) const
{
IcePoint Diff = Point - mP0;
IcePoint Dir = mP1 - mP0;
|