mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Dep: Silenced build warning in G3D header
This commit is contained in:
15
dep/g3dlite/G3D-v9.0 hotfix5.diff
Normal file
15
dep/g3dlite/G3D-v9.0 hotfix5.diff
Normal 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 */
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user