aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/include/G3D/Quat.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/g3dlite/include/G3D/Quat.h')
-rw-r--r--dep/g3dlite/include/G3D/Quat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/g3dlite/include/G3D/Quat.h b/dep/g3dlite/include/G3D/Quat.h
index 04e11e084a0..b26708a6d48 100644
--- a/dep/g3dlite/include/G3D/Quat.h
+++ b/dep/g3dlite/include/G3D/Quat.h
@@ -335,8 +335,8 @@ public:
Note that q.pow(a).pow(b) == q.pow(a + b)
@cite Dam98 pg 21
*/
- inline Quat pow(float x) const {
- return (log() * x).exp();
+ inline Quat pow(float r) const {
+ return (log() * r).exp();
}
/** Make unit length in place */