region: actually act on sanity queries
This commit is contained in:
parent
70da3ec2d4
commit
4033ec7df1
@ -23,7 +23,7 @@ template <size_t S, typename T>
|
|||||||
cruft::region<S,T>::region (extent_t _extent):
|
cruft::region<S,T>::region (extent_t _extent):
|
||||||
region (point_t::origin (), _extent)
|
region (point_t::origin (), _extent)
|
||||||
{
|
{
|
||||||
debug::sanity (*this);
|
CHECK_SANITY (*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ cruft::region<S,T>::region (point_t _p,
|
|||||||
p (_p),
|
p (_p),
|
||||||
e (_e)
|
e (_e)
|
||||||
{
|
{
|
||||||
debug::sanity (*this);
|
CHECK_SANITY (*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ cruft::region<S,T>::region (point_t _a,
|
|||||||
// simplifies generalisation. eg, vertical linear bezier curves.
|
// simplifies generalisation. eg, vertical linear bezier curves.
|
||||||
CHECK (all (_a <= _b));
|
CHECK (all (_a <= _b));
|
||||||
|
|
||||||
debug::sanity (*this);
|
CHECK_SANITY (*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user