add both examples

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-01-09 04:19:12 -08:00
parent 466083852c
commit 8f5d223b36
1 changed files with 2 additions and 6 deletions

View File

@ -27,8 +27,9 @@ var customUsage = func() {
flag.PrintDefaults()
fmt.Println("")
fmt.Println("EXAMPLE:")
fmt.Println("EXAMPLES:")
fmt.Println("")
fmt.Println("seascape-shader --width 1024 --height 768 --drift .1 --filename shaders/seascape.glsl")
fmt.Println("seascape-shader --width 640 --height 480 --filename shaders/planetfall.glsl")
fmt.Println("")
}
@ -55,11 +56,6 @@ func parseFlags() {
log.Println("Parsed() failed. width=",width)
}
// if err := flag.Parse(); err != nil {
// log.Println("Example:",width)
// }
uDrift = float32(tmp)
log.Println("width=",width)
log.Println("height=",height)