Remove explicit operator= definition from Mx3DPointFloat (#760)

This commit is contained in:
Christian Semmler 2024-03-30 09:44:20 -04:00 committed by GitHub
parent ed9e9efdab
commit 749f0fa750
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,17 +35,8 @@ class Mx3DPointFloat : public Vector3 {
inline float& operator[](size_t idx) { return m_data[idx]; } inline float& operator[](size_t idx) { return m_data[idx]; }
inline const float& operator[](size_t idx) const { return m_data[idx]; } inline const float& operator[](size_t idx) const { return m_data[idx]; }
// FUNCTION: LEGO1 0x10010c00 // SYNTHETIC: LEGO1 0x10010c00
inline Mx3DPointFloat& operator=(const Mx3DPointFloat& p_other) // Mx3DPointFloat::operator=
{
((Vector3&) *this).operator=(p_other);
for (size_t i = 0; i < sizeof(m_elements) / sizeof(float); i++) {
m_elements[i] = p_other.m_elements[i];
}
return *this;
}
inline void EqualsCross(Mx3DPointFloat& p_a, Mx3DPointFloat& p_b) { EqualsCrossImpl(p_a.m_data, p_b.m_data); } inline void EqualsCross(Mx3DPointFloat& p_a, Mx3DPointFloat& p_b) { EqualsCrossImpl(p_a.m_data, p_b.m_data); }