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

            _data.Cone.BaseCenter = cap.Position;
            _data.Cone.Rotation   = cap.Rotation;
            _data.Cone.BaseRadius = cap.GetRealConeRadius(zoomFactor);
            _data.Cone.Height     = cap.GetRealConeHeight(zoomFactor);
        }