mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match LegoEntity::SetLocation (#629)
* Implement/match LegoEntity::SetLocation * Remove comment
This commit is contained in:

committed by
GitHub

parent
3b2bd0e9d4
commit
a93e2ae0d3
@@ -139,8 +139,16 @@ public:
|
||||
virtual void SetVector(float* p_other) { EqualsImpl(p_other); } // vtable+0x70
|
||||
|
||||
// FUNCTION: LEGO1 0x10002260
|
||||
virtual void SetVector(Vector2* p_other) { EqualsImpl(p_other->m_data); } // vtable+0x6c
|
||||
virtual void SetVector(const Vector2* p_other) { EqualsImpl(p_other->m_data); } // vtable+0x6c
|
||||
|
||||
// SYNTHETIC: LEGO1 0x10010be0
|
||||
// Vector3::operator=
|
||||
|
||||
inline Vector2& operator=(const Vector2& p_other)
|
||||
{
|
||||
Vector2::SetVector(&p_other);
|
||||
return *this;
|
||||
}
|
||||
inline float& operator[](size_t idx) { return m_data[idx]; }
|
||||
inline const float& operator[](size_t idx) const { return m_data[idx]; }
|
||||
|
||||
|
Reference in New Issue
Block a user