mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
shaderir: Remove and rename some builtin functions
Apparently matrixCompMult and outerProduct are not portable. We adopted the naming rule foobar instead of fooBar.
This commit is contained in:
parent
f13fe331fb
commit
776de77744
@ -237,15 +237,13 @@ const (
|
||||
Normalize BuiltinFunc = "normalize"
|
||||
Faceforward BuiltinFunc = "faceforward"
|
||||
Reflect BuiltinFunc = "reflect"
|
||||
MatrixCompMult BuiltinFunc = "matrixCompMult"
|
||||
OuterProduct BuiltinFunc = "outerProduct"
|
||||
Transpose BuiltinFunc = "transpose"
|
||||
LessThan BuiltinFunc = "lessThan"
|
||||
LessThanEqual BuiltinFunc = "lessThanEqual"
|
||||
GreaterThan BuiltinFunc = "greaterThan"
|
||||
GreaterThanEqual BuiltinFunc = "greaterThanEqual"
|
||||
LessThan BuiltinFunc = "lessthan"
|
||||
LessThanEqual BuiltinFunc = "lessthanequal"
|
||||
GreaterThan BuiltinFunc = "greaterthan"
|
||||
GreaterThanEqual BuiltinFunc = "greaterthanequal"
|
||||
Equal BuiltinFunc = "equal"
|
||||
NotEqual BuiltinFunc = "notEqual"
|
||||
NotEqual BuiltinFunc = "notequal"
|
||||
Any BuiltinFunc = "any"
|
||||
All BuiltinFunc = "all"
|
||||
Not BuiltinFunc = "not"
|
||||
@ -294,8 +292,6 @@ func ParseBuiltinFunc(str string) (BuiltinFunc, bool) {
|
||||
Normalize,
|
||||
Faceforward,
|
||||
Reflect,
|
||||
MatrixCompMult,
|
||||
OuterProduct,
|
||||
Transpose,
|
||||
LessThan,
|
||||
LessThanEqual,
|
||||
|
Loading…
Reference in New Issue
Block a user