VOXELFORMAT: allow non-const access to the palette
parent
311b3b3a73
commit
3a100a8afb
|
@ -29,6 +29,10 @@ public:
|
|||
return _palette;
|
||||
}
|
||||
|
||||
inline voxel::Palette &palette() {
|
||||
return _palette;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Find the closed index in the currently in-use palette for the given color
|
||||
* @param color Normalized color value [0.0-1.0]
|
||||
|
|
Loading…
Reference in New Issue