Bouncy Castle Rendering Toolkit 1.0

org.bouncycastle.graphics.rt.mappers
Class SphericalMap

java.lang.Object
  |
  +--org.bouncycastle.graphics.rt.mappers.SphericalMap
All Implemented Interfaces:
TextureMapper

public class SphericalMap
extends java.lang.Object
implements TextureMapper


Field Summary
static TextureMapper canonicalMap
           
 
Fields inherited from interface org.bouncycastle.graphics.rt.TextureMapper
S, T
 
Constructor Summary
SphericalMap()
           
 
Method Summary
 boolean getST(Tuple3f l, float[] st)
          return the (s, t) values for the inverse mapping of a canonical sphere given the point on the spheres surface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

canonicalMap

public static TextureMapper canonicalMap
Constructor Detail

SphericalMap

public SphericalMap()
Method Detail

getST

public boolean getST(Tuple3f l,
                     float[] st)
return the (s, t) values for the inverse mapping of a canonical sphere given the point on the spheres surface.
Specified by:
getST in interface TextureMapper

Bouncy Castle Rendering Toolkit 1.0