public Spherical(Spherical pos) { this.radio = pos.radio; this.theta = pos.theta; this.phi = pos.phi; setXYZ(); }
public Camera(Spherical position) { this.normal = new Vector4(0, 0, 1f, 1f); this.position = position; this.lookat = new Vector4(0, 0, 0, 1f); }
public Light(Spherical pos) { this.position = pos; }