1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:27:36 +00:00

LibGL: Move polygon clipping to Clipper class

This code has also been optimised to be much more memory
friendly by removing a _lot_ of extraneous copies. The result
is that, when profiled, it's around 8x faster than the previous
implementation.

Co-Authored-By: Ali Mohammad Pur <ali.mpfard@gmail.com>
This commit is contained in:
Jesse Buhagiar 2021-05-04 23:00:45 +10:00 committed by Andreas Kling
parent 834f3c64f0
commit e8cd89a538
5 changed files with 177 additions and 112 deletions

View file

@ -1,4 +1,5 @@
set(SOURCES
Clipper.cpp
GLColor.cpp
GLMat.cpp
GLContext.cpp