package pipeline.triangle;

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

import pipeline.misc.Vertex;



/**
 * This triangle processor smoothly interpolates the color across the face of
 * the triangle. This is better than flat shading, but still not as nice as
 * fragment (aka phong) shading.
 * @author ags
 */
public class SmoothShadedTP 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) {
    }
    
}