region: rename far to away
far is a reserved word in win32
This commit is contained in:
parent
a5ecbb6bff
commit
cb5e76cff9
@ -125,7 +125,7 @@ util::region<T>::base (void) const
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
template <typename T>
|
template <typename T>
|
||||||
util::point<2,T>
|
util::point<2,T>
|
||||||
util::region<T>::far (void) const
|
util::region<T>::away (void) const
|
||||||
{
|
{
|
||||||
return { x + w, y + h };
|
return { x + w, y + h };
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ namespace util {
|
|||||||
bool empty (void) const;
|
bool empty (void) const;
|
||||||
|
|
||||||
point<2,T> base (void) const;
|
point<2,T> base (void) const;
|
||||||
point<2,T> far (void) const;
|
point<2,T> away (void) const;
|
||||||
point<2,T> centre (void) const;
|
point<2,T> centre (void) const;
|
||||||
point<2,T> closest (point<2,T>) const;
|
point<2,T> closest (point<2,T>) const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user