2D vector graphics Problem

2005-05-29 Thread Karl Max
Hi all, I'm new here. Name's Max from tuscany, and I don't speak english very well :-) I am not veteran at coding, I am most like an "artisan coder" since commodore 64 times. Now the problem: I would like to have a little 2d engine to calculate and trace segments and poly's and their collision

Re: 2D vector graphics Problem

2005-05-29 Thread Karl Max
"Scott David Daniels" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] >> x = x * cos - y * sin - xRel * cos + yRel * sin + xRel >> y = x * sin + y * cos - xRel * sin - yRel * cos + yRel >> self.coords = (x,y) > > Your equation for y uses the new x, not the old x. De hi hi