ssloy / tinyrenderer

A brief computer graphics / rendering course
https://github.com/ssloy/tinyrenderer/wiki
Other
20.68k stars 1.98k forks source link

Here is a bug which should be if(i<=0) instead of if(x<=0) #109

Open VCode28629 opened 2 years ago

VCode28629 commented 2 years ago

https://github.com/ssloy/tinyrenderer/blob/1cce85258d1f1cf75fd10fe4d62ebfdb669f8cf9/geometry.h#L21