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

public static class LXUtils.LookupTable extends Object
  • Field Details

    • tableSize

      protected final int tableSize
    • values

      protected float[] values
  • Constructor Details

  • 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)