triangle.c
This commit is contained in:
parent
54a31fdbca
commit
c806ee9c07
|
@ -17,12 +17,12 @@
|
|||
/* render_triangle()
|
||||
renders a face supporting backface culling, or dual textures */
|
||||
int render_triangle(fe_point const s1, fe_point const s2, fe_point const s3,
|
||||
fe_bitmap const * side_0, fe_bitmap const * side_1, bool const texture_half);
|
||||
fe_bitmap const * side_0, fe_bitmap const * side_1, bool texture_half);
|
||||
|
||||
/* render_triangle_nobfc()
|
||||
renders a face without backface culling */
|
||||
int render_triangle_nobfc(fe_point const s1, fe_point const s2, fe_point const s3,
|
||||
fe_bitmap const * side, bool const texture_half);
|
||||
fe_bitmap const * side, bool texture_half);
|
||||
|
||||
// Object overlay
|
||||
#include <render/triangle.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <gint/display.h>
|
||||
|
||||
|
||||
void render_triangle(fe_point const s1, fe_point const s2, fe_point const s3,
|
||||
int render_triangle(fe_point const s1, fe_point const s2, fe_point const s3,
|
||||
fe_bitmap const * side_0, fe_bitmap const * side_1, bool texture_half)
|
||||
{
|
||||
// Backface culling
|
||||
|
|
Loading…
Reference in New Issue