Skip to content

Commit

Permalink
Update src/restruct_poc/math/quaternion_operations.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Derek Slaughter <deslaughter@gmail.com>
  • Loading branch information
ddement and deslaughter authored Jul 30, 2024
1 parent 18c1c19 commit e02baac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/restruct_poc/math/quaternion_operations.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ KOKKOS_INLINE_FUNCTION void RotateVectorByQuaternion(
}

inline std::array<double, 3> RotateVectorByQuaternion(
const std::array<double, 4>& q, const std::array<double, 3>& v
const Array_4& q, const Array_3& v
) {
auto v_rot = std::array<double, 3>{};
v_rot[0] = (q[0] * q[0] + q[1] * q[1] - q[2] * q[2] - q[3] * q[3]) * v[0] +
Expand Down

0 comments on commit e02baac

Please sign in to comment.