facontidavide / Bonxai

Fast, hierarchical, sparse Voxel Grid
Mozilla Public License 2.0
659 stars 56 forks source link

Fix private mask object inaccessible #29

Open bertaveira opened 4 months ago

bertaveira commented 4 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.