Beispiel #1
0
        public Ray(Vector2 start, Vector2 direction, double wavelength)
        {
            this.start      = start;
            this.direction  = direction;
            this.wavelength = wavelength;
            color           = PhysicsUtility.GetColor(wavelength);

            collisionPoints = new List <Vector2> {
                start
            };
        }