add both examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
466083852c
commit
8f5d223b36
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue