triangle.c

This commit is contained in:
Milang 2019-10-25 20:42:58 +02:00
parent 54a31fdbca
commit c806ee9c07
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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