| 1 | package net.optifine.expr; |
| 2 | |
| 3 | public class FunctionFloatArray implements IExpressionFloatArray |
| 4 | { |
| 5 | private FunctionType type; |
| 6 | private IExpression[] arguments; |
| 7 | |
| 8 | public FunctionFloatArray(FunctionType type, IExpression[] arguments) |
| 9 | { |
| 10 | this.type = type; |
| 11 | this.arguments = arguments; |
| 12 | } |
| 13 | |
| 14 | public float[] eval() |
| 15 | { |
| 16 | return this.type.evalFloatArray(this.arguments); |
| 17 | } |
| 18 | |
| 19 | public ExpressionType getExpressionType() |
| 20 | { |
| 21 | return ExpressionType.FLOAT_ARRAY; |
| 22 | } |
| 23 | |
| 24 | public String toString() |
| 25 | { |
| 26 | return "" + this.type + "()"; |
| 27 | } |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected