aabb: rename expand to cover

This commit is contained in:
Danny Robson 2015-04-08 18:59:45 +10:00
parent e1b03e0735
commit a4c22059ed
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ AABB<S,T>::overlaps (point<S,T> p) const
//-----------------------------------------------------------------------------
template <size_t S, typename T>
void
AABB<S,T>::expand (point<S,T> p)
AABB<S,T>::cover (point<S,T> p)
{
p0 = min (p, p0);
p1 = max (p, p1);

View File

@ -37,7 +37,7 @@ namespace util {
bool overlaps (point<S,T>) const;
void expand (point<S,T>);
void cover (point<S,T>);
AABB<S,T> operator+ (vector<S,T>) const;
AABB<S,T> operator- (vector<S,T>) const;