facontidavide / Bonxai

Fast, hierarchical, sparse Voxel Grid
Mozilla Public License 2.0
673 stars 59 forks source link

Fix private mask object inaccessible #29

Closed bertaveira closed 2 weeks ago

bertaveira commented 5 months ago

I noticed that the mask object is now private in the Grid class. This makes it so it becomes inaccessible.

If you call the accessor method setCellOn() or setCellOff() it throws a compilation error of not being possible to access mask.

This fixes it by getting the mask through the mask() method.