org.stellarium.ui.render
Class SColor

java.lang.Object
  extended by javax.vecmath.Tuple4f
      extended by org.stellarium.ui.render.SColor
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class SColor
extends javax.vecmath.Tuple4f

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.vecmath.Tuple4f
w, x, y, z
 
Constructor Summary
SColor(float[] floats)
           
SColor(float v, float v1, float v2)
           
SColor(float v, float v1, float v2, float v3)
           
SColor(javax.vecmath.Tuple4f t1)
           
 
Method Summary
 SColor div(int d)
           
 SColor mul(float m)
           
 float[] toFloats()
           
 javax.vecmath.Vector3d toVector3d()
           
 
Methods inherited from class javax.vecmath.Tuple4f
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, clone, epsilonEquals, equals, equals, get, get, getW, getX, getY, getZ, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, setW, setX, setY, setZ, sub, sub, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SColor

public SColor(float v,
              float v1,
              float v2,
              float v3)

SColor

public SColor(float v,
              float v1,
              float v2)

SColor

public SColor(float[] floats)

SColor

public SColor(javax.vecmath.Tuple4f t1)
Method Detail

mul

public SColor mul(float m)

div

public SColor div(int d)

toFloats

public float[] toFloats()

toVector3d

public javax.vecmath.Vector3d toVector3d()