mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 15:21:15 +00:00
Update mxvector.h
This commit is contained in:
parent
161266b1d9
commit
4717c15814
@ -149,11 +149,11 @@ 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 *dest = this->storage;
|
float *dest = this->storage;
|
||||||
float *src = 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