cache optimized rectangle drawing and made sure the methods could be inlined
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user