Ejemplo n.º 1
0
 public Sofa(Point3D center, double angle) : this(center, angle, 1)
 {
     ;
 }
Ejemplo n.º 2
0
 public Sofa(Point3D center, double angle, int puestos) : base(center, angle, puestos)
 {
     this.canCullFace = true;
     yInc             = h;
 }
Ejemplo n.º 3
0
 public Rak(Point3D center) : this(center, 0)
 {
 }
Ejemplo n.º 4
0
 public Rak(Point3D center, double angle) : base(center, angle)
 {
     this.canCullFace = true;
 }
Ejemplo n.º 5
0
 public Cuadro(Point3D center, string textura) : this(center, 0, textura, 50, 30)
 {
 }
Ejemplo n.º 6
0
 public teko5(Point3D center, double angle) : base(center, angle)
 {
     this.customRendering = true;
 }
Ejemplo n.º 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)
        {
        }
Ejemplo n.º 8
0
 public void Strafe(Point3D direction)
 {
     //Point3D camDirection = center-origin;
     //this.Translate(moveDir);
     this.Translate(StrafeDir(direction));
 }
Ejemplo n.º 9
0
 public void MoveTo(Point3D location)
 {
     Translate(location - origin);
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 11
0
 public Camera(Point3D origin, Point3D center, Point3D up)
 {
     this.origin = origin;
     this.center = center;
     this.up     = up;
 }