I wrote a program which is drawing the ellipse. I must still do, removing invisible segments (the ones which are behind the ellipse). For me could somebody help? I have no idea how to do it.
It is a code of the program, becouse the code is very long, it pasted on pastebin.com – http://pastebin.com/i3vmAFz9 .