projects
/
platform
/
upstream
/
boost.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.72.0
[platform/upstream/boost.git]
/
boost
/
qvm
/
quat_operations.hpp
diff --git
a/boost/qvm/quat_operations.hpp
b/boost/qvm/quat_operations.hpp
index
787473d
..
1c0cc4d
100644
(file)
--- a/
boost/qvm/quat_operations.hpp
+++ b/
boost/qvm/quat_operations.hpp
@@
-719,7
+719,7
@@
boost
TR sc=one;
if( dp < one )
{
- TR const theta = acos
f
(dp);
+ TR const theta = acos
<TR>
(dp);
TR const invsintheta = one/sin<TR>(theta);
TR const scale = sin<TR>(theta*(one-t)) * invsintheta;
TR const invscale = sin<TR>(theta*t) * invsintheta * sc;