mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
Fix src/dest
This commit is contained in:
parent
3b2555c428
commit
c900ca1fa0
@ -152,8 +152,8 @@ class MxVector3Data : public MxVector3
|
|||||||
void CopyFrom(MxVector3Data *p_other) {
|
void CopyFrom(MxVector3Data *p_other) {
|
||||||
EqualsImpl(p_other->m_data);
|
EqualsImpl(p_other->m_data);
|
||||||
|
|
||||||
float *src = this->storage;
|
float *dest = this->storage;
|
||||||
float *dest = p_other->storage;
|
float *src = p_other->storage;
|
||||||
for (size_t i = sizeof(storage) / sizeof(float); i > 0; --i)
|
for (size_t i = sizeof(storage) / sizeof(float); i > 0; --i)
|
||||||
*dest++ = *src++;
|
*dest++ = *src++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user