File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 3131
3232namespace geode
3333{
34+ FORWARD_DECLARATION_DIMENSION_CLASS ( BoundingBox );
3435 FORWARD_DECLARATION_DIMENSION_CLASS ( Point );
3536 FORWARD_DECLARATION_DIMENSION_CLASS ( Vector );
3637 class AttributeManager ;
@@ -91,6 +92,8 @@ namespace geode
9192 [[nodiscard]] AttributeManager&
9293 grid_vertex_attribute_manager () const override ;
9394
95+ [[nodiscard]] BoundingBox< dimension > bounding_box () const ;
96+
9497 private:
9598 friend class bitsery ::Access;
9699 template < typename Archive >
Original file line number Diff line number Diff line change @@ -187,6 +187,12 @@ namespace geode
187187 return impl_->vertex_attribute_manager ();
188188 }
189189
190+ template < index_t dimension >
191+ BoundingBox< dimension > LightRegularGrid< dimension >::bounding_box() const
192+ {
193+ return this ->grid_bounding_box ();
194+ }
195+
190196 template < index_t dimension >
191197 template < typename Archive >
192198 void LightRegularGrid< dimension >::serialize( Archive& archive )
You can’t perform that action at this time.
0 commit comments