mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Readability improvement
This commit is contained in:
parent
2422c7e1bb
commit
1a8f6b8de0
1 changed files with 2 additions and 2 deletions
|
@ -71,11 +71,11 @@ public:
|
|||
float alpha = 0.0f;
|
||||
float accum = 0.0f;
|
||||
_values[0] = 0.0f;
|
||||
for (int i = 0; i < NUM_SUBDIVISIONS; i++) {
|
||||
for (int i = 1; i < NUM_SUBDIVISIONS + 1; i++) {
|
||||
accum += glm::distance(this->operator()(alpha),
|
||||
this->operator()(alpha + DELTA));
|
||||
alpha += DELTA;
|
||||
_values[i + 1] = accum;
|
||||
_values[i] = accum;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue