Squeak Class Documentation category index | class index  
 
B3DExponentTable
  category: Balloon3D-Lights
  superclass: B3DFloatArray
  subclasses:

I represent a lookup table for several exponents during lighting. Values are computed based on linear interpolation between the stored elements. New tables are created by providing a one argument initialization block from which I am created.

instance methods
  accessing
  valueAt:

  initialize
  initializeFrom:

class methods
  class initialization
  initialize

  instance creation
  new
numElements
using:

instance methods
  accessing top  
 

valueAt:

Return the table approximation for the given float value


  initialize top  
 

initializeFrom:


class methods
  class initialization top  
 

initialize

B3DExponentTable initialize


  instance creation top  
 

new

Answer a new instance of me, with size = 0.


 

numElements


 

using:

Create a new exponent table using aBlock as initialization