Пример #1
0
        public override void UpdateTransforms(float zoomFactor)
        {
            GizmoCap3D cap = _data.Cap;

            _data.TrPrism.Rotation    = cap.Rotation;
            _data.TrPrism.Width       = cap.GetRealTriPrismWidth(zoomFactor);
            _data.TrPrism.Height      = cap.GetRealTriPrismHeight(zoomFactor);
            _data.TrPrism.Depth       = cap.GetRealTriPrismDepth(zoomFactor);
            _data.TrPrism.FrontCenter = cap.Position;
        }