mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
36 lines
280 B
Go
36 lines
280 B
Go
|
package main
|
||
|
|
||
|
func Foo() {
|
||
|
Bar()
|
||
|
Baz()
|
||
|
}
|
||
|
|
||
|
func Bar() {
|
||
|
Baz()
|
||
|
Quux()
|
||
|
}
|
||
|
|
||
|
func Baz() {
|
||
|
}
|
||
|
|
||
|
func Quux() {
|
||
|
Baz()
|
||
|
}
|
||
|
|
||
|
func NeverCalled() {
|
||
|
Foo()
|
||
|
Bar()
|
||
|
Baz()
|
||
|
Quux()
|
||
|
}
|
||
|
|
||
|
func Vertex(pos vec2) vec4 {
|
||
|
Foo()
|
||
|
return vec4(0)
|
||
|
}
|
||
|
|
||
|
func Fragment(pos vec4) vec4 {
|
||
|
Quux()
|
||
|
return vec4(0)
|
||
|
}
|