|
23 | 23 |
|
24 | 24 | #pragma once |
25 | 25 |
|
| 26 | +#include <optional> |
| 27 | + |
26 | 28 | #include <geode/geometry/common.h> |
27 | 29 | #include <geode/geometry/vector.h> |
28 | 30 |
|
@@ -59,20 +61,20 @@ namespace geode |
59 | 61 |
|
60 | 62 | Point< dimension > barycenter() const; |
61 | 63 | template < index_t T = dimension > |
62 | | - typename std::enable_if< T == 3, absl::optional< Vector3D > >::type |
| 64 | + typename std::enable_if< T == 3, std::optional< Vector3D > >::type |
63 | 65 | normal() const; |
64 | 66 | template < index_t T = dimension > |
65 | | - typename std::enable_if< T == 3, absl::optional< Plane > >::type |
| 67 | + typename std::enable_if< T == 3, std::optional< Plane > >::type |
66 | 68 | plane() const; |
67 | 69 | template < index_t T = dimension > |
68 | | - typename std::enable_if< T == 3, absl::optional< OwnerPlane > >::type |
| 70 | + typename std::enable_if< T == 3, std::optional< OwnerPlane > >::type |
69 | 71 | owner_plane() const; |
70 | 72 | template < index_t T = dimension > |
71 | | - typename std::enable_if< T == 3, absl::optional< local_index_t > >::type |
| 73 | + typename std::enable_if< T == 3, std::optional< local_index_t > >::type |
72 | 74 | pivot() const; |
73 | 75 | template < index_t T = dimension > |
74 | 76 | typename std::enable_if< T == 3, |
75 | | - absl::optional< std::pair< local_index_t, Vector3D > > >::type |
| 77 | + std::optional< std::pair< local_index_t, Vector3D > > >::type |
76 | 78 | pivot_and_normal() const; |
77 | 79 | void set_point( index_t vertex, PointType point ); |
78 | 80 | const std::array< PointType, 3 >& vertices() const; |
|
0 commit comments