Fix LegoEdge::CWVertex()

This commit is contained in:
jonschz 2024-08-04 18:42:57 +02:00
parent 02622d7902
commit f496a56f4a

View File

@ -52,14 +52,14 @@ LegoEdge* LegoEdge::GetCounterclockwiseEdge(LegoWEEdge& p_face)
}
// FUNCTION: LEGO1 0x1009a510
// FUNCTION: BETA10 0x10182498
// FUNCTION: BETA10 0x10182433
Vector3* LegoEdge::CWVertex(LegoWEEdge& p_face)
{
if (m_faceA == &p_face) {
return m_pointB;
}
else {
assert(m_faceA == &p_face);
assert(m_faceB == &p_face);
return m_pointA;
}
}