Esempio n. 1
0
        public void Execute(int index)
        {
            float cellHeight = Cells[index].Height;
            float factor     = ShockDataExt.DiminishingFactor(Params, deltaTime);

            cellHeight = (factor * cellHeight + Cells[index].AdditionalHeight).ZeroIfSmall();

            Cells[index] = ShockwaveData.Create(
                Cells[index].Position,
                cellHeight,
                Cells[index].WaveTime
                );
        }