糊涂的白
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
#include "shader.h"
|
||||
|
||||
Color shader(int index, double time) {
|
||||
if (index == 0) {
|
||||
return hex_to_color(0xFFFFFF);
|
||||
}
|
||||
|
||||
return hsv_to_color(time * 120 + index * 6, 1, 1);
|
||||
}
|
||||
Reference in New Issue
Block a user