Struct vector3::key_compare

Nested Relationships

This struct is a nested type of Template Class vector3.

Struct Documentation

struct key_compare

Needed for using vectors as keys in a map.

Public Functions

template<typename U, typename std::enable_if<!std::is_floating_point<U>::value, int>::type = 0>
inline bool operator()(const vector3<U> &lhs, const vector3<U> &rhs) const
template<typename U, typename std::enable_if<std::is_floating_point<U>::value, int>::type = 0>
inline bool operator()(const vector3<U> &lhs, const vector3<U> &rhs) const