Repository navigation
math: Add slerpTo matrix function - #284
Conversation
leoetlino
left a comment
There was a problem hiding this comment.
@leoetlino reviewed 3 files and all commit messages, and made 3 comments.
Reviewable status: 3 of 4 files reviewed, 3 unresolved discussions (waiting on psyGamer).
include/math/seadMatrixCalcCommon.hpp line 443 at r1 (raw file):
Quat qT; QuatCalcCommon<T>::slerpTo(qT, q1, q2, t);
Suggestion:
qT.slerpTo(q1, q2, t);include/math/seadMatrixCalcCommon.hpp line 1249 at r1 (raw file):
Quat qT; QuatCalcCommon<T>::slerpTo(qT, q1, q2, t);
Suggestion:
qT.slerpTo(q1, q2, t);include/math/seadMatrixCalcCommon.hpp line 2513 at r1 (raw file):
Quat qT; QuatCalcCommon<T>::slerpTo(qT, q1, q2, t);
Suggestion:
qT.slerpTo(q1, q2, t);
leoetlino
left a comment
There was a problem hiding this comment.
@leoetlino reviewed 1 file.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on psyGamer).
psyGamer
left a comment
There was a problem hiding this comment.
@psyGamer made 1 comment.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on leoetlino).
include/math/seadMatrixCalcCommon.hpp line 443 at r1 (raw file):
Quat qT; QuatCalcCommon<T>::slerpTo(qT, q1, q2, t);
Quat is a BaseQuat<T>, meaning it doesnt have any methods defiend.
leoetlino
left a comment
There was a problem hiding this comment.
@leoetlino made 1 comment and resolved 3 discussions.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on psyGamer).
include/math/seadMatrixCalcCommon.hpp line 443 at r1 (raw file):
Previously, psyGamer wrote…
Quatis aBaseQuat<T>, meaning it doesnt have any methods defiend.
ah my bad, lgtm then
Adds the
::slerpTofunction to matrices which is used by SMO.I've only validated the implementation of
Matrix33fandMatrix34f, since those are the only two templates SMO is using, but I doubtMatrix44fwould do it differently.This change is