package pipeline.triangle;

import javax.vecmath.Color3f;
import javax.vecmath.Vector2f;
import javax.vecmath.Vector3f;

import pipeline.misc.Vertex;



/**
 * This is the same triangle processor as FlatShadedTP, but allows for
 * for texturing in the fragment stage by interpolating texture coordinates.
 * @author ags
 */
public class TexturedTP extends ConstColorTP {
    
    /**
     * @see TriangleProcessor#nAttr()
     */
    public int nAttr() {
        return 0;
    }
    
    /**
     * @see TriangleProcessor#triangle(Vector3f[], Color3f[], Vector3f[], Vector2f[], Vertex[])
     */
    public void triangle(Vector3f[] v, Color3f[] c, Vector3f[] n, Vector2f[] t, Vertex[] output) {
    }

}