Package heronarts.lx.utils
Class LXUtils.LookupTable
java.lang.Object
heronarts.lx.utils.LXUtils.LookupTable
- Direct Known Subclasses:
LXUtils.LookupTable.Cos
,LXUtils.LookupTable.Sin
,LXUtils.LookupTable.Tan
- Enclosing class:
- LXUtils
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
tableSize
protected final int tableSize -
values
protected float[] values
-
-
Constructor Details
-
LookupTable
-
-
Method Details
-
get
public float get(float basis) Looks up the value in the table- Parameters:
basis
- Basis- Returns:
- value nearest to the basis
-
get
public float get(double basis)
-