mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 12:14:09 +00:00
and of course the last commit didnt fix everything
This commit is contained in:
parent
4a36d64f15
commit
90e093cd47
19 changed files with 40 additions and 36 deletions
|
@ -14,7 +14,7 @@ CQuaternion::Slerp(const CQuaternion &q1, const CQuaternion &q2, float theta, fl
|
|||
if(theta > PI/2){
|
||||
theta = PI - theta;
|
||||
w1 = Sin((1.0f - t) * theta) * invSin;
|
||||
w2 = -sin(t * theta) * invSin;
|
||||
w2 = -Sin(t * theta) * invSin;
|
||||
}else{
|
||||
w1 = Sin((1.0f - t) * theta) * invSin;
|
||||
w2 = Sin(t * theta) * invSin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue