region: remove the resize method

we're moving away from mutating operators so this is somewhat
out-of-place. it's not a huge functional change though as there are
enough locations where the internal representation of point/extent are
assumed that we just do it through the members.
This commit is contained in:
Danny Robson 2017-08-09 17:27:28 +10:00
parent fc41f0991d
commit b6edf25cd8
2 changed files with 0 additions and 11 deletions

View File

@ -250,15 +250,6 @@ util::region<S,T>::intersection (region<S,T> rhs) const
}
//-----------------------------------------------------------------------------
template <size_t S, typename T>
util::region<S,T>&
util::region<S,T>::resize (extent<S,T> _e)
{
e = _e;
return *this;
}
//-----------------------------------------------------------------------------
template <size_t S, typename T>
util::region<S,T>

View File

@ -84,8 +84,6 @@ namespace util {
region intersection (region<S,T>) const;
//---------------------------------------------------------------------
region& resize (extent<S,T>);
// Compute a region `mag` units into the region
region inset (T mag) const;
region inset (vector<S,T> mag) const;