From c900ca1fa044f68e49e51b80ffe519927fb973e6 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 9 Aug 2023 06:18:29 -0400 Subject: [PATCH] Fix src/dest --- LEGO1/mxvector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/mxvector.h b/LEGO1/mxvector.h index 7922f143..f4117ebb 100644 --- a/LEGO1/mxvector.h +++ b/LEGO1/mxvector.h @@ -152,8 +152,8 @@ class MxVector3Data : public MxVector3 void CopyFrom(MxVector3Data *p_other) { EqualsImpl(p_other->m_data); - float *src = this->storage; - float *dest = p_other->storage; + float *dest = this->storage; + float *src = p_other->storage; for (size_t i = sizeof(storage) / sizeof(float); i > 0; --i) *dest++ = *src++; }