You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// tc be the current (requested) timestamp, tk<tc<tk+1;// (tc−tk)/td be the segment-normalized interpolation factor._In_floatamount;
// td=tk+1−tk be the duration of the interpolation segment;_In_floattd;
// ak, vk, and bk be the in-tangent, the property value, and the out-tangent of the k-th frame respectively.floatsquared=amount*amount;
floatcubed=amount*squared;
floatpart2=-2.0*cubed+3.0*squared;
floatpart1=-part2+1.0;
floatpart3=cubed-2.0*squared+amount;
floatpart4=cubed-squared;
part3 *= td;
part4 *= td;
returnvec_k*part1+vec_k1*part2+outTangent_k*part3+inTangent_k1*part4;
Quaternions should be normalized after this.
The text was updated successfully, but these errors were encountered:
Defined in gltf spec, or rendered
Quaternions should be normalized after this.
The text was updated successfully, but these errors were encountered: