2024-04-09 05:25:24 -04:00
|
|
|
#ifndef __LEGOEDGE_H
|
|
|
|
#define __LEGOEDGE_H
|
|
|
|
|
2024-04-11 07:35:15 -04:00
|
|
|
#include "misc/legotypes.h"
|
2024-04-09 05:25:24 -04:00
|
|
|
|
|
|
|
class LegoWEEdge;
|
2024-05-03 12:19:12 -04:00
|
|
|
class Vector3;
|
2024-04-09 05:25:24 -04:00
|
|
|
|
|
|
|
// VTABLE: LEGO1 0x100db7b8
|
|
|
|
// SIZE 0x24
|
|
|
|
struct LegoEdge {
|
|
|
|
LegoEdge();
|
|
|
|
virtual ~LegoEdge(); // vtable+0x00
|
|
|
|
|
2024-05-19 15:41:07 -04:00
|
|
|
LegoEdge* GetClockwiseEdge(LegoWEEdge& p_face);
|
|
|
|
LegoEdge* GetCounterclockwiseEdge(LegoWEEdge& p_face);
|
2024-05-30 20:04:06 -04:00
|
|
|
Vector3* CWVertex(LegoWEEdge& p_face);
|
2024-05-19 15:41:07 -04:00
|
|
|
Vector3* CCWVertex(LegoWEEdge& p_face);
|
2024-04-09 05:25:24 -04:00
|
|
|
|
2024-05-19 15:41:07 -04:00
|
|
|
LegoResult FUN_1002ddc0(LegoWEEdge& p_face, Vector3& p_point);
|
2024-04-11 07:35:15 -04:00
|
|
|
|
2024-12-17 17:16:00 -05:00
|
|
|
// FUNCTION: BETA10 0x1001cb80
|
|
|
|
Vector3* GetPointA() { return m_pointA; }
|
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x1001cbb0
|
|
|
|
Vector3* GetPointB() { return m_pointB; }
|
|
|
|
|
2024-04-09 05:25:24 -04:00
|
|
|
// SYNTHETIC: LEGO1 0x1009a4a0
|
|
|
|
// LegoEdge::`scalar deleting destructor'
|
|
|
|
|
|
|
|
LegoWEEdge* m_faceA; // 0x04
|
|
|
|
LegoWEEdge* m_faceB; // 0x08
|
|
|
|
LegoEdge* m_ccwA; // 0x0c
|
|
|
|
LegoEdge* m_cwA; // 0x10
|
|
|
|
LegoEdge* m_ccwB; // 0x14
|
|
|
|
LegoEdge* m_cwB; // 0x18
|
|
|
|
Vector3* m_pointA; // 0x1c
|
|
|
|
Vector3* m_pointB; // 0x20
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __LEGOEDGE_H
|