org.gljava.opengl.model
public class Vector extends Object
Version: $Id: Vector.java,v 1.1 2005/02/10 04:18:42 ivan_ganza Exp $
| Field Summary | |
|---|---|
| float | x |
| float | y |
| float | z |
| Constructor Summary | |
|---|---|
| Vector(float x, float y, float z) | |
| Method Summary | |
|---|---|
| float | getX()
Gets the value of x
|
| float | getY()
Gets the value of y
|
| float | getZ()
Gets the value of z
|
| float | norm() |
| void | normalize() |
| void | setX(float argX)
Sets the value of x
|
| void | setY(float argY)
Sets the value of y
|
| void | setZ(float argZ)
Sets the value of z
|
Returns: the value of x
Returns: the value of y
Returns: the value of z
Parameters: argX Value to assign to this.x
Parameters: argY Value to assign to this.y
Parameters: argZ Value to assign to this.z