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

            setXYZ();
        }
Ejemplo n.º 2
0
Archivo: Camera.cs Proyecto: 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);
 }
Ejemplo n.º 3
0
 public Light(Spherical pos)
 {
     this.position = pos;
 }