| 458 | } |
| 459 | |
| 460 | inline float ApertureFNumber_() |
| 461 | { |
| 462 | static const float FNumbers[] = |
| 463 | { |
| 464 | 1.8f, 2.0f, 2.2f, 2.5f, 2.8f, 3.2f, 3.5f, 4.0f, 4.5f, 5.0f, 5.6f, 6.3f, 7.1f, 8.0f, |
| 465 | 9.0f, 10.0f, 11.0f, 13.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f |
| 466 | }; |
| 467 | StaticAssert_(ArraySize_(FNumbers) == uint64(FStops::NumValues)); |
| 468 | |
| 469 | return FNumbers[uint64(AppSettings::ApertureSize)]; |
| 470 | } |
| 471 | |
| 472 | inline float ApertureWidth_() |
| 473 | { |
no outgoing calls
no test coverage detected