mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +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"
|
Normalize BuiltinFunc = "normalize"
|
||||||
Faceforward BuiltinFunc = "faceforward"
|
Faceforward BuiltinFunc = "faceforward"
|
||||||
Reflect BuiltinFunc = "reflect"
|
Reflect BuiltinFunc = "reflect"
|
||||||
MatrixCompMult BuiltinFunc = "matrixCompMult"
|
|
||||||
OuterProduct BuiltinFunc = "outerProduct"
|
|
||||||
Transpose BuiltinFunc = "transpose"
|
Transpose BuiltinFunc = "transpose"
|
||||||
LessThan BuiltinFunc = "lessThan"
|
LessThan BuiltinFunc = "lessthan"
|
||||||
LessThanEqual BuiltinFunc = "lessThanEqual"
|
LessThanEqual BuiltinFunc = "lessthanequal"
|
||||||
GreaterThan BuiltinFunc = "greaterThan"
|
GreaterThan BuiltinFunc = "greaterthan"
|
||||||
GreaterThanEqual BuiltinFunc = "greaterThanEqual"
|
GreaterThanEqual BuiltinFunc = "greaterthanequal"
|
||||||
Equal BuiltinFunc = "equal"
|
Equal BuiltinFunc = "equal"
|
||||||
NotEqual BuiltinFunc = "notEqual"
|
NotEqual BuiltinFunc = "notequal"
|
||||||
Any BuiltinFunc = "any"
|
Any BuiltinFunc = "any"
|
||||||
All BuiltinFunc = "all"
|
All BuiltinFunc = "all"
|
||||||
Not BuiltinFunc = "not"
|
Not BuiltinFunc = "not"
|
||||||
@ -294,8 +292,6 @@ func ParseBuiltinFunc(str string) (BuiltinFunc, bool) {
|
|||||||
Normalize,
|
Normalize,
|
||||||
Faceforward,
|
Faceforward,
|
||||||
Reflect,
|
Reflect,
|
||||||
MatrixCompMult,
|
|
||||||
OuterProduct,
|
|
||||||
Transpose,
|
Transpose,
|
||||||
LessThan,
|
LessThan,
|
||||||
LessThanEqual,
|
LessThanEqual,
|
||||||
|
Loading…
Reference in New Issue
Block a user