summaryrefslogtreecommitdiffhomepage
path: root/entity/erased-constraints.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'entity/erased-constraints.cpp')
-rw-r--r--entity/erased-constraints.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/entity/erased-constraints.cpp b/entity/erased-constraints.cpp
index 05cb370d..bb665307 100644
--- a/entity/erased-constraints.cpp
+++ b/entity/erased-constraints.cpp
@@ -156,6 +156,9 @@ bool operator==(const range& a, const range& b)
case range::type_float: return std::fabs(a.min.f - b.min.f) < eps && std::fabs(a.max.f - b.max.f) < eps;
case range::type_uint: return a.min.u == b.min.u && a.max.u == b.max.u;
case range::type_int: return a.min.i == b.min.i && a.max.i == b.max.i;
+ case range::type_float4: return a.min.f4 == b.min.f4 && a.max.f4 == b.max.f4;
+ case range::type_uint4: return a.min.u4 == b.min.u4 && a.max.u4 == b.max.u4;
+ case range::type_int4: return a.min.i4 == b.min.i4 && a.max.i4 == b.max.i4;
}
}