mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-15 07:27:32 +01:00
98ae0826c7
Fixes #1238
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
|
|
}
|