Point2-Impl.h File Reference
Go to the source code of this file.
Namespaces | |
CubbyFlow | |
Functions | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator+ (const Point< T, 2 > &a) |
Positive sign operator. More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator- (const Point< T, 2 > &a) |
Negative sign operator. More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator+ (const Point< T, 2 > &a, T b) |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator+ (T a, const Point< T, 2 > &b) |
Computes (a, a) + (b.x, b.y). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator+ (const Point< T, 2 > &a, const Point< T, 2 > &b) |
Computes (a.x, a.y) + (b.x, b.y). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator- (const Point< T, 2 > &a, T b) |
Computes (a.x, a.y) - (b, b). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator- (T a, const Point< T, 2 > &b) |
Computes (a, a) - (b.x, b.y). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator- (const Point< T, 2 > &a, const Point< T, 2 > &b) |
Computes (a.x, a.y) - (b.x, b.y). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator* (const Point< T, 2 > &a, T b) |
Computes (a.x, a.y) * (b, b). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator* (T a, const Point< T, 2 > &b) |
Computes (a, a) * (b.x, b.y). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator* (const Point< T, 2 > &a, const Point< T, 2 > &b) |
Computes (a.x, a.y) * (b.x, b.y). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator/ (const Point< T, 2 > &a, T b) |
Computes (a.x, a.y) / (b, b). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator/ (T a, const Point< T, 2 > &b) |
Computes (a, a) / (b.x, b.y). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::operator/ (const Point< T, 2 > &a, const Point< T, 2 > &b) |
Computes (a.x, a.y) / (b.x, b.y). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::Min (const Point< T, 2 > &a, const Point< T, 2 > &b) |
Returns element-wise min point: (min(a.x, b.x), min(a.y, b.y)). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::Max (const Point< T, 2 > &a, const Point< T, 2 > &b) |
Returns element-wise max point: (max(a.x, b.x), max(a.y, b.y)). More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::Clamp (const Point< T, 2 > &v, const Point< T, 2 > &low, const Point< T, 2 > &high) |
Returns element-wise clamped point. More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::Ceil (const Point< T, 2 > &a) |
Returns element-wise ceiled point. More... | |
template<typename T > | |
Point< T, 2 > | CubbyFlow::Floor (const Point< T, 2 > &a) |
Returns element-wise floored point. More... | |