mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-08 14:52:00 +00:00
b9da2b8d97b2b82e567b402589b6ce6bab4b5e49
Implement DrawGeometry using a software scanline rasteriser that fills triangles directly into the EColor4K framebuffer. Vertices are sorted by Y, split into upper/lower halves and filled with per-scanline edge interpolation. Colour is stepped incrementally across each span (one division per span edge rather than per pixel) to avoid the cost of emulated integer division on the ARM920T.
Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.
You can find the latest release and additional information at: https://www.libsdl.org/
Installation instructions and a quick introduction is available in INSTALL.md
This library is distributed under the terms of the zlib license, available in LICENSE.txt.
Enjoy!
Sam Lantinga (slouken@libsdl.org)
Languages
C
85.7%
C++
6.6%
Objective-C
3.3%
CMake
1.7%
Perl
0.7%
Other
1.7%