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