cache optimized rectangle drawing and made sure the methods could be inlined

This commit is contained in:
2026-07-08 13:33:43 -07:00
parent 85cfdaab49
commit 04afd9eee0
9 changed files with 143 additions and 36 deletions
+5 -1
View File
@@ -9,11 +9,15 @@
namespace UwU {
class ColorShader {
private:
public:
ColorShader(Color color) {
this->shaderType = COLORSHADER;
this->shaderColor = color;
}
ShaderType shaderType;
Color shaderColor;
Color color(uint16_t u, uint16_t v) {