getFocalLength method
Calculates the focal length from the current .fov and .filmGauge.
Implementation
double getFocalLength() {
final vExtentSlope = math.tan(0.5 * this.fov ).toRad();
return 0.5 * this.getFilmHeight() / vExtentSlope;
}
Calculates the focal length from the current .fov and .filmGauge.
double getFocalLength() {
final vExtentSlope = math.tan(0.5 * this.fov ).toRad();
return 0.5 * this.getFilmHeight() / vExtentSlope;
}