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:
parent
fc41f0991d
commit
b6edf25cd8
@ -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>
|
template <size_t S, typename T>
|
||||||
util::region<S,T>
|
util::region<S,T>
|
||||||
|
@ -84,8 +84,6 @@ namespace util {
|
|||||||
region intersection (region<S,T>) const;
|
region intersection (region<S,T>) const;
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
region& resize (extent<S,T>);
|
|
||||||
|
|
||||||
// Compute a region `mag` units into the region
|
// Compute a region `mag` units into the region
|
||||||
region inset (T mag) const;
|
region inset (T mag) const;
|
||||||
region inset (vector<S,T> mag) const;
|
region inset (vector<S,T> mag) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user