public marks

PUBLIC MARKS from sylvainulg with tags howto & coding

September 2012

Bresenham

(via)
for(;;){ /* loop */ setPixel(x0,y0); if (x0==x1 AND y0==y1) break; e2 = 2*err; if (e2 >= dy) { err += dy; x0 += sx; } /* e_xy+e_x > 0 */ if (e2 <= dx) { err += dx; y0 += sy; } /* e_xy+e_y < 0 */ }

February 2012

SVN: Merging a Branch into Trunk - Sepcot.com

(via)
I'll have to redo that tomorrow, applying the merge for newcollide first, and *then* companim...