org.jagatoo.loaders.models.cal3d.core
Class CalCoreSubMorphTarget

java.lang.Object
  extended by org.jagatoo.loaders.models.cal3d.core.CalCoreSubMorphTarget

public class CalCoreSubMorphTarget
extends java.lang.Object

This class just holds morph data for a submesh morph target.


Constructor Summary
CalCoreSubMorphTarget()
           
CalCoreSubMorphTarget(int count)
          Creates a new instance of CalCoreSubMorphTarget.
 
Method Summary
 int getBlendVertexCount()
           
 void getBlendVertexNormal(int vertexId, org.openmali.vecmath2.Vector3f x)
           
 void getBlendVertexPosition(int vertexId, org.openmali.vecmath2.Vector3f x)
           
 void reserve(int count)
           
 void setBlendVertex(int vertexId, org.openmali.vecmath2.Vector3f vertexPosition, org.openmali.vecmath2.Vector3f vertexNormal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalCoreSubMorphTarget

public CalCoreSubMorphTarget()

CalCoreSubMorphTarget

public CalCoreSubMorphTarget(int count)
Creates a new instance of CalCoreSubMorphTarget.

Parameters:
count - the number of vertices for this target.
Method Detail

reserve

public void reserve(int count)

getBlendVertexCount

public int getBlendVertexCount()

setBlendVertex

public void setBlendVertex(int vertexId,
                           org.openmali.vecmath2.Vector3f vertexPosition,
                           org.openmali.vecmath2.Vector3f vertexNormal)

getBlendVertexPosition

public void getBlendVertexPosition(int vertexId,
                                   org.openmali.vecmath2.Vector3f x)

getBlendVertexNormal

public void getBlendVertexNormal(int vertexId,
                                 org.openmali.vecmath2.Vector3f x)