18 is_right(
const LVector2d &v1,
const LVector2d &v2) {
19 return (v1[0] * v2[1] - v1[1] * v2[0]) > 0;
25 bool EggGroupNode::TBNVertexValue::
26 operator < (
const TBNVertexValue &other)
const {
27 if (_facing != other._facing) {
28 return (
int)_facing < (int)other._facing;
30 int compare = _pos.compare_to(other._pos);
34 compare = _normal.compare_to(other._normal);
38 compare = _uv.compare_to(other._uv);
42 return _uv_name < other._uv_name;
static bool is_right(const LVector2d &v1, const LVector2d &v2)
Returns true if the 2-d v1 is to the right of v2.