From 4717c15814fc9f9017e6bb2c0dc6709fb6d64e0e Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 9 Aug 2023 16:24:55 -0400 Subject: [PATCH] Update mxvector.h --- LEGO1/mxvector.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/mxvector.h b/LEGO1/mxvector.h index ab30d2f5..ae58abd9 100644 --- a/LEGO1/mxvector.h +++ b/LEGO1/mxvector.h @@ -149,11 +149,11 @@ class MxVector3Data : public MxVector3 }; }; - void CopyFrom(MxVector3Data *p_other) { - EqualsImpl(p_other->m_data); + void CopyFrom(MxVector3Data &p_other) { + EqualsImpl(p_other.m_data); 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) *dest++ = *src++; }