more code cleanup
This commit is contained in:
6
main.go
6
main.go
@@ -36,8 +36,8 @@ func Bootstrap() *Env {
|
||||
// set controls to use 1/6th of the width
|
||||
controlsRelWidth := 1.0 / 12.0
|
||||
|
||||
defaultGraphicsWidth := 9 * int((float64(defaultWindowWidth) * (1.0 - controlsRelWidth)))
|
||||
defaultGraphicsHeight := 9 * defaultWindowHeight
|
||||
defaultGraphicsWidth := 5 * int((float64(defaultWindowWidth) * (1.0 - controlsRelWidth)))
|
||||
defaultGraphicsHeight := 5 * defaultWindowHeight
|
||||
graphicsWidth := defaultGraphicsWidth
|
||||
graphicsHeight := defaultGraphicsHeight
|
||||
|
||||
@@ -118,7 +118,7 @@ func main() {
|
||||
field:
|
||||
&AdderField{
|
||||
fields: []Field{
|
||||
&ScaleField{scale: 4, field: imageField},
|
||||
&ScaleField{scale: 3, field: imageField},
|
||||
&ScaleField{scale: 150, field: &SinXYField{ }},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user