md3.md3model
Class MD3Tag

java.lang.Object
  |
  +--md3.md3model.MD3Tag

public class MD3Tag
extends java.lang.Object
implements java.io.Serializable

The MD3Tag class represents a so called 'tag', as they are found in the MD3 model files. Tags can be seen as references to other attached models, i.e. the weapon a player holds.

Author:
Erwin Vervaet (erwin@cs.kuleuven.ac.be)
See Also:
Serialized Form

Field Summary
 float[][] matrix
          3x3 rotation matrix.
 java.lang.String name
          Name of 'tag' as it's usually called in the md3 files.
 Vec3 position
          Position of tag relative to the model that contains the tag.
 
Constructor Summary
protected MD3Tag()
          Constructor that creates a new empty tag object.
protected MD3Tag(java.io.DataInput din)
          Constructor that creates a new tag object and initializes it with the data coming from the input stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

Name of 'tag' as it's usually called in the md3 files. Try to see it as a sub-mesh/seperate mesh-part.


position

public Vec3 position

Position of tag relative to the model that contains the tag.


matrix

public float[][] matrix

3x3 rotation matrix.

Constructor Detail

MD3Tag

protected MD3Tag(java.io.DataInput din)
          throws java.io.IOException

Constructor that creates a new tag object and initializes it with the data coming from the input stream.


MD3Tag

protected MD3Tag()

Constructor that creates a new empty tag object.