mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
Whitespace
This commit is contained in:
parent
16d4234d55
commit
4d7ed6b68f
1 changed files with 2 additions and 2 deletions
|
@ -64,11 +64,11 @@ float interpolate3Points(float y1, float y2, float y3, float u) {
|
|||
return y2;
|
||||
}
|
||||
|
||||
float halfSlope;
|
||||
float halfSlope;
|
||||
if ((y2 >= y1 && y2 >= y3) || (y2 <= y1 && y2 <= y3)) {
|
||||
// U or inverted-U shape.
|
||||
// Make the slope at y2 = 0, which means that the control points half way between the value points have the value y2.
|
||||
halfSlope = 0.0f;
|
||||
halfSlope = 0.0f;
|
||||
|
||||
} else {
|
||||
// L or inverted and/or mirrored L shape.
|
||||
|
|
Loading…
Reference in a new issue