Rename rayAngle to angle.
Remove useless getTime in game loop.