ssloy/tinyrenderer

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

VCode28629 opened this issue · 1 comments

t& operator[](const int i) { if (x<=0) return x; else return y; }