(out, a, b)
| 75154 | return out; |
| 75155 | } |
| 75156 | function pow(out, a, b) { |
| 75157 | ln(out, a); |
| 75158 | scale(out, out, b); |
| 75159 | exp(out, out); |
| 75160 | return out; |
| 75161 | } |
| 75162 | function slerp(out, a, b, t) { |
| 75163 | // benchmarks: |
| 75164 | // http://jsperf.com/quaternion-slerp-implementations |