예제 #1
0
파일: Spherical.cs 프로젝트: nicogarcia/cg
        public Spherical(Spherical pos)
        {
            this.radio = pos.radio;
            this.theta = pos.theta;
            this.phi = pos.phi;

            setXYZ();
        }
예제 #2
0
파일: Camera.cs 프로젝트: 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);
 }
예제 #3
0
파일: Light.cs 프로젝트: nicogarcia/cg
 public Light(Spherical pos)
 {
     this.position = pos;
 }