mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement LegoPathActor::VTable0x88 (#787)
* Implement LegoPathActor::VTable0x88 * Implement FUN_1002ddc0 * Fixes and match * refac --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -101,6 +101,7 @@ public:
|
||||
virtual int Unitize()
|
||||
{
|
||||
float sq = LenSquared();
|
||||
|
||||
if (sq > 0.0f) {
|
||||
float root = sqrt(sq);
|
||||
if (root > 0) {
|
||||
@@ -108,6 +109,7 @@ public:
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
} // vtable+0x44
|
||||
|
||||
|
Reference in New Issue
Block a user