mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Dep: Silenced build warning in G3D header, part2, forgot to save
This commit is contained in:
@@ -13,3 +13,16 @@ index 04e11e0..b26708a 100644
|
||||
}
|
||||
|
||||
/** Make unit length in place */
|
||||
@@ -349,9 +349,9 @@ public:
|
||||
the magnitude.
|
||||
*/
|
||||
Quat toUnit() const {
|
||||
- Quat x = *this;
|
||||
- x.unitize();
|
||||
- return x;
|
||||
+ Quat copyOfThis = *this;
|
||||
+ copyOfThis.unitize();
|
||||
+ return copyOfThis;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -349,9 +349,9 @@ public:
|
||||
the magnitude.
|
||||
*/
|
||||
Quat toUnit() const {
|
||||
Quat x = *this;
|
||||
x.unitize();
|
||||
return x;
|
||||
Quat copyOfThis = *this;
|
||||
copyOfThis.unitize();
|
||||
return copyOfThis;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user