From f6e45598dedcccdd128d9bf3e95d5139c406af59 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 21 Dec 2024 09:14:37 -0700 Subject: [PATCH] Fixes --- LEGO1/mxgeometry/mxgeometry3d.h | 4 ++-- LEGO1/realtime/vector.h | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/LEGO1/mxgeometry/mxgeometry3d.h b/LEGO1/mxgeometry/mxgeometry3d.h index 7718b5fc..d7c19b76 100644 --- a/LEGO1/mxgeometry/mxgeometry3d.h +++ b/LEGO1/mxgeometry/mxgeometry3d.h @@ -156,7 +156,7 @@ class UnknownMx4DPointFloat { }; // FUNCTION: BETA10 0x1004aaa0 -int UnknownMx4DPointFloat::BETA_1004aaa0(Matrix4& p_matrix, float p_f) +inline int UnknownMx4DPointFloat::BETA_1004aaa0(Matrix4& p_matrix, float p_f) { float data[4]; Vector4 v(data); @@ -170,7 +170,7 @@ int UnknownMx4DPointFloat::BETA_1004aaa0(Matrix4& p_matrix, float p_f) } // FUNCTION: LEGO1 0x10004520 -long UnknownMx4DPointFloat::FUN_10004520() +inline long UnknownMx4DPointFloat::FUN_10004520() { if (!m_unk0x30) { return -1; diff --git a/LEGO1/realtime/vector.h b/LEGO1/realtime/vector.h index e7a40d2a..f609c7af 100644 --- a/LEGO1/realtime/vector.h +++ b/LEGO1/realtime/vector.h @@ -183,12 +183,6 @@ class Vector2 { return *this; } - Vector2& operator=(float* p_other) - { - Vector2::EqualsImpl(p_other); - return *this; - } - // FUNCTION: BETA10 0x1001d140 float& operator[](int idx) { return m_data[idx]; }