code: public void setAmbientLight(float r, float g, float b, Vector3D v) {
          float ambient[] = { r, g, b, 255 };
          float position[] = { (float)v.getX(), (float)v.getY(), (float)v.getZ(), 1.0f };
          normalize(ambient);
          gl.glEnable(GL2.GL_LIGHTING);
          gl.glEnable(GL2.GL_LIGHT0);
          gl.glLightfv(GL2.GL_LIGHT0, GL2.GL_POSITION, position, 0);
          gl.glLightfv(GL2.GL_LIGHT0, GL2.GL_AMBIENT, ambient, 0);
      }
docs: Sets the RGB value and the position of the ambientLight