some optimizations of Point rotation

This commit is contained in:
bubnikv 2016-09-12 13:52:31 +02:00
parent 9a83d4e8d5
commit 73cbb4b5dc
2 changed files with 9 additions and 5 deletions

View file

@ -94,7 +94,7 @@ inline bool operator!=(const BoundingBoxBase<VT> &bb1, const BoundingBoxBase<VT>
template<typename VT>
inline bool empty(const BoundingBoxBase<VT> &bb)
{
return bb.min.x > bb.max.y || bb.min.y > bb.max.y;
return bb.min.x > bb.max.x || bb.min.y > bb.max.y;
}
template<typename VT>