rename luna, refactor material

This commit is contained in:
2022-09-28 17:57:11 -07:00
parent 73ef90d0c6
commit 78ee975aa1
4 changed files with 54 additions and 25 deletions

View File

@@ -149,6 +149,10 @@ var colors = simplecolor.NamedPalette{
"yellowgreen": 0x9ACD32,
}
func GetNamedPalette() (np simplecolor.NamedPalette) {
return colors
}
func GetPalette() (sp simplecolor.SimplePalette) {
for _, x := range colors {
sp = append(sp, x)