#pragma once #include #include #include #include #include #include "gl_load/gl_system.h" #undef min #undef max #define APART(x) (static_cast(x) >> 24) #define RPART(x) ((static_cast(x) >> 16) & 0xff) #define GPART(x) ((static_cast(x) >> 8) & 0xff) #define BPART(x) (static_cast(x) & 0xff)