¡@

Home 

c++ Programming Glossary: bottom.y

C++ triangle rasterization

http://stackoverflow.com/questions/7870533/c-triangle-rasterization

Top.x Middle.x Top.y Middle.y mRight Top.x Bottom.x Top.y Bottom.y else mLeft Top.x Bottom.x Top.y Bottom.y mRight Middle.x Top.x.. Bottom.x Top.y Bottom.y else mLeft Top.x Bottom.x Top.y Bottom.y mRight Middle.x Top.x Middle.y Top.y int finalY float Tleft.. float Top.y y Top.y Middle.y Tright float Top.y y Top.y Bottom.y for int x ceil xLeft x ceil xRight 1 x FrameBuffer SetPixel..