예제 #1
0
 public Sofa(Point3D center, double angle) : this(center, angle, 1)
 {
     ;
 }
예제 #2
0
 public Sofa(Point3D center, double angle, int puestos) : base(center, angle, puestos)
 {
     this.canCullFace = true;
     yInc             = h;
 }
예제 #3
0
 public Rak(Point3D center) : this(center, 0)
 {
 }
예제 #4
0
 public Rak(Point3D center, double angle) : base(center, angle)
 {
     this.canCullFace = true;
 }
예제 #5
0
 public Cuadro(Point3D center, string textura) : this(center, 0, textura, 50, 30)
 {
 }
예제 #6
0
 public teko5(Point3D center, double angle) : base(center, angle)
 {
     this.customRendering = true;
 }
예제 #7
0
        /// center especifica la coordenada del extremo inferior izquierdo frontal del cubo


        public Cuadro(Point3D center, double angle, string textura, double alto, double ancho) : base(center, angle, textura, alto, ancho)
        {
        }
예제 #8
0
 public void Strafe(Point3D direction)
 {
     //Point3D camDirection = center-origin;
     //this.Translate(moveDir);
     this.Translate(StrafeDir(direction));
 }
예제 #9
0
 public void MoveTo(Point3D location)
 {
     Translate(location - origin);
 }
예제 #10
0
        //public Rectangle getLook()
        //      {
        //          return new Rectangle(origin.X,origin.Y,origin.Z,center.X,center.Y,center.Z,up.X,up.Y,up.Z);
        //      }


        public void Translate(Point3D direction)
        {
            this.origin.Translate(direction);
            this.center.Translate(direction);
        }
예제 #11
0
 public Camera(Point3D origin, Point3D center, Point3D up)
 {
     this.origin = origin;
     this.center = center;
     this.up     = up;
 }