Esempio n. 1
0
        private static string JitterAlgorithmToString(JitterAlgorithm algorithm)
        {
            switch (algorithm)
            {
            case JitterAlgorithm.RelativeToWorld:
                return("Relative to World [Jittery]");

            case JitterAlgorithm.RelativeToCenter:
                return("Realtive to Center");

            case JitterAlgorithm.CPURelativeToEye:
                return("CPU Relative to Eye");

            case JitterAlgorithm.GPURelativeToEye:
                return("GPU Relative To Eye");

            case JitterAlgorithm.GPURelativeToEyeDSFUN90:
                return("GPU Relative To Eye [DSFUN90]");

            case JitterAlgorithm.GPURelativeToEyeLOD:
                return("GPU Relative To Eye [LOD]");
            }

            return(string.Empty);
        }
Esempio n. 2
0
        private static string JitterAlgorithmToString(JitterAlgorithm algorithm)
        {
            switch (algorithm)
            {
                case JitterAlgorithm.RelativeToWorld:
                    return "Relative to World [Jittery]";
                case JitterAlgorithm.RelativeToCenter:
                    return "Realtive to Center";
                case JitterAlgorithm.CPURelativeToEye:
                    return "CPU Relative to Eye";
                case JitterAlgorithm.GPURelativeToEye:
                    return "GPU Relative To Eye";
                case JitterAlgorithm.GPURelativeToEyeDSFUN90:
                    return "GPU Relative To Eye [DSFUN90]";
                case JitterAlgorithm.GPURelativeToEyeLOD:
                    return "GPU Relative To Eye [LOD]";
            }

            return string.Empty;
        }