All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.vecmath.Color3f

java.lang.Object
   |
   +----java.vecmath.Tuple3f
           |
           +----java.vecmath.Color3f

public class Color3f
extends Tuple3f
A 3 element vector that is represented by single precision floating point x,y,z coordinates.


Constructor Index

 o Color3f()
Constructs and initializes a Vec3f to (0,0,0).
 o Color3f(Color3f)
Constructs and initializes a Vec3f from the specified Vec3f.
 o Color3f(float, float, float)
Constructs and initializes a Vec3f from the specified xyz coordinates.
 o Color3f(float[])
Constructs and initializes a Vec3f from the array of length 3.

Constructors

 o Color3f
 public Color3f(float x,
                float y,
                float z)
Constructs and initializes a Vec3f from the specified xyz coordinates.

Parameters:
x - the x coordinate
y - the y coordinate
z - the z coordinate
Returns:
a new Vec3f
 o Color3f
 public Color3f(float v[])
Constructs and initializes a Vec3f from the array of length 3.

Parameters:
v - the array of length 3 containing xyz in order
Returns:
a new Vec3f
 o Color3f
 public Color3f(Color3f v1)
Constructs and initializes a Vec3f from the specified Vec3f.

Parameters:
v1 - the Vec3f containing the initialization x y z data
Returns:
a new Vec3f
 o Color3f
 public Color3f()
Constructs and initializes a Vec3f to (0,0,0).

Returns:
a new Vec3f

All Packages  Class Hierarchy  This Package  Previous  Next  Index