opengl.geometry
Class Vec4

java.lang.Object
  extended by opengl.geometry.Vec3
      extended by opengl.geometry.Vec4

public class Vec4
extends Vec3


Constructor Summary
Vec4()
           
Vec4(float x, float y, float z, float w)
           
 
Method Summary
 float getW()
           
 void setAlpha(float w)
           
 
Methods inherited from class opengl.geometry.Vec3
add, addVec3, distance, get, getX, getY, getZ, length, minus, multiply, multiply, norm, normalize, randVec3, setX, setY, setZ, sqLength, subtract, subtract, toArray, toIntArray
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vec4

public Vec4()

Vec4

public Vec4(float x,
            float y,
            float z,
            float w)
Method Detail

getW

public float getW()

setAlpha

public void setAlpha(float w)