public override void UpdateTransforms(float zoomFactor)
        {
            GizmoCap3D cap = _data.Cap;

            _data.Sphere.Center   = cap.Position;
            _data.Sphere.Rotation = cap.Rotation;
            _data.Sphere.Radius   = cap.GetRealSphereRadius(zoomFactor);
        }
Exemplo n.º 2
0
        private void UpdateCamLookSlider(Camera camera)
        {
            float zoomFactor = _midCap.GetZoomFactor(camera);

            _camLookSlider.MakePolySphereBorder(Gizmo.Transform.Position3D, _midCap.GetRealSphereRadius(zoomFactor) + zoomFactor * LookAndFeel3D.CamLookSliderRadiusOffset, 100, camera);
        }