Пример #1
0
        private double CalculateVSpeed(int rngIndex)
        {
            ushort rngValue = RngIndexer.GetRngValue(rngIndex);
            double vSpeed   = (rngValue / 65536d) * VSpeedScale + VSpeedOffset;

            return(vSpeed);
        }
Пример #2
0
        private ushort CalculateAngle(int rngIndex)
        {
            ushort rngValue = RngIndexer.GetRngValue(rngIndex);
            ushort angle    = rngValue;

            return(angle);
        }
Пример #3
0
        private double CalculateHSpeed(int rngIndex)
        {
            ushort rngValue = RngIndexer.GetRngValue(rngIndex);
            double hSpeed   = (rngValue / 65536d) * HSpeedScale;

            return(hSpeed);
        }