File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -129,12 +129,12 @@ impl OzzExample for OzzTwoBoneIK {
129
129
let mut locals_mut = self . locals . mut_buf ( ) . unwrap ( ) ;
130
130
131
131
let idx = start_joint as usize ;
132
- let quat = locals_mut[ idx / 4 ] . rotation . col ( idx & 3 ) * self . ik_job . start_joint_correction ( ) ;
133
- locals_mut[ idx / 4 ] . rotation . set_col ( idx & 3 , quat) ;
132
+ let quat = locals_mut[ idx / 4 ] . rotation . quat ( idx & 3 ) * self . ik_job . start_joint_correction ( ) ;
133
+ locals_mut[ idx / 4 ] . rotation . set_quat ( idx & 3 , quat) ;
134
134
135
135
let idx = mid_joint as usize ;
136
- let quat = locals_mut[ idx / 4 ] . rotation . col ( idx & 3 ) * self . ik_job . mid_joint_correction ( ) ;
137
- locals_mut[ idx / 4 ] . rotation . set_col ( idx & 3 , quat) ;
136
+ let quat = locals_mut[ idx / 4 ] . rotation . quat ( idx & 3 ) * self . ik_job . mid_joint_correction ( ) ;
137
+ locals_mut[ idx / 4 ] . rotation . set_quat ( idx & 3 , quat) ;
138
138
}
139
139
140
140
self . l2m_job2 . set_from ( start_joint as i32 ) ;
You can’t perform that action at this time.
0 commit comments