MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / ShutterSpeedValue_

Function ShutterSpeedValue_

BakingLab/AppSettings.h:477–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475 }
476
477 inline float ShutterSpeedValue_()
478 {
479 static const float ShutterSpeedValues[] =
480 {
481 1.0f / 1.0f, 1.0f / 2.0f, 1.0f / 4.0f, 1.0f / 8.0f, 1.0f / 15.0f, 1.0f / 30.0f,
482 1.0f / 60.0f, 1.0f / 125.0f, 1.0f / 250.0f, 1.0f / 500.0f, 1.0f / 1000.0f, 1.0f / 2000.0f, 1.0f / 4000.0f,
483 };
484 StaticAssert_(ArraySize_(ShutterSpeedValues) == uint64(ShutterSpeeds::NumValues));
485
486 return ShutterSpeedValues[uint64(AppSettings::ShutterSpeed)];
487 }
488
489 inline float VerticalFOV(float aspectRatio)
490 {

Callers 1

UpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected