summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
Diffstat (limited to 'o3d')
-rw-r--r--o3d/core/cross/gpu2d/local_triangulator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/o3d/core/cross/gpu2d/local_triangulator.h b/o3d/core/cross/gpu2d/local_triangulator.h
index 39894ea..f268515 100644
--- a/o3d/core/cross/gpu2d/local_triangulator.h
+++ b/o3d/core/cross/gpu2d/local_triangulator.h
@@ -192,7 +192,7 @@ class LocalTriangulator {
bool fill_right_side);
// Number of triangles computed by Triangulate().
- int num_triangles() {
+ int num_triangles() const {
return num_triangles_;
}
@@ -205,7 +205,7 @@ class LocalTriangulator {
// Number of vertices facing the inside of the shape, if
// compute_inside_edges was true when Triangulate() was called.
- int num_interior_vertices() {
+ int num_interior_vertices() const {
return num_interior_vertices_;
}