Skip to content

Commit

Permalink
fix(quat): properly handle scalard
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrechette committed Nov 14, 2024
1 parent 8d13ae8 commit 94193e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/rtm/quatd.h
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ namespace rtm
//////////////////////////////////////////////////////////////////////////
RTM_DISABLE_SECURITY_COOKIE_CHECK RTM_FORCE_INLINE quatd RTM_SIMD_CALL quat_mul(quatd_arg0 quat, scalard_arg1 scalar) RTM_NO_EXCEPT
{
return quat_set(quat_get_x(quat) * scalar, quat_get_y(quat) * scalar, quat_get_z(quat) * scalar, quat_get_w(quat) * scalar);
return quat_mul(quat, scalar_cast(scalar));
}
#endif

Expand Down

0 comments on commit 94193e9

Please sign in to comment.