mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
16 lines
211 B
Go
16 lines
211 B
Go
|
package main
|
||
|
|
||
|
func Vertex(position vec2) vec4 {
|
||
|
if true {
|
||
|
return vec4(position, 0, 1)
|
||
|
}
|
||
|
return vec4(position, 0, 1)
|
||
|
}
|
||
|
|
||
|
func Fragment(position vec4) vec4 {
|
||
|
if true {
|
||
|
return position
|
||
|
}
|
||
|
return position
|
||
|
}
|