mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match LegoPathCtrlEdge::FUN_10048c40 (#1195)
* Implement/match LegoPathCtrlEdge::FUN_10048c40 * Improve matches
This commit is contained in:

committed by
GitHub

parent
94ce89cbaa
commit
5be00e1799
@@ -74,7 +74,7 @@ public:
|
||||
point += *m_pointB;
|
||||
point *= 0.5f;
|
||||
point -= p_vec;
|
||||
return sqrt(point.LenSquared());
|
||||
return sqrt((double) point.LenSquared());
|
||||
}
|
||||
|
||||
// FUNCTION: BETA10 0x100bd540
|
||||
@@ -87,7 +87,7 @@ public:
|
||||
point2 += *p_other.m_pointB;
|
||||
point2 *= 0.5f;
|
||||
point1 -= point2;
|
||||
return sqrt(point1.LenSquared());
|
||||
return sqrt((double) point1.LenSquared());
|
||||
}
|
||||
|
||||
// FUNCTION: BETA10 0x1001cc60
|
||||
|
Reference in New Issue
Block a user