com.jhlabs.vecmath

Class Color4f


public class Color4f
extends Tuple4f

Vector math package, converted to look similar to javax.vecmath.

Field Summary

Fields inherited from class com.jhlabs.vecmath.Tuple4f

w, x, y, z

Constructor Summary

Color4f()
Color4f(Color c)
Color4f(Color4f t)
Color4f(Tuple4f t)
Color4f(float x, float y, float z, float w)
Color4f(float[] x)

Method Summary

Color
get()
void
set(Color c)

Methods inherited from class com.jhlabs.vecmath.Tuple4f

absolute, absolute, add, add, clamp, get, get, interpolate, negate, negate, scale, set, set, set, sub, sub, toString

Constructor Details

Color4f

public Color4f()

Color4f

public Color4f(Color c)

Color4f

public Color4f(Color4f t)

Color4f

public Color4f(Tuple4f t)

Color4f

public Color4f(float x,
               float y,
               float z,
               float w)

Color4f

public Color4f(float[] x)

Method Details

get

public Color get()

set

public void set(Color c)