Skip to content

Commit

Permalink
cops: fix Model{3,4,8} definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorbin committed Dec 18, 2017
1 parent 32de632 commit 451043d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/cops/display/palettes.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,17 @@ func init() {
for i := 0; i < 8; i++ {
Palette3 = append(Palette3, color.Color(Colors[i]))
}
Model3 = Palette3.Render

for i := 0; i < 16; i++ {
Palette4 = append(Palette4, color.Color(Colors[i]))
}
Model4 = Palette4.Render

for i := 0; i < 256; i++ {
Palette8 = append(Palette8, color.Color(Colors[i]))
}
Model8 = Palette8.Render

colorIndex = make(map[color.RGBA]int, 256)
for i := 0; i < 256; i++ {
Expand Down

0 comments on commit 451043d

Please sign in to comment.