| 58 | } |
| 59 | |
| 60 | static void SetCineBars(TypeOrNil<float> height, TypeOrNil<float> speed) |
| 61 | { |
| 62 | // Divide by 200 so that a percentage of 100 means that each bar takes up half the screen. |
| 63 | float heightProportion = ValueOr<float>(height, 30) / 200.0f; |
| 64 | float speedProportion = ValueOr<float>(speed, 1); |
| 65 | SetCinematicBars(heightProportion, speedProportion); |
| 66 | } |
| 67 | |
| 68 | static void SetFOV(float angle) |
| 69 | { |
nothing calls this directly
no test coverage detected