mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 17:53:32 +02:00
add != operator for AACube
This commit is contained in:
parent
47f2cbd73b
commit
eda779b434
1 changed files with 4 additions and 0 deletions
|
@ -78,6 +78,10 @@ inline bool operator==(const AACube& a, const AACube& b) {
|
|||
return a.getCorner() == b.getCorner() && a.getScale() == b.getScale();
|
||||
}
|
||||
|
||||
inline bool operator!=(const AACube& a, const AACube& b) {
|
||||
return a.getCorner() != b.getCorner() || a.getScale() == b.getScale();
|
||||
}
|
||||
|
||||
inline QDebug operator<<(QDebug debug, const AACube& cube) {
|
||||
debug << "AACube[ ("
|
||||
<< cube.getCorner().x << "," << cube.getCorner().y << "," << cube.getCorner().z << " ) to ("
|
||||
|
|
Loading…
Reference in a new issue