mirror of
https://github.com/okalachev/flix.git
synced 2025-07-27 17:49:33 +00:00
Remove redundant inline specifiers
In-class defined methods are specified as inline by default
This commit is contained in:
parent
e10475a5e0
commit
732de2a5d6
@ -168,11 +168,11 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Rotate vector by quaternion
|
// Rotate vector by quaternion
|
||||||
inline Vector rotate(const Vector& v) {
|
Vector rotate(const Vector& v) {
|
||||||
return conjugateInversed(v);
|
return conjugateInversed(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool finite() const {
|
bool finite() const {
|
||||||
return isfinite(w) && isfinite(x) && isfinite(y) && isfinite(z);
|
return isfinite(w) && isfinite(x) && isfinite(y) && isfinite(z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,15 +54,15 @@ public:
|
|||||||
return Vector(x / b.x, y / b.y, z / b.z);
|
return Vector(x / b.x, y / b.y, z / b.z);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool operator == (const Vector& b) const {
|
bool operator == (const Vector& b) const {
|
||||||
return x == b.x && y == b.y && z == b.z;
|
return x == b.x && y == b.y && z == b.z;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool operator != (const Vector& b) const {
|
bool operator != (const Vector& b) const {
|
||||||
return !(*this == b);
|
return !(*this == b);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool finite() const {
|
bool finite() const {
|
||||||
return isfinite(x) && isfinite(y) && isfinite(z);
|
return isfinite(x) && isfinite(y) && isfinite(z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user