This commit is contained in:
Milang 2019-10-26 14:25:52 +02:00
parent 05b98c77e3
commit e882cfbfee
2 changed files with 5 additions and 4 deletions

View File

@ -28,8 +28,5 @@ int render_triangle_nobfc(fe_vertex const s1, fe_vertex const s2, fe_vertex cons
#include <render/triangle.h>
#include <fxengine/model/triangle.h>
void fe_display_triangle(const fe_triangle * face)
{
render_triangle(face->s1->translated, face->s2->translated, face->s3->translated, face->texture1, face->texture2, face->texture_half);
}
void fe_display_triangle(const fe_triangle * face);
#endif

View File

@ -6,6 +6,10 @@
#include <stdbool.h>
#include <gint/display.h>
void fe_display_triangle(const fe_triangle * face);
{
render_triangle(*face->s1, *face->s2, *face->s3, face->texture1, face->texture2, face->texture_half);
}
int render_triangle(fe_vertex const s1, fe_vertex const s2, fe_vertex const s3,
fe_bitmap const * side_0, fe_bitmap const * side_1, bool texture_half)