mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 05:45:46 +00:00
Fixed type conversion ambiguity
This commit is contained in:
parent
e2a34ccd89
commit
da1c8d1522
32 changed files with 97 additions and 91 deletions
|
@ -104,8 +104,7 @@ public:
|
|||
}
|
||||
template <typename V>
|
||||
void operator*=(const V& f) {
|
||||
x *= f;
|
||||
y *= f;
|
||||
*this = *this * f;
|
||||
}
|
||||
template <typename V>
|
||||
Vec2<decltype(T{} / V{})> operator/(const V& f) const {
|
||||
|
@ -262,9 +261,7 @@ public:
|
|||
}
|
||||
template <typename V>
|
||||
void operator*=(const V& f) {
|
||||
x *= f;
|
||||
y *= f;
|
||||
z *= f;
|
||||
*this = *this * f;
|
||||
}
|
||||
template <typename V>
|
||||
Vec3<decltype(T{} / V{})> operator/(const V& f) const {
|
||||
|
@ -478,10 +475,7 @@ public:
|
|||
}
|
||||
template <typename V>
|
||||
void operator*=(const V& f) {
|
||||
x *= f;
|
||||
y *= f;
|
||||
z *= f;
|
||||
w *= f;
|
||||
*this = *this * f;
|
||||
}
|
||||
template <typename V>
|
||||
Vec4<decltype(T{} / V{})> operator/(const V& f) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue