CubeTwister 2.0alpha141 2011-10-13

idx3d
Class idx3d_Light

java.lang.Object
  extended by idx3d.idx3d_CoreObject
      extended by idx3d.idx3d_Light

public class idx3d_Light
extends idx3d_CoreObject


Field Summary
 int diffuse
           
 int highlightSheen
           
 int highlightSpread
           
 int specular
           
 idx3d_Vector v
           
 idx3d_Vector v2
           
 
Fields inherited from class idx3d.idx3d_CoreObject
matrix, normalmatrix
 
Constructor Summary
idx3d_Light(idx3d_Vector direction)
           
idx3d_Light(idx3d_Vector direction, int diffuse)
           
idx3d_Light(idx3d_Vector direction, int color, int highlightSheen, int highlightSpread)
           
idx3d_Light(idx3d_Vector direction, int diffuse, int specular, int highlightSheen, int highlightSpread)
           
 
Method Summary
 void project(idx3d_Matrix m)
           
 
Methods inherited from class idx3d.idx3d_CoreObject
getPos, resetTransform, rotate, rotate, rotateSelf, rotateSelf, scale, scale, scaleSelf, scaleSelf, setPos, setPos, setTransform, shift, shift, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

v

public idx3d_Vector v

v2

public idx3d_Vector v2

diffuse

public int diffuse

specular

public int specular

highlightSheen

public int highlightSheen

highlightSpread

public int highlightSpread
Constructor Detail

idx3d_Light

public idx3d_Light(idx3d_Vector direction)

idx3d_Light

public idx3d_Light(idx3d_Vector direction,
                   int diffuse)

idx3d_Light

public idx3d_Light(idx3d_Vector direction,
                   int color,
                   int highlightSheen,
                   int highlightSpread)

idx3d_Light

public idx3d_Light(idx3d_Vector direction,
                   int diffuse,
                   int specular,
                   int highlightSheen,
                   int highlightSpread)
Method Detail

project

public void project(idx3d_Matrix m)

(c) Werner Randelshofer.
All rights reserved.