23 for (
size_t i = 0; i < _data.size(); i++) {
24 _data[i] = floor(_data[i] / quantum + 0.5) * quantum;
void quantize(double quantum)
Rounds each element of the table to the nearest multiple of quantum.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.