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