From d8e4ec04e4927c7050e0bb10fe63d53e54e9e787 Mon Sep 17 00:00:00 2001 From: Xiaobaibai <824395314@qq.com> Date: Fri, 14 Jul 2023 10:17:31 +0800 Subject: [PATCH] fix typo ( no xref at all? ) --- cl_dll/studio_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_dll/studio_util.cpp b/cl_dll/studio_util.cpp index 3b9af7de..2d4bad80 100644 --- a/cl_dll/studio_util.cpp +++ b/cl_dll/studio_util.cpp @@ -149,7 +149,7 @@ void CrossProduct( const float *v1, const float *v2, float *cross ) float32x4_t zxyy_b = vextq_f32(yzxy_b, yzxy_b, 1); // [bk, ai, bj, bj] float32x4_t cross_reg = vfmsq_f32(vmulq_f32(yzxy_a, zxyy_b), zxyy_a, yzxy_b); // [ajbk-akbj, akbi-aibk, aibj-ajbi, 0] - memcpy(cross, &v2_reg, sizeof(float) * 3); + memcpy(cross, &cross_reg, sizeof(float) * 3); #else cross[0] = v1[1] * v2[2] - v1[2] * v2[1]; cross[1] = v1[2] * v2[0] - v1[0] * v2[2];