FxEngine  0.0.1
3d engine for fx9860G calculators
triangle.h
Go to the documentation of this file.
1 #ifndef RENDER_TRIANGLE_H
2 #define RENDER_TRIANGLE_H
3 
4 #include <render/translate.h>
5 #include <stdbool.h>
6 
10 #define MINIMUM_FRAME_DELAY 3333
11 
20 {
24 
25  render_rich_bitmap * texture;
26 
27  bool part;
28  bool clockwised;
29 }
30 
37 
38 
47 void render_update(const uint32_t libprof_channel, const double dh, const double dv, const double roulis,
49 
50 #endif
struct render_triangle const double const double const double roulis
Definition: triangle.h:47
struct render_triangle const double dh
Definition: triangle.h:47
render_integer_position * s1
Definition: triangle.h:21
struct render_triangle const double const double const double const render_integer_position * camera
Definition: triangle.h:47
render_integer_position * s2
Definition: triangle.h:22
render_rich_bitmap * texture
Definition: triangle.h:25
Triangle struct used to render fonctions.
Definition: triangle.h:19
render_integer_position * s3
Definition: triangle.h:23
bool clockwised
Definition: triangle.h:28
struct render_triangle render_display_triangle(const render_triangle *face) void render_update(const uint32_t libprof_channel
Renders a triangle with perspective deformation.
this struct is a point in 3d, which has coords save as uint32_t this is the recommended type for high...
Definition: translate.h:11
struct render_triangle const double const double dv
Definition: triangle.h:47