code: function(point, angle, range) {
      var sin = Math.sin(angle);
      var cos = Math.cos(angle);
  
      return this.ray(sin, cos, range, {
        x: point.x,
        y: point.y,
        height: 0,
        dist: 0
      });
    }
docs: Casts a ray from the camera and returns the results.
  @param  {Object} point Player/camera's x/y position.
  @param  {Number} angle Angle (in radians) of camera.
  @param  {Number} range Max length of the ray.