header files, cleanup

This commit is contained in:
2026-07-24 18:10:35 -07:00
parent a89ef52247
commit 78ec985f7a
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ int main(void) {
UwU::Color blue = UwU::Color(0x0000ffff); UwU::Color blue = UwU::Color(0x0000ffff);
// UwU::ColorShader fuchsia = UwU::ColorShader(UwU::Color(0xb00b69ff)); // UwU::ColorShader fuchsia = UwU::ColorShader(UwU::Color(0xb00b69ff));
UwU::VGradientShader bisexual = UwU::VGradientShader(0, 351, UwU::Color(0xff0000ff), UwU::Color(0x0000ffff)); UwU::VGradientShader bisexual = UwU::VGradientShader(0, 351, red, blue);
UwU::OffsetMapper rectMapper = UwU::OffsetMapper(69, 69); UwU::OffsetMapper rectMapper = UwU::OffsetMapper(69, 69);
UwU::Rectangle rectangle = UwU::Rectangle(69, 69, 420, 420); UwU::Rectangle rectangle = UwU::Rectangle(69, 69, 420, 420);
rectangle.draw(surface.buffer, rectMapper, bisexual); rectangle.draw(surface.buffer, rectMapper, bisexual);
+1
View File
@@ -8,3 +8,4 @@
#include "primatives/trapezoid.cpp" #include "primatives/trapezoid.cpp"
#include "primatives/triangle.cpp" #include "primatives/triangle.cpp"
#include "shaders/shaders.h" #include "shaders/shaders.h"
#include "mappers/mappers.h"