mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/*_curve_view_range] Mark accessors const
This commit is contained in:
committed by
Émilie Feral
parent
ed98d8fc93
commit
d4afcfd9fd
@@ -15,7 +15,7 @@ uint32_t CurveViewRange::rangeChecksum() {
|
||||
return Ion::crc32Word((uint32_t *)data, dataLengthInBytes/sizeof(uint32_t));
|
||||
}
|
||||
|
||||
float CurveViewRange::computeGridUnit(Axis axis, float range) {
|
||||
float CurveViewRange::computeGridUnit(Axis axis, float range) const {
|
||||
int a = 0;
|
||||
int b = 0;
|
||||
float maxNumberOfUnits = (axis == Axis::X) ? k_maxNumberOfXGridUnits : k_maxNumberOfYGridUnits;
|
||||
|
||||
Reference in New Issue
Block a user