QB64 Phoenix Edition
_MAPTRIANGLE face culling - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: _MAPTRIANGLE face culling (/showthread.php?tid=1391)



_MAPTRIANGLE face culling - RokCoder - 01-10-2023

I stumbled on _MAPTRIANGLE and thought I'd take it out for a spin. It's got me wondering whether _CLOCKWISE/_ANTICLOCKWISE are implemented?

Unless I'm reading it wrong, they should allow automatic back face culling but I'm finding that, with a test triangle, I can apply the coordinates in any order and it will render regardless of whether I add _CLOCKWISE or _ANTICLOCKWISE.

Any insights on this?