mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Fix Vector2
/Vector3
order (#1272)
* Fix Vector2/Vector3 order * Refactor vector classes to be const and reference param consistent * Add BETA10 annotations and fixes
This commit is contained in:

committed by
GitHub

parent
7c41ff4569
commit
c2c9c75f1a
@@ -185,7 +185,7 @@ inline long UnknownMx4DPointFloat::FUN_10004520()
|
||||
v2 = m_unk0x00;
|
||||
v2 -= m_unk0x18;
|
||||
|
||||
if (v1.Dot(&v1, &v1) < v2.Dot(&v2, &v2)) {
|
||||
if (v1.Dot(v1, v1) < v2.Dot(v2, v2)) {
|
||||
m_unk0x18 *= -1.0f;
|
||||
}
|
||||
|
||||
@@ -208,7 +208,7 @@ inline int UnknownMx4DPointFloat::FUN_100040a0(Vector4& p_v, float p_f)
|
||||
}
|
||||
else if (m_unk0x30 == (c_bit1 | c_bit2)) {
|
||||
int i;
|
||||
double d1 = p_v.Dot(&m_unk0x00, &m_unk0x18);
|
||||
double d1 = p_v.Dot(m_unk0x00, m_unk0x18);
|
||||
double a;
|
||||
double b;
|
||||
|
||||
|
Reference in New Issue
Block a user