Skip to content

Fix const correctness in the API

Compare
Choose a tag to compare
@facontidavide facontidavide released this 01 Aug 19:27
· 22 commits to main since this release

Version 0.3.0 had some problems when passing around a VoxelGrid as a const reference.

Changes:

  • Some emthods as been marked const, as they should be.
  • Added a ConstAccessor that can be used to read the value of a cell but not to modify them.
  • Added a const implementation of VoxelGrid::forEachCell