jul1278 / SimpleComponents

component-based 2D game engine in SDL
0 stars 1 forks source link

Potentially a bug in GraphicsUtility::FillIsoTriangle loop with missing condition #96

Open jul1278 opened 7 years ago

jul1278 commented 7 years ago

while(error < 0.5f) in FillIsoTriangle around line 146

should there be another condition here to exit the loop? what if we run out of pixels before reaching error == 0.5?