mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
Remove explicit operator= definition from Mx3DPointFloat (#760)
This commit is contained in:
parent
ed9e9efdab
commit
749f0fa750
1 changed files with 2 additions and 11 deletions
|
@ -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); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue