[ATOM-15538] Material Editor camera zoom speed adjusts to model size

This commit is contained in:
mnaumov
2021-05-21 20:34:42 -07:00
parent 6f23138338
commit 6ee8c6daa5
5 changed files with 18 additions and 4 deletions
@@ -47,6 +47,9 @@ namespace MaterialEditor
//! @param distanceMax furthest camera can be from the target
virtual void GetExtents(float& distanceMin, float& distanceMax) const = 0;
//! Get bounding sphere radius of the active model
virtual float GetRadius() const = 0;
//! Reset camera to default position and rotation
virtual void Reset() = 0;