shaderir: Add more builtin functions

This commit is contained in:
Hajime Hoshi 2020-05-23 18:07:28 +09:00
parent 7937b302e3
commit da4d5b1338

View File

@ -137,6 +137,9 @@ const (
type BuiltinFunc string
const (
Vec2F BuiltinFunc = "vec2"
Vec3F BuiltinFunc = "vec3"
Vec4F BuiltinFunc = "vec4"
Radians BuiltinFunc = "radians"
Degrees BuiltinFunc = "degrees"
Sin BuiltinFunc = "sin"