[fix] Fixed a fucking mistake.
This commit is contained in:
parent
92ee305fff
commit
1783d78183
@ -36,7 +36,7 @@ float CallFunction(string name, float[] args) {
|
|||||||
|
|
||||||
// ---- conditional switch
|
// ---- conditional switch
|
||||||
case "step": EnforceArgs!2; return args[1] > args[0]? 1: 0;
|
case "step": EnforceArgs!2; return args[1] > args[0]? 1: 0;
|
||||||
case "clamp": EnforceArgs!3; return clamp(args[0], args[1], args[3]);
|
case "clamp": EnforceArgs!3; return clamp(args[0], args[1], args[2]);
|
||||||
|
|
||||||
default: throw new Exception("unknown exception");
|
default: throw new Exception("unknown exception");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user