diff --git a/example.cpp b/example.cpp index f072806..43855c4 100644 --- a/example.cpp +++ b/example.cpp @@ -44,7 +44,7 @@ int main(void) { UwU::Color blue = UwU::Color(0x0000ffff); // 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::Rectangle rectangle = UwU::Rectangle(69, 69, 420, 420); rectangle.draw(surface.buffer, rectMapper, bisexual); diff --git a/uwugl.h b/uwugl.h index 622401b..381c56d 100644 --- a/uwugl.h +++ b/uwugl.h @@ -7,4 +7,5 @@ #include "primatives/rectangle.cpp" #include "primatives/trapezoid.cpp" #include "primatives/triangle.cpp" -#include "shaders/shaders.h" \ No newline at end of file +#include "shaders/shaders.h" +#include "mappers/mappers.h" \ No newline at end of file