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