diff options
author | rodri <rgl@antares-labs.eu> | 2023-06-21 22:07:25 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2023-06-21 22:07:25 +0000 |
commit | 7c567087cfe43a5eadc3260782dfcbe4624c2415 (patch) | |
tree | 98f9131288951ea023717db291835189b8cc5cbd /main.c | |
parent | e70ecd9d84578dad435a39b40592f9a7cd1908d3 (diff) | |
download | qball-7c567087cfe43a5eadc3260782dfcbe4624c2415.tar.gz qball-7c567087cfe43a5eadc3260782dfcbe4624c2415.tar.bz2 qball-7c567087cfe43a5eadc3260782dfcbe4624c2415.zip |
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -191,7 +191,7 @@ redraw(void) n = normvec3(crossvec( subvec3(trans.p1, trans.p0), subvec3(trans.p2, trans.p0))); - if(dotvec3(n, subvec3(trans.p0, Vec3(0, 0, 0))) < 0){ + if(dotvec3(n, trans.p0) < 0){ trans.p0 = mulvecm(trans.p0, proj); trans.p1 = mulvecm(trans.p1, proj); trans.p2 = mulvecm(trans.p2, proj); |