const data& getVoxelLod(const vector3int32& pos, const int32& lod) const { return getVoxelLod(calculateCoordsLod(pos, lod), lod); }
/** * @brief setVoxelLod sets a voxel to a lod array. * @param pos * @param toSet * @param lod level of detail index * @return returns true if anything changed. * @see calculateCoordsLod() */ bool setVoxelLod(const vector3int32& pos, const voxelType& toSet, const int32& lod) { return setVoxelLod(calculateCoordsLod(pos, lod), toSet, lod); }