Esempio n. 1
0
        public Spherical(Spherical pos)
        {
            this.radio = pos.radio;
            this.theta = pos.theta;
            this.phi = pos.phi;

            setXYZ();
        }
Esempio n. 2
0
File: Camera.cs Progetto: GNZ/CG
 public Camera(Spherical position)
 {
     this.normal = new Vector4(0, 0, 1f, 1f);
     this.position = position;
     this.lookat = new Vector4(0, 0, 0, 1f);
 }
Esempio n. 3
0
 public Light(Spherical pos)
 {
     this.position = pos;
 }