Exemple #1
0
 private void ZoomCalcul(float zoom)
 {
     zoom = Mathf.Clamp01(zoom);
     //Position
     aimHeight    = camSett.EvalHeight(zoom);
     aimPromimity = camSett.EvalPromimity(zoom);
     //Fov
     aimFov = camSett.EvalFieldOfView(zoom);
     //Rotation
     aimAngle = camSett.EvalAngle(zoom);
 }