+#include <epoxy/gl.h>
#include <math.h>
#include "widgets.h"
#include "util.h"
-#include "opengl.h"
#define HSV_WHEEL_SIZE 128
+namespace movit {
+
GLuint hsv_wheel_num;
void draw_hsv_wheel(float y, float rad, float theta, float value)
hsv_pix[(y * HSV_WHEEL_SIZE + x) * 4 + 3] = 255;
}
}
- printf("\n");
}
glBindTexture(GL_TEXTURE_2D, hsv_wheel_num);
}
}
+
+} // namespace movit