23 return (v1[0] * v2[1] - v1[1] * v2[0]) > 0;
31 bool EggGroupNode::TBNVertexValue::
32 operator < (
const TBNVertexValue &other)
const {
33 if (_facing != other._facing) {
34 return (
int)_facing < (int)other._facing;
36 int compare = _pos.compare_to(other._pos);
40 compare = _normal.compare_to(other._normal);
44 compare = _uv.compare_to(other._uv);
48 return _uv_name < other._uv_name;
This is a two-component vector offset.
static bool is_right(const LVector2d &v1, const LVector2d &v2)
Returns true if the 2-d v1 is to the right of v2.