148 lines
3.3 KiB
Groff
148 lines
3.3 KiB
Groff
.TH "include/render/triangle.h" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
include/render/triangle.h
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
\fC#include <render/translate\&.h>\fP
|
|
.br
|
|
\fC#include <stdbool\&.h>\fP
|
|
.br
|
|
|
|
.SS "Data Structures"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "struct \fBrender_triangle\fP"
|
|
.br
|
|
.RI "Triangle struct used to render fonctions\&. "
|
|
.in -1c
|
|
.SS "Macros"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "#define \fBMINIMUM_FRAME_DELAY\fP 3333"
|
|
.br
|
|
.RI "Regulates the maximum fps count to 30 fps\&. "
|
|
.in -1c
|
|
.SS "Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "struct \fBrender_triangle\fP \fBrender_display_triangle\fP (const \fBrender_triangle\fP *face) void render_update(const uint32_t libprof_channel"
|
|
.br
|
|
.RI "Renders a triangle with perspective deformation\&. "
|
|
.in -1c
|
|
.SS "Variables"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "\fBrender_integer_position\fP * \fBs1\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "\fBrender_integer_position\fP * \fBs2\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "\fBrender_integer_position\fP * \fBs3\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "render_rich_bitmap * \fBtexture\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "bool \fBpart\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "bool \fBclockwised\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "struct \fBrender_triangle\fP const double \fBdh\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "struct \fBrender_triangle\fP const double const double \fBdv\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "struct \fBrender_triangle\fP const double const double const double \fBroulis\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "struct \fBrender_triangle\fP const double const double const double const \fBrender_integer_position\fP * \fBcamera\fP"
|
|
.br
|
|
.in -1c
|
|
.SH "Macro Definition Documentation"
|
|
.PP
|
|
.SS "#define MINIMUM_FRAME_DELAY 3333"
|
|
|
|
.PP
|
|
Regulates the maximum fps count to 30 fps\&.
|
|
.PP
|
|
Definition at line 10 of file triangle\&.h\&.
|
|
.SH "Function Documentation"
|
|
.PP
|
|
.SS "struct \fBrender_triangle\fP render_display_triangle (const \fBrender_triangle\fP * face) const"
|
|
|
|
.PP
|
|
Renders a triangle with perspective deformation\&.
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIface\fP pointer to the face to drawClears vram, zbuffer, and prepares rotation matrices with render_set
|
|
.br
|
|
\fIlibprof_channel\fP The libprof channel to be used to count_fps
|
|
.br
|
|
\fIdh\fP Horizontal direction (rad)
|
|
.br
|
|
\fIdv\fP Vertical direction (rad)
|
|
.br
|
|
\fIroulis\fP The roulis (rad)
|
|
.br
|
|
\fIcamera\fP Pointer to the camera
|
|
.RE
|
|
.PP
|
|
|
|
.SH "Variable Documentation"
|
|
.PP
|
|
.SS "struct \fBrender_triangle\fP const double const double const double const \fBrender_integer_position\fP* camera"
|
|
|
|
.PP
|
|
Definition at line 47 of file triangle\&.h\&.
|
|
.SS "bool clockwised"
|
|
|
|
.PP
|
|
Definition at line 47 of file triangle\&.h\&.
|
|
.SS "struct \fBrender_triangle\fP const double dh"
|
|
|
|
.PP
|
|
Definition at line 47 of file triangle\&.h\&.
|
|
.SS "struct \fBrender_triangle\fP const double const double dv"
|
|
|
|
.PP
|
|
Definition at line 47 of file triangle\&.h\&.
|
|
.SS "bool part"
|
|
|
|
.PP
|
|
Definition at line 46 of file triangle\&.h\&.
|
|
.SS "struct \fBrender_triangle\fP const double const double const double roulis"
|
|
|
|
.PP
|
|
Definition at line 47 of file triangle\&.h\&.
|
|
.SS "\fBrender_integer_position\fP* s1"
|
|
|
|
.PP
|
|
Definition at line 40 of file triangle\&.h\&.
|
|
.SS "\fBrender_integer_position\fP* s2"
|
|
|
|
.PP
|
|
Definition at line 41 of file triangle\&.h\&.
|
|
.SS "\fBrender_integer_position\fP* s3"
|
|
|
|
.PP
|
|
Definition at line 42 of file triangle\&.h\&.
|
|
.SS "render_rich_bitmap* texture"
|
|
|
|
.PP
|
|
Definition at line 44 of file triangle\&.h\&.
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for FxEngine from the source code\&.
|