diff --git a/interface/src/FieldOfView.h b/interface/src/FieldOfView.h index d9f8918526..1bfa7c7f33 100644 --- a/interface/src/FieldOfView.h +++ b/interface/src/FieldOfView.h @@ -117,6 +117,11 @@ class FieldOfView * applied. */ float getTransformOffset() const { return vec_bounds_high.z; } + + /** + * Returns the aspect ratio. + */ + float getAspectRatio() const { return val_height / val_width; } }; #endif