code: protected void setEndPoints() {
  		for (int i = 0; i < rayNum; i++) {
  			float angle = direction + coneDegree - 2f * coneDegree * i
  					/ (rayNum - 1f);
  			final float s = sin[i] = MathUtils.sinDeg(angle);
  			final float c = cos[i] = MathUtils.cosDeg(angle);
  			endX[i] = distance * c;
  			endY[i] = distance * s;
  		}
  	}
docs: Updates lights sector basing on distance, direction and coneDegree *