core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

s_triangle.h File Reference

#include "swrast.h"

Functions

GLboolean _swrast_culltriangle (GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2)
 Test if a triangle should be culled.
void _swrast_choose_triangle (GLcontext *ctx)
void _swrast_add_spec_terms_triangle (GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2)


Function Documentation

void _swrast_add_spec_terms_triangle ( GLcontext ctx,
const SWvertex v0,
const SWvertex v1,
const SWvertex v2 
)

void _swrast_choose_triangle ( GLcontext ctx  ) 

GLboolean _swrast_culltriangle ( GLcontext ctx,
const SWvertex v0,
const SWvertex v1,
const SWvertex v2 
)

Test if a triangle should be culled.

Used for feedback and selection mode.

Returns:
GL_TRUE if the triangle is to be culled, GL_FALSE otherwise.


Generated on Sun Sep 27 06:48:05 2009 for Mesa Software Rasterization (swrast) by  doxygen 1.5.4