Ejemplo n.º 1
0
        private void UpdateUnitSphere()
        {
            var losPointSphere = Session.Instance.LosPointSphere;

            LosScaledCloud.Clear();
            UtilsStatic.UnitSphereTranslateScaleList(_unitSpherePoints, ref losPointSphere, ref LosScaledCloud, ShieldComp.DefenseShields.ShieldEnt, false, MyGrid);
        }
Ejemplo n.º 2
0
        private void UpdateUnitSphere()
        {
            var losPointSphere = Session.Instance.LosPointSphere;

            LosScaledCloud.Clear();
            var checkSphere = new BoundingSphereD(ShieldComp.DefenseShields.MyGridCenter, ShieldComp.DefenseShields.DsState.State.GridHalfExtents.Length() + 20);

            UtilsStatic.UnitSphereTranslateScaleList(_unitSpherePoints, ref losPointSphere, ref LosScaledCloud, ref checkSphere, ShieldComp.DefenseShields.ShieldEnt, false, MyGrid);
        }
Ejemplo n.º 3
0
        private void UpdateUnitSphere(bool updateShape = false)
        {
            if (updateShape)
            {
                if (ShieldComp.DefenseShields.GridIsMobile)
                {
                    ShieldComp.DefenseShields.MobileUpdate();
                }
            }
            var losPointSphere = Session.Instance.LosPointSphere;

            LosScaledCloud.Clear();
            UtilsStatic.UnitSphereTranslateScaleList(_unitSpherePoints, ref losPointSphere, ref LosScaledCloud, ShieldComp.DefenseShields.ShieldEnt, false, MyGrid);
        }