mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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
|
||
|
}
|