Dep: Silenced build warning in G3D header

This commit is contained in:
Shauren
2015-08-01 18:53:50 +02:00
parent ca9d98f179
commit 22653c99f8
2 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
diff --git a/dep/g3dlite/include/G3D/Quat.h b/dep/g3dlite/include/G3D/Quat.h
index 04e11e0..b26708a 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 */

View File

@@ -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 */