Ejemplo n.º 1
0
        new static public AObjects create_z(Points p1, Points p2, Viewport vp, bool tmp = false)
        {
            var d = (int)Math.Sqrt(Math.Pow(p1.Y - p2.Y, 2) + Math.Pow(p1.X - p2.X, 2));

            return(new Cylinder(p1, d, tmp));
        }
Ejemplo n.º 2
0
 public override bool solve_equation_z(Points p)
 {
     return(isInWireframe(p, Util.eView.z));
 }