mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Implement/match LegoPathController::FUN_1004a240 (#941)
This commit is contained in:

committed by
GitHub

parent
8428cde67f
commit
3342464321
@@ -87,7 +87,7 @@ MxU32 LegoPathBoundary::Intersect(
|
||||
Vector3& p_point1,
|
||||
Vector3& p_point2,
|
||||
Vector3& p_point3,
|
||||
LegoEdge*& p_edge
|
||||
LegoUnknown100db7f4*& p_edge
|
||||
)
|
||||
{
|
||||
LegoUnknown100db7f4* e = NULL;
|
||||
@@ -207,7 +207,7 @@ MxU32 LegoPathBoundary::Intersect(
|
||||
|
||||
if (local58 <= 0.0f) {
|
||||
if (!e->GetMask0x03()) {
|
||||
p_edge = e->GetClockwiseEdge(*this);
|
||||
p_edge = (LegoUnknown100db7f4*) e->GetClockwiseEdge(*this);
|
||||
}
|
||||
else {
|
||||
p_edge = e;
|
||||
@@ -227,7 +227,7 @@ MxU32 LegoPathBoundary::Intersect(
|
||||
p_point3 = *e->CCWVertex(*this);
|
||||
|
||||
if (!e->GetMask0x03()) {
|
||||
p_edge = e->GetCounterclockwiseEdge(*this);
|
||||
p_edge = (LegoUnknown100db7f4*) e->GetCounterclockwiseEdge(*this);
|
||||
}
|
||||
else {
|
||||
p_edge = e;
|
||||
|
Reference in New Issue
Block a user