org.jagatoo.loaders.models.bsp.lumps
Class BSPVertex

java.lang.Object
  extended by org.jagatoo.loaders.models.bsp.lumps.BSPVertex

public class BSPVertex
extends java.lang.Object

Represents a single BSP vertex


Field Summary
 org.openmali.vecmath2.Colorf color
           
 org.openmali.vecmath2.TexCoord2f lightTexCoord
           
 org.openmali.vecmath2.Vector3f normal
           
 org.openmali.vecmath2.Point3f position
           
 org.openmali.vecmath2.TexCoord2f texCoord
           
 
Constructor Summary
BSPVertex()
           
 
Method Summary
 void add(BSPVertex v)
           
 void avg(BSPVertex a, BSPVertex b)
           
 BSPVertex copy()
           
 void scale(float scale)
           
 void set(BSPVertex a)
           
 void swizzle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

public org.openmali.vecmath2.Point3f position

texCoord

public org.openmali.vecmath2.TexCoord2f texCoord

lightTexCoord

public org.openmali.vecmath2.TexCoord2f lightTexCoord

normal

public org.openmali.vecmath2.Vector3f normal

color

public org.openmali.vecmath2.Colorf color
Constructor Detail

BSPVertex

public BSPVertex()
Method Detail

swizzle

public void swizzle()

scale

public void scale(float scale)

add

public void add(BSPVertex v)

set

public void set(BSPVertex a)

avg

public void avg(BSPVertex a,
                BSPVertex b)

copy

public BSPVertex copy()