package pipeline.triangle;

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

import pipeline.misc.Vertex;



/**
 * Shades each face of the triangle using a constant color. Better than constant
 * shading, but not as good as it could be.
 * @author ags
 */
public class FlatShadedTP extends ShadedTP {
    
    /**
     * @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) {
    }
    
}