1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-15 07:17:36 +00:00
serenity/Userland/Applications/3DFileViewer
Stephan Unverwerth addbcd42d7 LibGL: Fix triangle winding calculation
Since we operate in screen space where y points down we need to reverse
what is considered clock wise and what is considered counter clockwise.

The rasterizer always expects triangles with a consistent winding order
thus swap 2 vertices if necessary to reverse the winding before passing
the triangle on to the rasterization stage.
2021-08-18 20:30:58 +02:00
..
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Common.h 3DFileViewer: Support textured models 2021-05-26 16:36:53 +04:30
main.cpp LibGL: Fix triangle winding calculation 2021-08-18 20:30:58 +02:00
Mesh.cpp LibGL: Fix glTexCoord behaviour 2021-08-18 20:30:58 +02:00
Mesh.h 3DFileViewer: Add texture menu 2021-08-12 18:58:41 +02:00
MeshLoader.h 3DFileViewer: Clean up file handling 2021-05-20 22:22:56 +02:00
WavefrontOBJLoader.cpp 3DFileViewer: Support textured models 2021-05-26 16:36:53 +04:30
WavefrontOBJLoader.h 3DFileViewer: Clean up file handling 2021-05-20 22:22:56 +02:00