From 8dc08f4141d65ef25b58be1ab42e14e070c9139a Mon Sep 17 00:00:00 2001 From: milang Date: Sat, 31 Aug 2019 13:58:33 +0200 Subject: [PATCH] add easy to use texture deformation add some bitmap corrections correct makefile --- Doxyfile | 8 +- Makefile | 33 +- doc/html/annotated.html | 45 +-- doc/html/bc_s.png | Bin 676 -> 674 bytes doc/html/bdwn.png | Bin 147 -> 142 bytes doc/html/bitmap_8h.html | 44 +-- doc/html/bitmap_8h_source.html | 44 +-- doc/html/classes.html | 52 +-- doc/html/closed.png | Bin 132 -> 129 bytes .../dir_6f3b2b0c21cca25b28b3bb6241d8a0d3.html | 44 +-- .../dir_ada157988d47c0ed8971be2c0e2fe61c.html | 44 +-- .../dir_d44c64559bbebec7f509842c48db8b23.html | 44 +-- doc/html/doc.png | Bin 746 -> 821 bytes doc/html/doxygen.css | 168 +++++----- doc/html/doxygen.png | Bin 3779 -> 3870 bytes doc/html/files.html | 37 +-- doc/html/folderclosed.png | Bin 616 -> 617 bytes doc/html/folderopen.png | Bin 597 -> 605 bytes doc/html/functions.html | 68 ++-- doc/html/functions_vars.html | 68 ++-- doc/html/globals.html | 129 +++++--- doc/html/globals_defs.html | 40 +-- doc/html/globals_func.html | 44 +-- doc/html/globals_type.html | 49 +-- doc/html/globals_vars.html | 67 ++-- doc/html/index.html | 37 +-- doc/html/keyboard_8h.html | 44 +-- doc/html/keyboard_8h_source.html | 44 +-- doc/html/menudata.js | 11 +- doc/html/nav_f.png | Bin 153 -> 150 bytes doc/html/nav_h.png | Bin 98 -> 97 bytes doc/html/open.png | Bin 123 -> 119 bytes doc/html/parameters_8h.html | 44 +-- doc/html/parameters_8h_source.html | 44 +-- doc/html/search/all_1.js | 2 + doc/html/search/all_2.js | 2 + doc/html/search/all_4.js | 4 +- doc/html/search/all_5.js | 2 +- doc/html/search/all_6.js | 3 +- doc/html/search/all_7.js | 6 +- doc/html/search/all_8.js | 21 +- doc/html/search/all_9.js | 19 +- doc/html/search/all_a.js | 11 +- doc/html/search/all_b.js | 4 +- doc/html/search/all_c.js | 2 +- doc/html/search/all_d.js | 3 +- doc/html/search/classes_1.js | 7 +- doc/html/search/defines_0.js | 7 +- doc/html/search/functions_4.js | 5 +- doc/html/search/search.css | 14 +- doc/html/search/searchdata.js | 8 +- doc/html/search/typedefs_2.js | 6 +- doc/html/search/variables_0.js | 2 + doc/html/search/variables_1.js | 2 + doc/html/search/variables_3.js | 1 + doc/html/search/variables_4.js | 3 +- doc/html/search/variables_5.js | 6 +- doc/html/search/variables_6.js | 3 +- doc/html/search/variables_7.js | 2 +- doc/html/search/variables_8.js | 2 +- doc/html/search/variables_9.js | 2 +- doc/html/splitbar.png | Bin 314 -> 308 bytes doc/html/structbitmap__rich.html | 40 +-- doc/html/structrender__triangle.html | 147 +++++---- doc/html/sync_off.png | Bin 853 -> 864 bytes doc/html/sync_on.png | Bin 845 -> 858 bytes doc/html/tab_a.png | Bin 142 -> 132 bytes doc/html/tab_b.png | Bin 169 -> 170 bytes doc/html/tab_h.png | Bin 177 -> 169 bytes doc/html/tab_s.png | Bin 184 -> 176 bytes doc/html/translate_8h.html | 112 +++---- doc/html/translate_8h_source.html | 76 ++--- doc/html/triangle_8h.html | 302 +++++++++++++++--- doc/html/triangle_8h_source.html | 64 ++-- doc/html/zbuffer_8h.html | 44 +-- doc/html/zbuffer_8h_source.html | 44 +-- .../man3/_home_milan_dev_fxengine_include_.3 | 2 +- .../_home_milan_dev_fxengine_include_event_.3 | 2 +- ..._home_milan_dev_fxengine_include_render_.3 | 2 +- doc/man/man3/bitmap.h.3 | 2 +- doc/man/man3/bitmap_rich.3 | 2 +- doc/man/man3/keyboard.h.3 | 2 +- doc/man/man3/parameters.h.3 | 2 +- doc/man/man3/render_triangle.3 | 63 +++- doc/man/man3/translate.h.3 | 32 +- doc/man/man3/triangle.h.3 | 130 +++++++- doc/man/man3/zbuffer.h.3 | 2 +- include/render/bitmap.h | 8 +- include/render/translate.h | 22 +- libfxengine.a | Bin 8 -> 10040 bytes src/render/bitmap.c | 7 +- src/render/translate.c | 12 +- src/render/zbuffer.c | 11 +- 93 files changed, 1229 insertions(+), 1302 deletions(-) diff --git a/Doxyfile b/Doxyfile index 52a9dd7..56dac01 100644 --- a/Doxyfile +++ b/Doxyfile @@ -1218,7 +1218,7 @@ HTML_EXTRA_FILES = # Minimum value: 0, maximum value: 359, default value: 220. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_COLORSTYLE_HUE = 220 +HTML_COLORSTYLE_HUE = 200 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors # in the HTML output. For a value of 0 the output will use grayscales only. A @@ -1226,7 +1226,7 @@ HTML_COLORSTYLE_HUE = 220 # Minimum value: 0, maximum value: 255, default value: 100. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_COLORSTYLE_SAT = 100 +HTML_COLORSTYLE_SAT = 16 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the # luminance component of the colors in the HTML output. Values below 100 @@ -1237,7 +1237,7 @@ HTML_COLORSTYLE_SAT = 100 # Minimum value: 40, maximum value: 240, default value: 80. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_COLORSTYLE_GAMMA = 80 +HTML_COLORSTYLE_GAMMA = 115 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML # page will contain the date and time when the page was generated. Setting this @@ -1494,7 +1494,7 @@ DISABLE_INDEX = NO # The default value is: NO. # This tag requires that the tag GENERATE_HTML is set to YES. -GENERATE_TREEVIEW = YES +GENERATE_TREEVIEW = NO # The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that # doxygen will group on one line in the generated HTML documentation. diff --git a/Makefile b/Makefile index 3c9badf..a2cbdd7 100644 --- a/Makefile +++ b/Makefile @@ -1,55 +1,46 @@ # fxengine makefile # fxengine needs gint (@Lephenixnoir) -cflags := -m3 -mb -D FX9860G -ffreestanding -nostdlib -fstrict-volatile-bitfields -Wall \ - -Wextra -Os -Iinclude -I . +target ?= sh3eb-elf -dflags = -MT $@ -MMD -MP -MF $(@:%.o=%.d) +cflags := -m3 -mb -D FX9860G -ffreestanding -nostdlib -fstrict-volatile-bitfields -Wall \ + -Wextra -Os -Iinclude -I . lib := libfxengine.a header := include/ -prefix := $(shell sh3eb-elf-gcc -print-search-dirs | grep install \ - | sed 's/install: //') +prefix := $(shell $(target)-gcc -print-search-dirs | grep install \ + | sed 's/install: //') ifeq "$(prefix)" "" -$(error "Can't find install directory... Leaving installation process") +$(error "Can't find install directory") endif -#src := $(shell find src -name '*.c') -src = $(wildcard src/*.c) +src := $(shell find src -name '*.c') + +obj := $(src:%=build/%.o) -obj = $(src:%=build/%.o) all: $(lib) $(lib): $(obj) - sh3eb-elf-ar rcs $@ $^ + $(target)-ar rcs $@ $^ build/%.c.o: %.c @ mkdir -p $(dir $@) - sh3eb-elf-gcc -c $< -o $@ $(cflags) $(dflags) + $(target)-gcc -c $< -o $@ $(cflags) -include $(wildcard build/*/*.d) - -clean: +clear: @ rm -rf build @ rm -f $(lib) %/: mkdir -p $@ -reinstall: - @ make clean - @ make - @ make install install: sh3eb-elf-ar -t $(lib) cp $(lib) $(prefix) cp -r $(header) $(prefix)/include/fxengine -uninstall: - rm -f $(prefix)/$(lib) - rm -rf $(prefix)/include/fxengine diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 385d6b3..e925380 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */ -
- -
-
-
- -
Here are the data structures with brief descriptions:
- - - - + + + +
 Cbitmap_richBitmap rich type transparency is in the layout
 CFE_floating_positionThis struct is a point in 3d, which has coords save as double it is not recommended to use it for high performances rendering, because of the sh3eb-elf architecture, which does not support natively floating calculation
 CFE_integer_pointThis is a point which is used for 3d translations and rendering integer mode is the best solution to increase perfs, and that's why I didn't have implemented te floating_points yet
 CFE_integer_positionThis struct is a point in 3d, which has coords save as uint32_t this is the recommended type for high performance rendering, because the sh3eb-elf architecture is 32 bits
 Crender_triangle
 Crender_floating_positionThis struct is a point in 3d, which has coords save as double it is not recommended to use it for high performances rendering, because of the sh3eb-elf architecture, which does not support natively floating calculation
 Crender_integer_pointThis is a point which is used for 3d translations and rendering integer mode is the best solution to increase perfs, and that's why I didn't have implemented te floating_points yet
 Crender_integer_positionThis struct is a point in 3d, which has coords save as uint32_t this is the recommended type for high performance rendering, because the sh3eb-elf architecture is 32 bits
 Crender_triangleTriangle struct used to render fonctions
- - + diff --git a/doc/html/bc_s.png b/doc/html/bc_s.png index 224b29aa9847d5a4b3902efd602b7ddf7d33e6c2..3c76bc2c3db06af5229c5e7addfe02dd2ed2bce0 100644 GIT binary patch delta 650 zcmV;50(JeQ1)>FzB!6j1L_t(|0qvd3PZLoT#?PIZwlkBKnE^_NKBjLVEYzrgi3So) zbY)yYR1yuyL##YRC@H9@RD!4r5)+p!2+^&sT$vaRvNI7ag}$aB3xm+G!k8GnGqFu? z!@qFz-F)Zf{3dhfB9=AKO2d0Dus> zH}kBKWlgVxUhi*w_N}bO{}8~P=_i^m)%bmq$!HwIz?))#`R^~bcXq;dS-y#D0zeaw zW;Hh=gf{Ae0h*$ymT&R3SOFN1KF-%syKFlriQ+N_`U^m0Y9?PhXqsNF4fy}!T8XW# z@99AJ!F2H}Uw?UA&LGe8^B8!p10$2sVxWcRxJ8fR+>fm#f(HTG`W*0j$_xf3w7Q;r zi*Db22mpk7L_xSA+pO96dh!CgHE|yR2yysRxBOlYHtIMU8lMCJDBZI*TUCo-vAjq9 z;RyhM(tVycn+KfL@+RGMvKauNbVsb#N;ktWA5dr{0)GI61a0hozfaEy>Kh&d078SJ zBz07jONmq}-HLjLMgf4(7saiZ4GhzTfp@5TV7Rz>iex%pf!_emdhXJ|0rEXRXMy4@bFuFYi9dVuL84NZBVuS^hKCX;Dd&7>C!dAQOW z%GYtHOMl^TCfc)V=3^oDhmJL9ei}d7YPMMRaWhP0vc2oN=8IJ}xt3+wg^jE_M*x>Q zd#w~rB^@qBJ9{@(b(a7xb##vkqSR&)gsq>1)Qzt{4D1zwZ(S@W4 z67LKq-BiGOX{bs%684A^L3@%PlP z2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~ z3P5N3-)Y{65c;ywYiAh-1*hZcToLHKtpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~f zBz8?J>XHsbZhyQfee(V~r&w>|4TCd^+OGpAufHw@f@Z-m>~)Gc@=X0|fMy>yxFxFr zGe>5W)Fae$Z5#k79V{35!)q$alCw&x1%J2>`HiT_q(4 zZ5D1EbzOQ60I+g3Tg}F>tJ?CF0RUKKwUUNO`8>$z(0|2e06obBnFFXYR zO2-_M&`~J~@wtU`8`|IZ1OO;a`&>3N=|g91A^igFJO8*e*=XYNJ@;DcGC8exlHJm@ zw-kt0JIYKLGlOa-H>tO}z4u`uNrnL_>+2*f_Qw{}`T(<=8;dt|NmjmA;PKS_VrHl~ z5246|LVrB(tF>uuZvULf6o-TjY~Q2#9Ri2jL<^TA$p|%*ttZAbKkTfs_)P*Hk`tMm z6tKHztb%+s#pe>Wy+=-D(-hEheDsvVCWP!FH!CNz9RNTHHHSyyo*I$I7=_}=tX@0y m - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
- -
-
-
- -
+ +
Data Structures | @@ -348,15 +328,11 @@ Functions
- - + diff --git a/doc/html/bitmap_8h_source.html b/doc/html/bitmap_8h_source.html index 331a122..fbd1e28 100644 --- a/doc/html/bitmap_8h_source.html +++ b/doc/html/bitmap_8h_source.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
- -
-
-
- -
+ +
bitmap.h
@@ -104,15 +84,11 @@ $(document).ready(function(){initNavTree('bitmap_8h_source.html','');});
uint32_t size_o_y
Definition: bitmap.h:13
void bitmap_display_pixel_r(const bitmap_rich *bmp, uint32_t bmp_x, uint32_t bmp_y, uint32_t x, uint32_t y)
display a specific rich bitmap pixel on the screen
- - + diff --git a/doc/html/classes.html b/doc/html/classes.html index 63143d1..7b31275 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */ -
- -
-
-
- -
Data Structure Index
-
b | f | r
+
b | r
- - - - + + +
  b  
-
  f  
-
FE_integer_point   
FE_integer_position   
bitmap_rich   FE_floating_position   
  r  
-
render_triangle   
  r  
+
render_integer_point   render_triangle   
render_integer_position   
bitmap_rich   render_floating_position   
-
b | f | r
+
b | r
- - + diff --git a/doc/html/closed.png b/doc/html/closed.png index 98cc2c909da37a6df914fbf67780eebd99c597f5..9e13a5e3a4dbe8ee18129677c51fedd9464e4eb8 100644 GIT binary patch delta 100 zcmV-q0Gt1W0f7OKBwa{JL_t(|0qxz(2>>AsMbWEG3o^?=uxdp?NP;F6NZ!hmPYD1j z_3r~vl>uxlOn@p0+E@1fb&_px(SadaD_s=cbiflyu-*h - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
- -
-
-
- -
+ +
event Directory Reference
@@ -98,15 +78,11 @@ Files  
- - + diff --git a/doc/html/dir_ada157988d47c0ed8971be2c0e2fe61c.html b/doc/html/dir_ada157988d47c0ed8971be2c0e2fe61c.html index 4df0bae..76e5e76 100644 --- a/doc/html/dir_ada157988d47c0ed8971be2c0e2fe61c.html +++ b/doc/html/dir_ada157988d47c0ed8971be2c0e2fe61c.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
- -
-
-
- -
+ +
render Directory Reference
@@ -106,15 +86,11 @@ Files  
- - + diff --git a/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html b/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html index 73630bd..ff30e2e 100644 --- a/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
- -
-
-
- -
+ +
include Directory Reference
@@ -100,15 +80,11 @@ Directories  
- - + diff --git a/doc/html/doc.png b/doc/html/doc.png index 17edabff95f7b8da13c9516a04efe05493c29501..021d66d249d906f382af86dbca729631939532c5 100644 GIT binary patch delta 798 zcmV+(1L6GY1+@l{B!B!#L_t(|0qvb#OjBnV$A3NNw3L4GQCeC`OIzv^M;u1f@ezs} zF$@QeWI^MF$zsedm)-2TT+a({^ulR#u!mU$fhf)GQ}(`WzhjTktI-Q zec#uQM0(C{3>RLs{iWy4d3&Dc|9_t6?X9g`E(2^C8o*Yv<$nPTfX(Fc_sYffbyio` z)VjD{x~8GoY&h%=5zHmB_Yi3eQuzB3 z(MTgZ+dkxWE`QG-vkxsh#Zt{vhE2Xj5KRQrpT)1?Zm6iW^^v?o71(piJ zp`gn8@xr3A%Oh&BB>b0IheHj70u3^2wO&|SQhT?h5`Ps6OuOi{0%^ze-5KOC_IB-M z>P}8{)+%*1H5fu!I?=-N^A)v!b?s%x0dIXQEmEF~%s=bzqrGiA)xw^EPcnQtJV?*S zyUB=vv1k*1zn5Sjz}i|7paM$;^5ODz?dBvi4`xZmV*E8fuiAC4Fi*!vJMjCwe2`92 z+9**hntuoQ-$|A#WY&ic4$TF*(K0zg*fy5g?S?^fQy8B(61?K@i$^1>K7LVHd77$+2rDTwB!~g&Q delta 722 zcmV;@0xkWu2I>WnB!96= zyQkfG*Iw^h?>SRfxm*S~GZ+A8i8Cj#08Zk=r);^nUt+Itpnvb>`^Hv*+}0kUfCrz~ zBCOViSb$_*&;{TGGn2^x9K*!Sf0=lVpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p z*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T< z5Kt;Y0XLt&<$v@ZA-UZVXL2^nayD;EV(Wqal5hN1yQl}DEES3PO;HW@~%QZH>z|`CtEsY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.html index 2291c84..cf16c5d 100644 --- a/doc/html/files.html +++ b/doc/html/files.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */ -
- -
-
-
- -
- - + diff --git a/doc/html/folderclosed.png b/doc/html/folderclosed.png index bb8ab35edce8e97554e360005ee9fc5bffb36e66..b5461582a715477c0b8b6fb1183b0205ad08a01c 100644 GIT binary patch delta 592 zcmV-W0|M{sArdYqR&z9u zyFO>`J+tFh^L-xx#s(b##)+{DOaQqhs8w*PdTk zqMyHh!|P=xcYjO0Wm(Yqm|~9Oh`8%{a2*$ulUD#hfg(UeEz=AU%XK0Xq?}N$5lGOo zYyeOYnSn>U;-KA%d5_5Vx?&U$W;p6&RZM>N@|EA%sKT+kC6FYt9CAz|!Qbk-j=h6J zymhmyd(fZ?XNPR zr`_)KcXQqek)nMf!vFvUksf>sTy(*2LC%B1!K>ry)D!@Opj;Kp$;9;CT9wt-%dAo^ zvh`Adl}S0)3VBw{=U5?ko0SSVv0hm#@^?yXqf%z|YK0Yf?8fzL??+~EYd-!M0R9#J e|9`Zx3;Y2F4?0{SH>0)y0000gLx@~C z`2)Op(cfU!#Q)%d|G>$3^Wp)bLm(y)J#o;)5RC_;0he}K=bd)8Gi`y8*n@|5o=p2r z=Y8JyecqkDT0sy1KyI)BAW!5@a0&pDc=P^Cu<`L5fOy<$lz*@|bI}5TlOU6ToR41{ z9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6`BLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XU zdOZN~c=dLt_h_k!dbxm_*ibDMlFX`g{k$X}yIe%$N)cn1LNu=q_@#L(Wh4w&_(B<)PCL5V( zK5#hzq>z~bMMci6sLslfBA|7poo)w!BvK+jd$|@om>z}eg(XlYwOPqkRDwBSqkP9DDmN zIB6j6aI@+tK}2^%rUyj?JnF1tMWz-c4M=3l#1;&cjV?Ob3`dSF0{~!*OoIKsC!&eO zJfuS$Nvgd&*~e5`WU*;|J3i?2--3GAJ4@H6ICK^O45W?N~I-6>iS#jvx>mxG|=g(6B_*eM< d|Iu002ovPDHLkV1n>}A>9A~ diff --git a/doc/html/folderopen.png b/doc/html/folderopen.png index d6c7f676a3b3ef8c2c307d319dff3c6a604eb227..9a388f976ac79ddeea5caefa7cb9ccc3ba569c7d 100644 GIT binary patch delta 580 zcmV-K0=xay1lJkDf4k{m)lH_5V>%N-G?JvsshSyO(zSXP$0ugB z=juic_wU_JC4b2zc=76WxE1)QI1YE}%DKWFyOu58yN(UpwqTV@a4d_b5J|4Uw#qpD z@)b94Tu&v@-obc0kw=qEz~*j+YsP4tNEQHt$y2E`08%3(AU+yT#>nO3SL)+fEUu`C z#X@R7O&9=>8d`zr^cSxV3d1xcnf!fz*5ZBg4w5F$C4V3`O{P;>nu<(ZY|=4+)Sz>5 zoj|6F9_~GfY85wg2aD@uFGvwC{O$V>JbnBqRYlqaqHCksELDR1xadVqWJx0U$LpjmDd&y1g|Zn}JXKevf#aHtBjD(rPtHtI;5h zdY!bIO+C`{JksxVN#OU%a5Eq~!vXQT9%(n~FIOhGw!8BH0R9&K|DyrGO8f?e4kE@p So|-5C0000k~?1l0tPB!3)9L_t(|0qtEsZ_`i^|2b)zG-)zIqMyJ1#FwLU*%bl38ok+!h78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5 zjDplgxd44}9;IRqUH1YHH|@6oFe%z(o4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=| z)Rz|V`sGfHNq>UD$Ae?%!MY`*tW}DzNwaMmW3luFnB~0G#-04gKIyo4{&YFUB((

I=dn`Bz9a_EucaR5n# z1ORWm9QagRjx2PlY7jCA9Y#TT9|v|V227tBaMz3-aDNI^#7Qp-T%~hn7wx?}3~E+s zRD)b>9@NRZ}#V4biOYV(p$zwl3Oh zrr2s!#5MN1B_6e^;t8E;uU5p$-SVfI49NK#0Jtgn|3?FWneqp^N(ewypm>x30000< KMNUMnLSTX=Hy8{6 diff --git a/doc/html/functions.html b/doc/html/functions.html index b563a70..49f5d3f 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */

-
- -
-
-
- -
Here is a list of all struct and union fields with links to the structures/unions they belong to:
-
- + diff --git a/doc/html/functions_vars.html b/doc/html/functions_vars.html index fb9793d..7d49f16 100644 --- a/doc/html/functions_vars.html +++ b/doc/html/functions_vars.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */ -
- -
-
-
- -
 
-
- + diff --git a/doc/html/globals.html b/doc/html/globals.html index 64162fe..49943c4 100644 --- a/doc/html/globals.html +++ b/doc/html/globals.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */ -
- -
-
-
- -
-
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
-
- + diff --git a/doc/html/globals_defs.html b/doc/html/globals_defs.html index fe12449..f88885c 100644 --- a/doc/html/globals_defs.html +++ b/doc/html/globals_defs.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */
-
- -
-
-
- -
 
    +
  • MINIMUM_FRAME_DELAY +: triangle.h +
  • render_height : parameters.h
  • @@ -108,14 +87,11 @@ $(document).ready(function(){initNavTree('globals_defs.html','');});
-
- + diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html index 4e266f1..93a5451 100644 --- a/doc/html/globals_func.html +++ b/doc/html/globals_func.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */ -
- -
-
-
- -
modulo_2pi() : translate.h +
  • render_display_triangle() +: triangle.h +
  • render_set() -: translate.h +: translate.h
  • render_translate() -: translate.h +: translate.h
  • render_zbuffer_clear() : zbuffer.h @@ -129,14 +108,11 @@ $(document).ready(function(){initNavTree('globals_func.html','');});
  • -
    - + diff --git a/doc/html/globals_type.html b/doc/html/globals_type.html index 295b6cd..e989688 100644 --- a/doc/html/globals_type.html +++ b/doc/html/globals_type.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */ -
    - -
    -
    -
    - -
    callback : keyboard.h -
  • FE_floating_position -: translate.h +
  • render_floating_position +: translate.h
  • -
  • FE_integer_point -: translate.h +
  • render_integer_point +: translate.h
  • -
  • FE_integer_position -: translate.h +
  • render_integer_position +: translate.h
  • -
    - + diff --git a/doc/html/globals_vars.html b/doc/html/globals_vars.html index 6407e6c..204ffd0 100644 --- a/doc/html/globals_vars.html +++ b/doc/html/globals_vars.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */ -
    - -
    -
    -
    - -
     
    -
    - + diff --git a/doc/html/index.html b/doc/html/index.html index 7082dbd..3c3f274 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -9,14 +9,6 @@ - - - - - @@ -56,22 +48,6 @@ $(function() { /* @license-end */ -
    - -
    -
    -
    - -
    -
    - + diff --git a/doc/html/keyboard_8h.html b/doc/html/keyboard_8h.html index 814bc34..191c73a 100644 --- a/doc/html/keyboard_8h.html +++ b/doc/html/keyboard_8h.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    Typedefs | @@ -182,15 +162,11 @@ Functions
    - - + diff --git a/doc/html/keyboard_8h_source.html b/doc/html/keyboard_8h_source.html index 0978d85..0c1ed29 100644 --- a/doc/html/keyboard_8h_source.html +++ b/doc/html/keyboard_8h_source.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
    - -
    -
    -
    - -
    + +
    keyboard.h
    @@ -95,15 +75,11 @@ $(document).ready(function(){initNavTree('keyboard_8h_source.html','');});
    void event_keyboard_set_key(uint32_t matrix_code, uint32_t ev_type, callback function)
    void(* callback)(void)
    Definition: keyboard.h:16
    - - + diff --git a/doc/html/menudata.js b/doc/html/menudata.js index 28032a4..426c021 100644 --- a/doc/html/menudata.js +++ b/doc/html/menudata.js @@ -32,7 +32,16 @@ var menudata={children:[ {text:"Files",url:"files.html",children:[ {text:"File List",url:"files.html"}, {text:"Globals",url:"globals.html",children:[ -{text:"All",url:"globals.html"}, +{text:"All",url:"globals.html",children:[ +{text:"b",url:"globals.html#index_b"}, +{text:"c",url:"globals.html#index_c"}, +{text:"d",url:"globals.html#index_d"}, +{text:"e",url:"globals.html#index_e"}, +{text:"m",url:"globals.html#index_m"}, +{text:"p",url:"globals.html#index_p"}, +{text:"r",url:"globals.html#index_r"}, +{text:"s",url:"globals.html#index_s"}, +{text:"t",url:"globals.html#index_t"}]}, {text:"Functions",url:"globals_func.html"}, {text:"Variables",url:"globals_vars.html"}, {text:"Typedefs",url:"globals_type.html"}, diff --git a/doc/html/nav_f.png b/doc/html/nav_f.png index 72a58a529ed3a9ed6aa0c51a79cf207e026deee2..785292db929d740a798ab78ff9d471630f40166e 100644 GIT binary patch delta 121 zcmV-<0EYjW0hR%fBywFzL_t(|0qxyE4uBvG1i-?+)^HFCg#!PUs{s>FYJ9>ZyG{2G zbc})4J6dhfr9!o$s3MoLNX`(+NFs=7O5iv}1di~`@PV=Wux!p*BKpM`^VzSPz4I(@ b{}0;}&6Xf3(~m1j00000NkvXXu0mjfvq(0e delta 124 zcmV-?0E7RQ0hs}iBz0g(L_t(|0qxyO4uBvGMbVbGTL*^tfkM%3YvRPhNE{fKaB|bU zE`pBpg6fW>8&Wn}AXZ5Qu@Xg)f;DQhglrV^nwx1!n5^FF=Snb)(Gk%vj{BRL9T9c- e@$=rlHgf|=7$DsN0QGqQ0000;pyTSQo;Ck?m=D#0}dwE=ealjw|+^KdCbQYJmqbj5aWdTUuK;swdOnW Wnx$z;s-YwU5O})!xvXFMGaQo;E4t|J$N1BX-KT4wgmvu@A6u&D20{R2$}&DVbwUM3!Wac4i{ Xv3!>HpqvZ$8Gyjk)z4*}Q$iB}sjeJQ diff --git a/doc/html/open.png b/doc/html/open.png index 30f75c7efe2dd0c9e956e35b69777a02751f048b..fa86f72797baa791afd80b8c810d148727e48c06 100644 GIT binary patch delta 88 zcmb;}pP&+K=jq}YQo;E4t|M220T0W8OuJZte%B9IyINzGJbP1^;3+mq{lNV#xpTxr s9^I&J)<17&bRha%dSmdKI;Vst0CyfE`Tzg` delta 92 zcmV-i0HgnRdyphoLP - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
    - -
    -
    -
    - -
    + +
    @@ -209,15 +189,11 @@ Macros
    - - + diff --git a/doc/html/parameters_8h_source.html b/doc/html/parameters_8h_source.html index c34d76b..e25ff81 100644 --- a/doc/html/parameters_8h_source.html +++ b/doc/html/parameters_8h_source.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
    - -
    -
    -
    - -
    + +
    parameters.h
    Go to the documentation of this file.
    1 #ifndef RENDER_PARAM
    2 #define RENDER_PARAM
    3 
    4 
    5 // Render param
    6 
    7 #define render_width 128
    8 #define render_height 64
    9 #define render_x_mid ((render_width - 1) / 2) // depends on screen width
    10 #define render_y_mid ((render_height - 1) / 2)
    11 
    12 #define render_max_dist 3000
    13 #define render_min_dist 1
    14 
    15 
    16 
    17 #endif
    - - + diff --git a/doc/html/search/all_1.js b/doc/html/search/all_1.js index fa89007..5c7ac74 100644 --- a/doc/html/search/all_1.js +++ b/doc/html/search/all_1.js @@ -1,6 +1,8 @@ var searchData= [ ['callback',['callback',['../keyboard_8h.html#a30f3e13f816b2411155158754d407bfa',1,'keyboard.h']]], + ['camera',['camera',['../triangle_8h.html#a4f751f0f3e73a03633da079f41b6bd5c',1,'triangle.h']]], + ['clockwised',['clockwised',['../structrender__triangle.html#aad1c8ce41313e3d5ceae95c9dcc025aa',1,'render_triangle::clockwised()'],['../triangle_8h.html#aad1c8ce41313e3d5ceae95c9dcc025aa',1,'clockwised(): triangle.h']]], ['color',['color',['../structbitmap__rich.html#a500773ac49db355fb288f70dc1a9303a',1,'bitmap_rich']]], ['color_5fdynamic',['color_dynamic',['../structbitmap__rich.html#a50fb3cab4fd784c4d5a5ff87fe95cb89',1,'bitmap_rich']]], ['cos',['cos',['../translate_8h.html#ac7a1183c29d9d3cd34e73d7cb2213b8a',1,'translate.h']]] diff --git a/doc/html/search/all_2.js b/doc/html/search/all_2.js index 2e2251d..835b498 100644 --- a/doc/html/search/all_2.js +++ b/doc/html/search/all_2.js @@ -1,4 +1,6 @@ var searchData= [ + ['dh',['dh',['../triangle_8h.html#adf439add26ef55a63873e21debf3aa48',1,'triangle.h']]], + ['dv',['dv',['../triangle_8h.html#a0ccda5aa5b9d561b1dca2bc19f39b1b7',1,'triangle.h']]], ['dynamic',['dynamic',['../structbitmap__rich.html#aae2586772c20f2cc9d3304dfaa5658db',1,'bitmap_rich']]] ]; diff --git a/doc/html/search/all_4.js b/doc/html/search/all_4.js index b1ef56f..e178ed8 100644 --- a/doc/html/search/all_4.js +++ b/doc/html/search/all_4.js @@ -1,6 +1,4 @@ var searchData= [ - ['fe_5ffloating_5fposition',['FE_floating_position',['../struct_f_e__floating__position.html',1,'FE_floating_position'],['../translate_8h.html#a83166ae9b8c23749f0910073d570ef3e',1,'FE_floating_position(): translate.h']]], - ['fe_5finteger_5fpoint',['FE_integer_point',['../struct_f_e__integer__point.html',1,'FE_integer_point'],['../translate_8h.html#a35c4a457f046ca4f02dcc94a58daa4bf',1,'FE_integer_point(): translate.h']]], - ['fe_5finteger_5fposition',['FE_integer_position',['../struct_f_e__integer__position.html',1,'FE_integer_position'],['../translate_8h.html#a3f5d3995e107856579b9052675abfc39',1,'FE_integer_position(): translate.h']]] + ['keyboard_2eh',['keyboard.h',['../keyboard_8h.html',1,'']]] ]; diff --git a/doc/html/search/all_5.js b/doc/html/search/all_5.js index e178ed8..2401b4c 100644 --- a/doc/html/search/all_5.js +++ b/doc/html/search/all_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['keyboard_2eh',['keyboard.h',['../keyboard_8h.html',1,'']]] + ['layout',['layout',['../structbitmap__rich.html#a07f7f964deb3a167048f7fccaef23c52',1,'bitmap_rich']]] ]; diff --git a/doc/html/search/all_6.js b/doc/html/search/all_6.js index 2401b4c..2d9c27e 100644 --- a/doc/html/search/all_6.js +++ b/doc/html/search/all_6.js @@ -1,4 +1,5 @@ var searchData= [ - ['layout',['layout',['../structbitmap__rich.html#a07f7f964deb3a167048f7fccaef23c52',1,'bitmap_rich']]] + ['minimum_5fframe_5fdelay',['MINIMUM_FRAME_DELAY',['../triangle_8h.html#ae13765c1e948183d54b91f20a6bf71e4',1,'triangle.h']]], + ['modulo_5f2pi',['modulo_2pi',['../translate_8h.html#a70d5f87988b0725ee2fbd0a84bdd9e81',1,'translate.h']]] ]; diff --git a/doc/html/search/all_7.js b/doc/html/search/all_7.js index 68acece..0fcc387 100644 --- a/doc/html/search/all_7.js +++ b/doc/html/search/all_7.js @@ -1,4 +1,8 @@ var searchData= [ - ['modulo_5f2pi',['modulo_2pi',['../translate_8h.html#a70d5f87988b0725ee2fbd0a84bdd9e81',1,'translate.h']]] + ['parameters_2eh',['parameters.h',['../parameters_8h.html',1,'']]], + ['part',['part',['../structrender__triangle.html#a2d87e9e69ed54b2ed0ad67cc52030b2e',1,'render_triangle::part()'],['../triangle_8h.html#a2d87e9e69ed54b2ed0ad67cc52030b2e',1,'part(): triangle.h']]], + ['pi',['pi',['../translate_8h.html#a43016d873124d39034edb8cd164794db',1,'translate.h']]], + ['pi2',['pi2',['../translate_8h.html#a2c0cc2347cdb41873a6b0dbc108b15d3',1,'translate.h']]], + ['pi_5fsur_5f2',['pi_sur_2',['../translate_8h.html#a29539de4d4f8937b304e70fc4aa3b672',1,'translate.h']]] ]; diff --git a/doc/html/search/all_8.js b/doc/html/search/all_8.js index 4a8d2c1..a008186 100644 --- a/doc/html/search/all_8.js +++ b/doc/html/search/all_8.js @@ -1,7 +1,20 @@ var searchData= [ - ['parameters_2eh',['parameters.h',['../parameters_8h.html',1,'']]], - ['pi',['pi',['../translate_8h.html#a43016d873124d39034edb8cd164794db',1,'translate.h']]], - ['pi2',['pi2',['../translate_8h.html#a2c0cc2347cdb41873a6b0dbc108b15d3',1,'translate.h']]], - ['pi_5fsur_5f2',['pi_sur_2',['../translate_8h.html#a29539de4d4f8937b304e70fc4aa3b672',1,'translate.h']]] + ['real',['real',['../structrender__integer__point.html#a07494c9011ab307701955a2a50447d8e',1,'render_integer_point']]], + ['render_5fdisplay_5ftriangle',['render_display_triangle',['../triangle_8h.html#ae2985d1c2e835636cf13801d859479db',1,'triangle.h']]], + ['render_5ffloating_5fposition',['render_floating_position',['../structrender__floating__position.html',1,'render_floating_position'],['../translate_8h.html#a6bcbfe3c9754f007c4b4b5ac10a9db44',1,'render_floating_position(): translate.h']]], + ['render_5fheight',['render_height',['../parameters_8h.html#a287d41473ee77db859d4d709d66ddb03',1,'parameters.h']]], + ['render_5finteger_5fpoint',['render_integer_point',['../structrender__integer__point.html',1,'render_integer_point'],['../translate_8h.html#af0969bff3172f7f5a5c5a8c14a800c50',1,'render_integer_point(): translate.h']]], + ['render_5finteger_5fposition',['render_integer_position',['../structrender__integer__position.html',1,'render_integer_position'],['../translate_8h.html#a5f9ded1e38ff3657628b548ccfc1ef95',1,'render_integer_position(): translate.h']]], + ['render_5fmax_5fdist',['render_max_dist',['../parameters_8h.html#a83f9e629cfbf1dcd0de077265b29a1f4',1,'parameters.h']]], + ['render_5fmin_5fdist',['render_min_dist',['../parameters_8h.html#a0ba94ff36e6c2a548735e40012f7ccbd',1,'parameters.h']]], + ['render_5fset',['render_set',['../translate_8h.html#adf49827741ad8fb83dd1dee562d328f6',1,'translate.h']]], + ['render_5ftranslate',['render_translate',['../translate_8h.html#af2c04376cb842595d7c15d7532c28057',1,'translate.h']]], + ['render_5ftriangle',['render_triangle',['../structrender__triangle.html',1,'']]], + ['render_5fwidth',['render_width',['../parameters_8h.html#a791a4a111886d2cab059ebc5ab6aa722',1,'parameters.h']]], + ['render_5fx_5fmid',['render_x_mid',['../parameters_8h.html#a887e6ccc340beb6774eb95667d3bfe05',1,'parameters.h']]], + ['render_5fy_5fmid',['render_y_mid',['../parameters_8h.html#ab67f355ab6184dcd911f0bf9380196c4',1,'parameters.h']]], + ['render_5fzbuffer_5fclear',['render_zbuffer_clear',['../zbuffer_8h.html#a42b8d8385be4bd07a2fe0c30967d16b5',1,'zbuffer.h']]], + ['render_5fzbuffer_5fset_5fpx',['render_zbuffer_set_px',['../zbuffer_8h.html#ae829a01df94b7c47ee12c4443bd38027',1,'zbuffer.h']]], + ['roulis',['roulis',['../triangle_8h.html#a93f3c83cc91297afe3f9fa140dd6df68',1,'triangle.h']]] ]; diff --git a/doc/html/search/all_9.js b/doc/html/search/all_9.js index 721916a..9250ed1 100644 --- a/doc/html/search/all_9.js +++ b/doc/html/search/all_9.js @@ -1,15 +1,10 @@ var searchData= [ - ['real',['real',['../struct_f_e__integer__point.html#a360c6b164ab81d7b9be24c5c969eb7c3',1,'FE_integer_point']]], - ['render_5fheight',['render_height',['../parameters_8h.html#a287d41473ee77db859d4d709d66ddb03',1,'parameters.h']]], - ['render_5fmax_5fdist',['render_max_dist',['../parameters_8h.html#a83f9e629cfbf1dcd0de077265b29a1f4',1,'parameters.h']]], - ['render_5fmin_5fdist',['render_min_dist',['../parameters_8h.html#a0ba94ff36e6c2a548735e40012f7ccbd',1,'parameters.h']]], - ['render_5fset',['render_set',['../translate_8h.html#a92fa63cabc18462be74711f65c5e5466',1,'translate.h']]], - ['render_5ftranslate',['render_translate',['../translate_8h.html#ad9469e65551169eb575e264a8ad0e9e6',1,'translate.h']]], - ['render_5ftriangle',['render_triangle',['../structrender__triangle.html',1,'']]], - ['render_5fwidth',['render_width',['../parameters_8h.html#a791a4a111886d2cab059ebc5ab6aa722',1,'parameters.h']]], - ['render_5fx_5fmid',['render_x_mid',['../parameters_8h.html#a887e6ccc340beb6774eb95667d3bfe05',1,'parameters.h']]], - ['render_5fy_5fmid',['render_y_mid',['../parameters_8h.html#ab67f355ab6184dcd911f0bf9380196c4',1,'parameters.h']]], - ['render_5fzbuffer_5fclear',['render_zbuffer_clear',['../zbuffer_8h.html#a42b8d8385be4bd07a2fe0c30967d16b5',1,'zbuffer.h']]], - ['render_5fzbuffer_5fset_5fpx',['render_zbuffer_set_px',['../zbuffer_8h.html#ae829a01df94b7c47ee12c4443bd38027',1,'zbuffer.h']]] + ['s1',['s1',['../structrender__triangle.html#a0abe31376782906a0c1787a6d05d0e92',1,'render_triangle::s1()'],['../triangle_8h.html#a0abe31376782906a0c1787a6d05d0e92',1,'s1(): triangle.h']]], + ['s2',['s2',['../structrender__triangle.html#a475e9df6e4011e3c37e3cd87a0ff2395',1,'render_triangle::s2()'],['../triangle_8h.html#a475e9df6e4011e3c37e3cd87a0ff2395',1,'s2(): triangle.h']]], + ['s3',['s3',['../structrender__triangle.html#a001dd90ef7f3d9e5e92b17d40567bef8',1,'render_triangle::s3()'],['../triangle_8h.html#a001dd90ef7f3d9e5e92b17d40567bef8',1,'s3(): triangle.h']]], + ['sin',['sin',['../translate_8h.html#a6fcd1947589f80d925b2a945cbb2156f',1,'translate.h']]], + ['size_5fo_5fy',['size_o_y',['../structbitmap__rich.html#a4be8704a07fb39c310a7f403499f95d2',1,'bitmap_rich']]], + ['size_5fpx_5fx',['size_px_x',['../structbitmap__rich.html#adbb4f0394792d5c377b12ed98719c3d1',1,'bitmap_rich']]], + ['size_5fpx_5fy',['size_px_y',['../structbitmap__rich.html#addbfd7b270cfe443d1e9ee853bbde93e',1,'bitmap_rich']]] ]; diff --git a/doc/html/search/all_a.js b/doc/html/search/all_a.js index 8c66e73..1646cef 100644 --- a/doc/html/search/all_a.js +++ b/doc/html/search/all_a.js @@ -1,10 +1,7 @@ var searchData= [ - ['s1',['s1',['../structrender__triangle.html#a1fe74233c38d81275b284f220bf8a719',1,'render_triangle']]], - ['s2',['s2',['../structrender__triangle.html#a8bac588c16095138f4c6e7e07c0dc262',1,'render_triangle']]], - ['s3',['s3',['../structrender__triangle.html#a28934a39804f80cf2225f1f1129c657e',1,'render_triangle']]], - ['sin',['sin',['../translate_8h.html#a6fcd1947589f80d925b2a945cbb2156f',1,'translate.h']]], - ['size_5fo_5fy',['size_o_y',['../structbitmap__rich.html#a4be8704a07fb39c310a7f403499f95d2',1,'bitmap_rich']]], - ['size_5fpx_5fx',['size_px_x',['../structbitmap__rich.html#adbb4f0394792d5c377b12ed98719c3d1',1,'bitmap_rich']]], - ['size_5fpx_5fy',['size_px_y',['../structbitmap__rich.html#addbfd7b270cfe443d1e9ee853bbde93e',1,'bitmap_rich']]] + ['texture',['texture',['../structrender__triangle.html#aad4a3d879f4388fecad7a38268806584',1,'render_triangle::texture()'],['../triangle_8h.html#aad4a3d879f4388fecad7a38268806584',1,'texture(): triangle.h']]], + ['translate_2eh',['translate.h',['../translate_8h.html',1,'']]], + ['translated',['translated',['../structrender__integer__point.html#a127ca4356a403fe834505dfb3dee44a7',1,'render_integer_point']]], + ['triangle_2eh',['triangle.h',['../triangle_8h.html',1,'']]] ]; diff --git a/doc/html/search/all_b.js b/doc/html/search/all_b.js index 8718c32..beab573 100644 --- a/doc/html/search/all_b.js +++ b/doc/html/search/all_b.js @@ -1,6 +1,4 @@ var searchData= [ - ['translate_2eh',['translate.h',['../translate_8h.html',1,'']]], - ['translated',['translated',['../struct_f_e__integer__point.html#a5dcb58bfcc85786010474592d78029cb',1,'FE_integer_point']]], - ['triangle_2eh',['triangle.h',['../triangle_8h.html',1,'']]] + ['x',['x',['../structrender__integer__position.html#af6d3062751bd565decb1a2cd3b63bdb2',1,'render_integer_position::x()'],['../structrender__floating__position.html#af88b946fb90d5f08b5fb740c70e98c10',1,'render_floating_position::x()']]] ]; diff --git a/doc/html/search/all_c.js b/doc/html/search/all_c.js index 26247b8..de7f908 100644 --- a/doc/html/search/all_c.js +++ b/doc/html/search/all_c.js @@ -1,4 +1,4 @@ var searchData= [ - ['x',['x',['../struct_f_e__integer__position.html#af6d3062751bd565decb1a2cd3b63bdb2',1,'FE_integer_position::x()'],['../struct_f_e__floating__position.html#af88b946fb90d5f08b5fb740c70e98c10',1,'FE_floating_position::x()']]] + ['y',['y',['../structrender__integer__position.html#af64066d134a77e01b3d6eb8da813627a',1,'render_integer_position::y()'],['../structrender__floating__position.html#ab927965981178aa1fba979a37168db2a',1,'render_floating_position::y()']]] ]; diff --git a/doc/html/search/all_d.js b/doc/html/search/all_d.js index 1170694..48c5ff3 100644 --- a/doc/html/search/all_d.js +++ b/doc/html/search/all_d.js @@ -1,4 +1,5 @@ var searchData= [ - ['y',['y',['../struct_f_e__integer__position.html#af64066d134a77e01b3d6eb8da813627a',1,'FE_integer_position::y()'],['../struct_f_e__floating__position.html#ab927965981178aa1fba979a37168db2a',1,'FE_floating_position::y()']]] + ['z',['z',['../structrender__integer__position.html#ac2fb30be1b894e32b31b68bb513262a3',1,'render_integer_position::z()'],['../structrender__floating__position.html#ab3e6ed577a7c669c19de1f9c1b46c872',1,'render_floating_position::z()']]], + ['zbuffer_2eh',['zbuffer.h',['../zbuffer_8h.html',1,'']]] ]; diff --git a/doc/html/search/classes_1.js b/doc/html/search/classes_1.js index d48bd71..e88676b 100644 --- a/doc/html/search/classes_1.js +++ b/doc/html/search/classes_1.js @@ -1,6 +1,7 @@ var searchData= [ - ['fe_5ffloating_5fposition',['FE_floating_position',['../struct_f_e__floating__position.html',1,'']]], - ['fe_5finteger_5fpoint',['FE_integer_point',['../struct_f_e__integer__point.html',1,'']]], - ['fe_5finteger_5fposition',['FE_integer_position',['../struct_f_e__integer__position.html',1,'']]] + ['render_5ffloating_5fposition',['render_floating_position',['../structrender__floating__position.html',1,'']]], + ['render_5finteger_5fpoint',['render_integer_point',['../structrender__integer__point.html',1,'']]], + ['render_5finteger_5fposition',['render_integer_position',['../structrender__integer__position.html',1,'']]], + ['render_5ftriangle',['render_triangle',['../structrender__triangle.html',1,'']]] ]; diff --git a/doc/html/search/defines_0.js b/doc/html/search/defines_0.js index 0b55e10..657e457 100644 --- a/doc/html/search/defines_0.js +++ b/doc/html/search/defines_0.js @@ -1,9 +1,4 @@ var searchData= [ - ['render_5fheight',['render_height',['../parameters_8h.html#a287d41473ee77db859d4d709d66ddb03',1,'parameters.h']]], - ['render_5fmax_5fdist',['render_max_dist',['../parameters_8h.html#a83f9e629cfbf1dcd0de077265b29a1f4',1,'parameters.h']]], - ['render_5fmin_5fdist',['render_min_dist',['../parameters_8h.html#a0ba94ff36e6c2a548735e40012f7ccbd',1,'parameters.h']]], - ['render_5fwidth',['render_width',['../parameters_8h.html#a791a4a111886d2cab059ebc5ab6aa722',1,'parameters.h']]], - ['render_5fx_5fmid',['render_x_mid',['../parameters_8h.html#a887e6ccc340beb6774eb95667d3bfe05',1,'parameters.h']]], - ['render_5fy_5fmid',['render_y_mid',['../parameters_8h.html#ab67f355ab6184dcd911f0bf9380196c4',1,'parameters.h']]] + ['minimum_5fframe_5fdelay',['MINIMUM_FRAME_DELAY',['../triangle_8h.html#ae13765c1e948183d54b91f20a6bf71e4',1,'triangle.h']]] ]; diff --git a/doc/html/search/functions_4.js b/doc/html/search/functions_4.js index d20ea0a..33b0717 100644 --- a/doc/html/search/functions_4.js +++ b/doc/html/search/functions_4.js @@ -1,7 +1,8 @@ var searchData= [ - ['render_5fset',['render_set',['../translate_8h.html#a92fa63cabc18462be74711f65c5e5466',1,'translate.h']]], - ['render_5ftranslate',['render_translate',['../translate_8h.html#ad9469e65551169eb575e264a8ad0e9e6',1,'translate.h']]], + ['render_5fdisplay_5ftriangle',['render_display_triangle',['../triangle_8h.html#ae2985d1c2e835636cf13801d859479db',1,'triangle.h']]], + ['render_5fset',['render_set',['../translate_8h.html#adf49827741ad8fb83dd1dee562d328f6',1,'translate.h']]], + ['render_5ftranslate',['render_translate',['../translate_8h.html#af2c04376cb842595d7c15d7532c28057',1,'translate.h']]], ['render_5fzbuffer_5fclear',['render_zbuffer_clear',['../zbuffer_8h.html#a42b8d8385be4bd07a2fe0c30967d16b5',1,'zbuffer.h']]], ['render_5fzbuffer_5fset_5fpx',['render_zbuffer_set_px',['../zbuffer_8h.html#ae829a01df94b7c47ee12c4443bd38027',1,'zbuffer.h']]] ]; diff --git a/doc/html/search/search.css b/doc/html/search/search.css index 3cf9df9..3a17a9a 100644 --- a/doc/html/search/search.css +++ b/doc/html/search/search.css @@ -99,8 +99,8 @@ display: none; position: absolute; left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; + border: 1px solid #8E979B; + background-color: #F8F9F9; z-index: 10001; padding-top: 4px; padding-bottom: 4px; @@ -144,7 +144,7 @@ a.SelectItem:active { a.SelectItem:hover { color: #FFFFFF; - background-color: #3D578C; + background-color: #3F4447; outline-style: none; text-decoration: none; cursor: pointer; @@ -163,7 +163,7 @@ iframe#MSearchResults { position: absolute; left: 0; top: 0; border: 1px solid #000; - background-color: #EEF1F7; + background-color: #ECEEEE; z-index:10000; } @@ -199,7 +199,7 @@ body.SRPage { .SRSymbol { font-weight: bold; - color: #425E97; + color: #464C4F; font-family: Arial, Verdana, sans-serif; text-decoration: none; outline: none; @@ -207,7 +207,7 @@ body.SRPage { a.SRScope { display: block; - color: #425E97; + color: #464C4F; font-family: Arial, Verdana, sans-serif; text-decoration: none; outline: none; @@ -240,7 +240,7 @@ DIV.searchresults { /*---------------- External search page results */ .searchresult { - background-color: #F0F3F8; + background-color: #EFF0F1; } .pages b { diff --git a/doc/html/search/searchdata.js b/doc/html/search/searchdata.js index 67d9b8f..d6b2df0 100644 --- a/doc/html/search/searchdata.js +++ b/doc/html/search/searchdata.js @@ -1,12 +1,12 @@ var indexSectionsWithContent = { - 0: "bcdefklmprstxyz", - 1: "bfr", + 0: "bcdeklmprstxyz", + 1: "br", 2: "bkptz", 3: "bcemrs", 4: "cdlprstxyz", - 5: "bcf", - 6: "r" + 5: "bcr", + 6: "mr" }; var indexSectionNames = diff --git a/doc/html/search/typedefs_2.js b/doc/html/search/typedefs_2.js index f88a40d..dd63005 100644 --- a/doc/html/search/typedefs_2.js +++ b/doc/html/search/typedefs_2.js @@ -1,6 +1,6 @@ var searchData= [ - ['fe_5ffloating_5fposition',['FE_floating_position',['../translate_8h.html#a83166ae9b8c23749f0910073d570ef3e',1,'translate.h']]], - ['fe_5finteger_5fpoint',['FE_integer_point',['../translate_8h.html#a35c4a457f046ca4f02dcc94a58daa4bf',1,'translate.h']]], - ['fe_5finteger_5fposition',['FE_integer_position',['../translate_8h.html#a3f5d3995e107856579b9052675abfc39',1,'translate.h']]] + ['render_5ffloating_5fposition',['render_floating_position',['../translate_8h.html#a6bcbfe3c9754f007c4b4b5ac10a9db44',1,'translate.h']]], + ['render_5finteger_5fpoint',['render_integer_point',['../translate_8h.html#af0969bff3172f7f5a5c5a8c14a800c50',1,'translate.h']]], + ['render_5finteger_5fposition',['render_integer_position',['../translate_8h.html#a5f9ded1e38ff3657628b548ccfc1ef95',1,'translate.h']]] ]; diff --git a/doc/html/search/variables_0.js b/doc/html/search/variables_0.js index 2fcd599..5e029be 100644 --- a/doc/html/search/variables_0.js +++ b/doc/html/search/variables_0.js @@ -1,5 +1,7 @@ var searchData= [ + ['camera',['camera',['../triangle_8h.html#a4f751f0f3e73a03633da079f41b6bd5c',1,'triangle.h']]], + ['clockwised',['clockwised',['../structrender__triangle.html#aad1c8ce41313e3d5ceae95c9dcc025aa',1,'render_triangle::clockwised()'],['../triangle_8h.html#aad1c8ce41313e3d5ceae95c9dcc025aa',1,'clockwised(): triangle.h']]], ['color',['color',['../structbitmap__rich.html#a500773ac49db355fb288f70dc1a9303a',1,'bitmap_rich']]], ['color_5fdynamic',['color_dynamic',['../structbitmap__rich.html#a50fb3cab4fd784c4d5a5ff87fe95cb89',1,'bitmap_rich']]] ]; diff --git a/doc/html/search/variables_1.js b/doc/html/search/variables_1.js index 2e2251d..835b498 100644 --- a/doc/html/search/variables_1.js +++ b/doc/html/search/variables_1.js @@ -1,4 +1,6 @@ var searchData= [ + ['dh',['dh',['../triangle_8h.html#adf439add26ef55a63873e21debf3aa48',1,'triangle.h']]], + ['dv',['dv',['../triangle_8h.html#a0ccda5aa5b9d561b1dca2bc19f39b1b7',1,'triangle.h']]], ['dynamic',['dynamic',['../structbitmap__rich.html#aae2586772c20f2cc9d3304dfaa5658db',1,'bitmap_rich']]] ]; diff --git a/doc/html/search/variables_3.js b/doc/html/search/variables_3.js index 57b2a3b..79da68f 100644 --- a/doc/html/search/variables_3.js +++ b/doc/html/search/variables_3.js @@ -1,5 +1,6 @@ var searchData= [ + ['part',['part',['../structrender__triangle.html#a2d87e9e69ed54b2ed0ad67cc52030b2e',1,'render_triangle::part()'],['../triangle_8h.html#a2d87e9e69ed54b2ed0ad67cc52030b2e',1,'part(): triangle.h']]], ['pi',['pi',['../translate_8h.html#a43016d873124d39034edb8cd164794db',1,'translate.h']]], ['pi2',['pi2',['../translate_8h.html#a2c0cc2347cdb41873a6b0dbc108b15d3',1,'translate.h']]], ['pi_5fsur_5f2',['pi_sur_2',['../translate_8h.html#a29539de4d4f8937b304e70fc4aa3b672',1,'translate.h']]] diff --git a/doc/html/search/variables_4.js b/doc/html/search/variables_4.js index 16ee822..59c9572 100644 --- a/doc/html/search/variables_4.js +++ b/doc/html/search/variables_4.js @@ -1,4 +1,5 @@ var searchData= [ - ['real',['real',['../struct_f_e__integer__point.html#a360c6b164ab81d7b9be24c5c969eb7c3',1,'FE_integer_point']]] + ['real',['real',['../structrender__integer__point.html#a07494c9011ab307701955a2a50447d8e',1,'render_integer_point']]], + ['roulis',['roulis',['../triangle_8h.html#a93f3c83cc91297afe3f9fa140dd6df68',1,'triangle.h']]] ]; diff --git a/doc/html/search/variables_5.js b/doc/html/search/variables_5.js index b028a9c..c2e6fd6 100644 --- a/doc/html/search/variables_5.js +++ b/doc/html/search/variables_5.js @@ -1,8 +1,8 @@ var searchData= [ - ['s1',['s1',['../structrender__triangle.html#a1fe74233c38d81275b284f220bf8a719',1,'render_triangle']]], - ['s2',['s2',['../structrender__triangle.html#a8bac588c16095138f4c6e7e07c0dc262',1,'render_triangle']]], - ['s3',['s3',['../structrender__triangle.html#a28934a39804f80cf2225f1f1129c657e',1,'render_triangle']]], + ['s1',['s1',['../structrender__triangle.html#a0abe31376782906a0c1787a6d05d0e92',1,'render_triangle::s1()'],['../triangle_8h.html#a0abe31376782906a0c1787a6d05d0e92',1,'s1(): triangle.h']]], + ['s2',['s2',['../structrender__triangle.html#a475e9df6e4011e3c37e3cd87a0ff2395',1,'render_triangle::s2()'],['../triangle_8h.html#a475e9df6e4011e3c37e3cd87a0ff2395',1,'s2(): triangle.h']]], + ['s3',['s3',['../structrender__triangle.html#a001dd90ef7f3d9e5e92b17d40567bef8',1,'render_triangle::s3()'],['../triangle_8h.html#a001dd90ef7f3d9e5e92b17d40567bef8',1,'s3(): triangle.h']]], ['size_5fo_5fy',['size_o_y',['../structbitmap__rich.html#a4be8704a07fb39c310a7f403499f95d2',1,'bitmap_rich']]], ['size_5fpx_5fx',['size_px_x',['../structbitmap__rich.html#adbb4f0394792d5c377b12ed98719c3d1',1,'bitmap_rich']]], ['size_5fpx_5fy',['size_px_y',['../structbitmap__rich.html#addbfd7b270cfe443d1e9ee853bbde93e',1,'bitmap_rich']]] diff --git a/doc/html/search/variables_6.js b/doc/html/search/variables_6.js index 977ef86..5a91415 100644 --- a/doc/html/search/variables_6.js +++ b/doc/html/search/variables_6.js @@ -1,4 +1,5 @@ var searchData= [ - ['translated',['translated',['../struct_f_e__integer__point.html#a5dcb58bfcc85786010474592d78029cb',1,'FE_integer_point']]] + ['texture',['texture',['../structrender__triangle.html#aad4a3d879f4388fecad7a38268806584',1,'render_triangle::texture()'],['../triangle_8h.html#aad4a3d879f4388fecad7a38268806584',1,'texture(): triangle.h']]], + ['translated',['translated',['../structrender__integer__point.html#a127ca4356a403fe834505dfb3dee44a7',1,'render_integer_point']]] ]; diff --git a/doc/html/search/variables_7.js b/doc/html/search/variables_7.js index 26247b8..beab573 100644 --- a/doc/html/search/variables_7.js +++ b/doc/html/search/variables_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['x',['x',['../struct_f_e__integer__position.html#af6d3062751bd565decb1a2cd3b63bdb2',1,'FE_integer_position::x()'],['../struct_f_e__floating__position.html#af88b946fb90d5f08b5fb740c70e98c10',1,'FE_floating_position::x()']]] + ['x',['x',['../structrender__integer__position.html#af6d3062751bd565decb1a2cd3b63bdb2',1,'render_integer_position::x()'],['../structrender__floating__position.html#af88b946fb90d5f08b5fb740c70e98c10',1,'render_floating_position::x()']]] ]; diff --git a/doc/html/search/variables_8.js b/doc/html/search/variables_8.js index 1170694..de7f908 100644 --- a/doc/html/search/variables_8.js +++ b/doc/html/search/variables_8.js @@ -1,4 +1,4 @@ var searchData= [ - ['y',['y',['../struct_f_e__integer__position.html#af64066d134a77e01b3d6eb8da813627a',1,'FE_integer_position::y()'],['../struct_f_e__floating__position.html#ab927965981178aa1fba979a37168db2a',1,'FE_floating_position::y()']]] + ['y',['y',['../structrender__integer__position.html#af64066d134a77e01b3d6eb8da813627a',1,'render_integer_position::y()'],['../structrender__floating__position.html#ab927965981178aa1fba979a37168db2a',1,'render_floating_position::y()']]] ]; diff --git a/doc/html/search/variables_9.js b/doc/html/search/variables_9.js index 6792d0c..2c12959 100644 --- a/doc/html/search/variables_9.js +++ b/doc/html/search/variables_9.js @@ -1,4 +1,4 @@ var searchData= [ - ['z',['z',['../struct_f_e__integer__position.html#ac2fb30be1b894e32b31b68bb513262a3',1,'FE_integer_position::z()'],['../struct_f_e__floating__position.html#ab3e6ed577a7c669c19de1f9c1b46c872',1,'FE_floating_position::z()']]] + ['z',['z',['../structrender__integer__position.html#ac2fb30be1b894e32b31b68bb513262a3',1,'render_integer_position::z()'],['../structrender__floating__position.html#ab3e6ed577a7c669c19de1f9c1b46c872',1,'render_floating_position::z()']]] ]; diff --git a/doc/html/splitbar.png b/doc/html/splitbar.png index fe895f2c58179b471a22d8320b39a4bd7312ec8e..9af915b20c3773ab07b6b0adbdced72435d44a32 100644 GIT binary patch literal 308 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf@VhhF;8p60Q%8 zm&sojP^k_G%19M-6LD&ai0HT(qGQ6maidU7gP8N3=9V>zHxF1eoz1b&`{!u!=2C#sN+wzStVo?T;?w6SOR RV_+~ac)I$ztaD0e0su7UZ{q*} literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T diff --git a/doc/html/structbitmap__rich.html b/doc/html/structbitmap__rich.html index 684a166..82ac3b8 100644 --- a/doc/html/structbitmap__rich.html +++ b/doc/html/structbitmap__rich.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
    - -
    -
    -
    - -
    +
    @@ -238,15 +214,11 @@ Data Fields
  • include/render/bitmap.h
  • - - + diff --git a/doc/html/structrender__triangle.html b/doc/html/structrender__triangle.html index a6d760a..b8b3e85 100644 --- a/doc/html/structrender__triangle.html +++ b/doc/html/structrender__triangle.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
    - -
    -
    -
    - -
    +
    @@ -94,66 +70,133 @@ $(document).ready(function(){initNavTree('structrender__triangle.html','');});
    +

    Triangle struct used to render fonctions. + More...

    +

    #include <triangle.h>

    - - - - - - + + + + + + + + + + + +

    Data Fields

    FE_integer_positions1
     
    FE_integer_positions2
     
    FE_integer_positions3
     
    render_integer_positions1
     
    render_integer_positions2
     
    render_integer_positions3
     
    render_rich_bitmap * texture
     
    bool part
     
    bool clockwised
     

    Detailed Description

    -
    -

    Definition at line 3 of file triangle.h.

    +

    Triangle struct used to render fonctions.

    +
    Parameters
    + + + + + +
    [out]partchoose the used texture half
    [out]clockwisedchoose the visible side of the face
    [out]s1,s2,s3three points
    [out]textureused texture
    +
    +
    + +

    Definition at line 19 of file triangle.h.

    Field Documentation

    - -

    ◆ s1

    + +

    ◆ clockwised

    - +
    FE_integer_position* s1bool clockwised
    -

    Definition at line 5 of file triangle.h.

    +

    Definition at line 28 of file triangle.h.

    - -

    ◆ s2

    + +

    ◆ part

    - +
    FE_integer_position* s2bool part
    -

    Definition at line 6 of file triangle.h.

    +

    Definition at line 27 of file triangle.h.

    - -

    ◆ s3

    + +

    ◆ s1

    -

    Definition at line 7 of file triangle.h.

    +

    Definition at line 21 of file triangle.h.

    + +
    +
    + +

    ◆ s2

    + +
    +
    + + + + +
    render_integer_position* s2
    +
    + +

    Definition at line 22 of file triangle.h.

    + +
    +
    + +

    ◆ s3

    + +
    +
    + + + + +
    render_integer_position* s3
    +
    + +

    Definition at line 23 of file triangle.h.

    + +
    +
    + +

    ◆ texture

    + +
    +
    + + + + +
    render_rich_bitmap* texture
    +
    + +

    Definition at line 25 of file triangle.h.

    @@ -161,15 +204,11 @@ Data Fields
  • include/render/triangle.h
  • -
    - + diff --git a/doc/html/sync_off.png b/doc/html/sync_off.png index 3b443fc62892114406e3d399421b2a881b897acc..1aac1a883c992be8bbc0b1cfcc09d2c6d34f573d 100644 GIT binary patch delta 841 zcmV-P1GfCt2H*yeB!4GKL_t(|0qxyyNL6PX!13?Bx4i1TEwd&~@4bb#nb|CLXy8m+ zmO3m$s~O&$hJyrq(O3ix+KV6e%mhxW{|$@%S%#dw4$hoO`|J_dLJzJiq6yt9{=AfXM{K27gf^3dCaJ5l_TD(Ic*k zJ^&|k035t7G;(9K55zV7Y-RNOzr`7GSo8yN%_+b}aa3di%z#g{iY?+}ankyw8?d&p zxHOB0Tdzf;Lwqt>fC};56lnvPi7!O6dE+T6DK(?($QJ;-0y@}>;;A`L%jIHwUG0Cxh4}!Ef`JUe4ckcYdI9X}MUDojw5KN7 z@29n?k=7;~dq?(?U&Ijf{tjJkTcw3#0!np6e_ygU& z*8wI71Ox2f(`NLCBN4vuy3CE6x2*qiPiN3=4e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ihf_2F(VLB!3i1L_t(|0qxyiNK{!I!13=mud_^=qIwwqd0 z)9>7!J2Q8>ik7dJ-v_T}X72BtbARWYS4+q7E`Z7SM6IY6VSkY)tl}SWU-XD;q7T4~ z4ZuW>_))aP?*T)ow&n59{}X4$3Goatgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F< zo_Z}1zllSWC8!Z+rkFN>={P0Y^?$4t>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZp zsfr1}luH~F7JrqXKxo4N3}LbGVaMhWRb`6+3<3pn`F`s%vh0&4+9pCOLBwoo=DO_c zX)4R8EX(KZyY~PFZ^olklq_U_TbR5B4gfPPD#04S5QRPu2jz#$3g-h%$)D$De`}c1 zpy_ubDnUhROI3M3`kF}1jO;l! z7UimHOn+WCdk6XBN*~epF}-O(B{(NHO{rg8QJf>wRgBB=fBpY?^$AyR4FJgq6nHqi zbES5#s_cB%Q*PWD1PpOsZ42G$3GO}~V(8Tv?ORG%EWI>aRQh{TqwBo%h`#<|fOOqz z1ZsME#V5t=$hK)oo)3=lch7Sm8KHoejnzx|^?%|+UXF|dm|3k7s2jD(B{rzE>WI2s zcH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj z$M^9_*hBO95gqM|gNX8-^I07*qoM6N<$g5`Xa AR{#J2 diff --git a/doc/html/tab_a.png b/doc/html/tab_a.png index 3b725c41c5a527a3a3e40097077d0e206a681247..5b7be34c5d751b239905756db5575419fea168d7 100644 GIT binary patch delta 103 zcmV-t0GR)d0fYgNBw$NPL_t(|0qvbj3V=WiL;Krw7SfH3J3+kv8J*OQ;M^hbNJvZ0 zKzl#Ly~!4lu4cl_2}DE*gbsOJ^t|q`o4!)NBfmRy?{_b+`~a;I0kzqb9UK4v002ov JPDHLkV1h@cEiV87 delta 113 zcmV-%0FM8J0geHXBx+SjL_t(|0qvbj3V<*WLnm*fD2j+%#l7Gq+<5;Z*{QAP2nqR} z!S?f}A6KSjBMmcj2}v0s95XABy!b`qeq0Yk9=#tquiN10l6OtFzxMxqe_8ck>OlfD TS)Sv400000NkvXXu0mjf)Vncl diff --git a/doc/html/tab_b.png b/doc/html/tab_b.png index e2b4a8638cb3496a016eaed9e16ffc12846dea18..b317a2457d12b44389a964a44e87773c2c15a308 100644 GIT binary patch delta 142 zcmV;90CE4R0jdFzB!6*9L_t(|0qvdL3W7iog?Hu{3ifE;L=aTeP3q3B>y-MYLG(I} zdlC2$=kT4Mw{Y*zm-lteRaIh|7wBuks81wS#FUH?5+WoH=q3E=yr5m_JszEB=NwMw w3lkA%TU#&@ZGbt;YF)dc$nSc)qd6RZXGIwZ3eN;-00000Ne4wvM6N<$g6vp7mjD0& delta 141 zcmV;80CNAT0jU9yB!6&8L_t(|0qxyQ4uc>RMd8Q0(A2oN4s~GSz_eB{&>x`2eL8dp zT|~jMkaNG}u7bAx%XOvre3E$i74E&jKK~gPF}n{Y8=!5(I0xKQ+0l61Ou$w991{_m v-m(zHX%0n}isespgrbrefo^!<(&``6OBznHeiUi|0000Ze=m(%&-sw v&AnwJ;`Nw_4uSXOmW9lPN7v(Wz5M~5`4k-AgSS5b0000VNqV~72jSdG9$8vRNwkSVmXck;)J`Q|y00000NkvXXu0mjf D2C+s~ diff --git a/doc/html/tab_s.png b/doc/html/tab_s.png index ab478c95b67371d700a20869f7de1ddd73522d50..4c71a4edfc57a27b93c4f6aa9703e21264a22b2c 100644 GIT binary patch delta 148 zcmV;F0Bira0k8p(B!72FL_t(|0qxyU4uT*6fMM2urD_qHNjgzO6Ogpd*jroIi`GTH zdx+QjLtLNC%Y$%V@jr3FB~yruer9k!3E0Wej}zT+!(0c99cg+?-S$+8HXXWYDQiPf zHRQTZDzfr|N{)p_o=RkXX0P&%5Q3e|*h=+xP+#{BA4rCx1Pw9(0000B!7QNL_t(|0qxy^34%ZXK+&T=Q4$n|q#~N4C8kM{mx^YVHd`CC zNWLn{S^f~#UuRg?v)<^0000< KMNUMnLSTXmZ%6e2 diff --git a/doc/html/translate_8h.html b/doc/html/translate_8h.html index 2d3beab..f658692 100644 --- a/doc/html/translate_8h.html +++ b/doc/html/translate_8h.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
    - -
    -
    -
    - -
    + +
    Data Structures | @@ -103,33 +83,33 @@ $(document).ready(function(){initNavTree('translate_8h.html','');}); - - + + - - + + - - + +

    Data Structures

    struct  FE_integer_position
     this struct is a point in 3d, which has coords save as uint32_t this is the recommended type for high performance rendering, because the sh3eb-elf architecture is 32 bits More...
    struct  render_integer_position
     this struct is a point in 3d, which has coords save as uint32_t this is the recommended type for high performance rendering, because the sh3eb-elf architecture is 32 bits More...
     
    struct  FE_floating_position
     this struct is a point in 3d, which has coords save as double it is not recommended to use it for high performances rendering, because of the sh3eb-elf architecture, which does not support natively floating calculation More...
    struct  render_floating_position
     this struct is a point in 3d, which has coords save as double it is not recommended to use it for high performances rendering, because of the sh3eb-elf architecture, which does not support natively floating calculation More...
     
    struct  FE_integer_point
     This is a point which is used for 3d translations and rendering integer mode is the best solution to increase perfs, and that's why I didn't have implemented te floating_points yet. More...
    struct  render_integer_point
     This is a point which is used for 3d translations and rendering integer mode is the best solution to increase perfs, and that's why I didn't have implemented te floating_points yet. More...
     
    - - - - - - + + + + + +

    Typedefs

    typedef struct FE_integer_position FE_integer_position
     
    typedef struct FE_floating_position FE_floating_position
     
    typedef struct FE_integer_point FE_integer_point
     
    typedef struct render_integer_position render_integer_position
     
    typedef struct render_floating_position render_floating_position
     
    typedef struct render_integer_point render_integer_point
     
    - - - - - - + + + + + + @@ -150,14 +130,14 @@ Variables

    Functions

    void render_translate (FE_integer_point *point)
     This function rotates and applies perspective on an integer point. More...
     
    void render_set (const double dh, const double dv, const double roulis, const FE_integer_position *camera)
     Sets up the translation matrices for a new rendering cycle. More...
     
    void render_translate (render_integer_point *point)
     This function rotates and applies perspective on an integer point. More...
     
    void render_set (const double dh, const double dv, const double roulis, const render_integer_position *camera)
     Sets up the translation matrices for a new rendering cycle There is no need to call this function if you have already called render_update() More...
     
    double modulo_2pi (double a)
     Sets up an angle mesure between -pi and +pi. More...
     
     

    Typedef Documentation

    - -

    ◆ FE_floating_position

    + +

    ◆ render_floating_position

    @@ -166,14 +146,14 @@ Variables
    - -

    ◆ FE_integer_point

    + +

    ◆ render_integer_point

    @@ -182,14 +162,14 @@ Variables
    - -

    ◆ FE_integer_position

    + +

    ◆ render_integer_position

    @@ -253,8 +233,8 @@ Variables
    - -

    ◆ render_set()

    + +

    ◆ render_set()

    @@ -280,7 +260,7 @@ Variables - const FE_integer_position *  + const render_integer_positioncamera  @@ -291,7 +271,7 @@ Variables
    -

    Sets up the translation matrices for a new rendering cycle.

    +

    Sets up the translation matrices for a new rendering cycle There is no need to call this function if you have already called render_update()

    Parameters
    @@ -304,8 +284,8 @@ Variables - -

    ◆ render_translate()

    + +

    ◆ render_translate()

    @@ -313,7 +293,7 @@ Variables
    - + @@ -402,15 +382,11 @@ Variables - - + diff --git a/doc/html/translate_8h_source.html b/doc/html/translate_8h_source.html index 11ebc09..4c3bcee 100644 --- a/doc/html/translate_8h_source.html +++ b/doc/html/translate_8h_source.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
    - -
    -
    -
    - -
    + +
    translate.h
    -Go to the documentation of this file.
    1 #ifndef RENDER_TRANSLATE_H
    2 #define RENDER_TRANSLATE_H
    3 
    4 #include <stdint.h>
    5 #include <render/parameters.h>
    6 
    12 {
    13  int32_t x,
    14  y,
    15  z;
    16 };
    18 
    24 {
    25  double x,
    26  y,
    27  z;
    28 };
    30 
    31 
    37 {
    39  translated;
    40 };
    42 
    43 
    44 // applique la matrice de rotation et les deltas sur les coordonnées d'un point
    45 
    52 
    53 
    54 
    63 void render_set(const double dh, const double dv, const double roulis, const FE_integer_position * camera);
    64 
    65 
    66 
    70 extern const double pi, pi2, pi_sur_2;
    71 
    72 
    81 double modulo_2pi(double a);
    82 
    90 double cos(double angle);
    91 
    99 double sin(const double angle);
    100 
    101 #endif
    double sin(const double angle)
    Homemade sinus implementation, which is faster than casio provided sinus function.
    +Go to the documentation of this file.
    1 #ifndef RENDER_TRANSLATE_H
    2 #define RENDER_TRANSLATE_H
    3 
    4 #include <stdint.h>
    5 #include <render/parameters.h>
    6 
    12 {
    13  int32_t x,
    14  y,
    15  z;
    16 };
    18 
    24 {
    25  double x,
    26  y,
    27  z;
    28 };
    30 
    31 
    37 {
    39  translated;
    40 };
    42 
    43 
    44 // applique la matrice de rotation et les deltas sur les coordonnées d'un point
    45 
    52 
    53 
    54 
    64 void render_set(const double dh, const double dv, const double roulis, const render_integer_position * camera);
    65 
    66 
    67 
    71 extern const double pi, pi2, pi_sur_2;
    72 
    73 
    82 double modulo_2pi(double a);
    83 
    91 double cos(double angle);
    92 
    100 double sin(const double angle);
    101 
    102 #endif
    struct render_triangle const double const double const double roulis
    Definition: triangle.h:47
    + +
    double sin(const double angle)
    Homemade sinus implementation, which is faster than casio provided sinus function.
    const double pi2
    - +
    render_integer_position real
    Definition: translate.h:38
    +
    struct render_triangle const double dh
    Definition: triangle.h:47
    const double pi_sur_2
    -
    this struct is a point in 3d, which has coords save as double it is not recommended to use it for hig...
    Definition: translate.h:23
    - -
    FE_integer_position translated
    Definition: translate.h:38
    - - +
    struct render_triangle const double const double const double const render_integer_position * camera
    Definition: triangle.h:47
    + + + +
    void render_translate(render_integer_point *point)
    This function rotates and applies perspective on an integer point.
    +
    double modulo_2pi(double a)
    Sets up an angle mesure between -pi and +pi.
    -
    void render_set(const double dh, const double dv, const double roulis, const FE_integer_position *camera)
    Sets up the translation matrices for a new rendering cycle.
    -
    void render_translate(FE_integer_point *point)
    This function rotates and applies perspective on an integer point.
    +
    void render_set(const double dh, const double dv, const double roulis, const render_integer_position *camera)
    Sets up the translation matrices for a new rendering cycle There is no need to call this function if ...
    +
    This is a point which is used for 3d translations and rendering integer mode is the best solution to ...
    Definition: translate.h:36
    const double pi
    -
    FE_integer_position real
    Definition: translate.h:38
    -
    This is a point which is used for 3d translations and rendering integer mode is the best solution to ...
    Definition: translate.h:36
    -
    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
    - - +
    render_integer_position translated
    Definition: translate.h:38
    + +
    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
    double cos(double angle)
    Homemade cosinus implementation, which is faster than casio provided cosinus function.
    +
    this struct is a point in 3d, which has coords save as double it is not recommended to use it for hig...
    Definition: translate.h:23
    -
    - + diff --git a/doc/html/triangle_8h.html b/doc/html/triangle_8h.html index 579c93f..d15e6c3 100644 --- a/doc/html/triangle_8h.html +++ b/doc/html/triangle_8h.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
    - -
    -
    -
    - -
    + +
    triangle.h File Reference
    -
    #include <translate.h>
    +
    #include <render/translate.h>
    +#include <stdbool.h>

    Go to the source code of this file.

    [in]dhCamera's horizontal direction (rad)
    void render_translate (FE_integer_pointrender_integer_point point)
    + +

    Data Structures

    struct  render_triangle
     Triangle struct used to render fonctions. More...
     
    + + + + +

    +Macros

    #define MINIMUM_FRAME_DELAY   3333
     Regulates the maximum fps count to 30 fps. More...
     
    + + + + +

    +Functions

    struct render_triangle render_display_triangle (const render_triangle *face) void render_update(const uint32_t libprof_channel
     Renders a triangle with perspective deformation. More...
     
    + + + + + + + + + + + + + + + + + + + + +

    +Variables

    render_integer_positions1
     
    render_integer_positions2
     
    render_integer_positions3
     
    render_rich_bitmap * texture
     
    bool part
     
    bool clockwised
     
    struct render_triangle const double dh
     
    struct render_triangle const double const double dv
     
    struct render_triangle const double const double const double roulis
     
    struct render_triangle const double const double const double const render_integer_positioncamera
     
    -
    -
    - - + + diff --git a/doc/html/triangle_8h_source.html b/doc/html/triangle_8h_source.html index 966af42..78a77ea 100644 --- a/doc/html/triangle_8h_source.html +++ b/doc/html/triangle_8h_source.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    triangle.h
    -Go to the documentation of this file.
    1 #include <translate.h>
    2 
    4 {
    8 
    9 }
    - -
    FE_integer_position * s2
    Definition: triangle.h:6
    -
    FE_integer_position * s3
    Definition: triangle.h:7
    -
    FE_integer_position * s1
    Definition: triangle.h:5
    -
    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
    +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
    -
    - + diff --git a/doc/html/zbuffer_8h.html b/doc/html/zbuffer_8h.html index 623b8ea..f03b522 100644 --- a/doc/html/zbuffer_8h.html +++ b/doc/html/zbuffer_8h.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ -
    -
    - -
    -
    -
    - -
    + +
    @@ -161,15 +141,11 @@ Functions
    - - + diff --git a/doc/html/zbuffer_8h_source.html b/doc/html/zbuffer_8h_source.html index 08b8667..7f9b41d 100644 --- a/doc/html/zbuffer_8h_source.html +++ b/doc/html/zbuffer_8h_source.html @@ -9,14 +9,6 @@ - - - - - @@ -55,23 +47,6 @@ $(function() { }); /* @license-end */ - -
    - -
    -
    -
    - -
    + +
    zbuffer.h
    @@ -95,15 +75,11 @@ $(document).ready(function(){initNavTree('zbuffer_8h_source.html','');});
    bool render_zbuffer_set_px(uint32_t x, uint32_t y, uint32_t dist)
    - - + diff --git a/doc/man/man3/_home_milan_dev_fxengine_include_.3 b/doc/man/man3/_home_milan_dev_fxengine_include_.3 index db963b0..740e533 100644 --- a/doc/man/man3/_home_milan_dev_fxengine_include_.3 +++ b/doc/man/man3/_home_milan_dev_fxengine_include_.3 @@ -1,4 +1,4 @@ -.TH "include Directory Reference" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "include Directory Reference" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/doc/man/man3/_home_milan_dev_fxengine_include_event_.3 b/doc/man/man3/_home_milan_dev_fxengine_include_event_.3 index db5ca70..43e4657 100644 --- a/doc/man/man3/_home_milan_dev_fxengine_include_event_.3 +++ b/doc/man/man3/_home_milan_dev_fxengine_include_event_.3 @@ -1,4 +1,4 @@ -.TH "include/event Directory Reference" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "include/event Directory Reference" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/doc/man/man3/_home_milan_dev_fxengine_include_render_.3 b/doc/man/man3/_home_milan_dev_fxengine_include_render_.3 index 3950aa7..b6dd884 100644 --- a/doc/man/man3/_home_milan_dev_fxengine_include_render_.3 +++ b/doc/man/man3/_home_milan_dev_fxengine_include_render_.3 @@ -1,4 +1,4 @@ -.TH "include/render Directory Reference" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "include/render Directory Reference" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/doc/man/man3/bitmap.h.3 b/doc/man/man3/bitmap.h.3 index 2987554..6c76b74 100644 --- a/doc/man/man3/bitmap.h.3 +++ b/doc/man/man3/bitmap.h.3 @@ -1,4 +1,4 @@ -.TH "include/render/bitmap.h" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "include/render/bitmap.h" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/doc/man/man3/bitmap_rich.3 b/doc/man/man3/bitmap_rich.3 index 45d3956..cf20ecd 100644 --- a/doc/man/man3/bitmap_rich.3 +++ b/doc/man/man3/bitmap_rich.3 @@ -1,4 +1,4 @@ -.TH "bitmap_rich" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "bitmap_rich" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/doc/man/man3/keyboard.h.3 b/doc/man/man3/keyboard.h.3 index 54462d6..9bed6ab 100644 --- a/doc/man/man3/keyboard.h.3 +++ b/doc/man/man3/keyboard.h.3 @@ -1,4 +1,4 @@ -.TH "include/event/keyboard.h" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "include/event/keyboard.h" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/doc/man/man3/parameters.h.3 b/doc/man/man3/parameters.h.3 index 9e92993..4a4f56e 100644 --- a/doc/man/man3/parameters.h.3 +++ b/doc/man/man3/parameters.h.3 @@ -1,4 +1,4 @@ -.TH "include/render/parameters.h" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "include/render/parameters.h" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/doc/man/man3/render_triangle.3 b/doc/man/man3/render_triangle.3 index 0b27555..eb23608 100644 --- a/doc/man/man3/render_triangle.3 +++ b/doc/man/man3/render_triangle.3 @@ -1,8 +1,9 @@ -.TH "render_triangle" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "render_triangle" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME -render_triangle +render_triangle \- Triangle struct used to render fonctions\&. + .SH SYNOPSIS .br .PP @@ -12,32 +13,70 @@ render_triangle .in +1c .ti -1c -.RI "\fBFE_integer_position\fP * \fBs1\fP" +.RI "\fBrender_integer_position\fP * \fBs1\fP" .br .ti -1c -.RI "\fBFE_integer_position\fP * \fBs2\fP" +.RI "\fBrender_integer_position\fP * \fBs2\fP" .br .ti -1c -.RI "\fBFE_integer_position\fP * \fBs3\fP" +.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 .in -1c .SH "Detailed Description" .PP -Definition at line 3 of file triangle\&.h\&. +Triangle struct used to render fonctions\&. + + +.PP +\fBParameters:\fP +.RS 4 +\fIpart\fP choose the used texture half +.br +\fIclockwised\fP choose the visible side of the face +.br +\fIs1,s2,s3\fP three points +.br +\fItexture\fP used texture +.RE +.PP + +.PP +Definition at line 19 of file triangle\&.h\&. .SH "Field Documentation" .PP -.SS "\fBFE_integer_position\fP* s1" +.SS "bool clockwised" .PP -Definition at line 5 of file triangle\&.h\&. -.SS "\fBFE_integer_position\fP* s2" +Definition at line 28 of file triangle\&.h\&. +.SS "bool part" .PP -Definition at line 6 of file triangle\&.h\&. -.SS "\fBFE_integer_position\fP* s3" +Definition at line 27 of file triangle\&.h\&. +.SS "\fBrender_integer_position\fP* s1" .PP -Definition at line 7 of file triangle\&.h\&. +Definition at line 21 of file triangle\&.h\&. +.SS "\fBrender_integer_position\fP* s2" + +.PP +Definition at line 22 of file triangle\&.h\&. +.SS "\fBrender_integer_position\fP* s3" + +.PP +Definition at line 23 of file triangle\&.h\&. +.SS "render_rich_bitmap* texture" + +.PP +Definition at line 25 of file triangle\&.h\&. .SH "Author" .PP diff --git a/doc/man/man3/translate.h.3 b/doc/man/man3/translate.h.3 index 5384e1a..516ea11 100644 --- a/doc/man/man3/translate.h.3 +++ b/doc/man/man3/translate.h.3 @@ -1,4 +1,4 @@ -.TH "include/render/translate.h" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "include/render/translate.h" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME @@ -15,15 +15,15 @@ include/render/translate.h .in +1c .ti -1c -.RI "struct \fBFE_integer_position\fP" +.RI "struct \fBrender_integer_position\fP" .br .RI "this struct is a point in 3d, which has coords save as uint32_t this is the recommended type for high performance rendering, because the sh3eb-elf architecture is 32 bits " .ti -1c -.RI "struct \fBFE_floating_position\fP" +.RI "struct \fBrender_floating_position\fP" .br .RI "this struct is a point in 3d, which has coords save as double it is not recommended to use it for high performances rendering, because of the sh3eb-elf architecture, which does not support natively floating calculation " .ti -1c -.RI "struct \fBFE_integer_point\fP" +.RI "struct \fBrender_integer_point\fP" .br .RI "This is a point which is used for 3d translations and rendering integer mode is the best solution to increase perfs, and that's why I didn't have implemented te floating_points yet\&. " .in -1c @@ -31,26 +31,26 @@ include/render/translate.h .in +1c .ti -1c -.RI "typedef struct \fBFE_integer_position\fP \fBFE_integer_position\fP" +.RI "typedef struct \fBrender_integer_position\fP \fBrender_integer_position\fP" .br .ti -1c -.RI "typedef struct \fBFE_floating_position\fP \fBFE_floating_position\fP" +.RI "typedef struct \fBrender_floating_position\fP \fBrender_floating_position\fP" .br .ti -1c -.RI "typedef struct \fBFE_integer_point\fP \fBFE_integer_point\fP" +.RI "typedef struct \fBrender_integer_point\fP \fBrender_integer_point\fP" .br .in -1c .SS "Functions" .in +1c .ti -1c -.RI "void \fBrender_translate\fP (\fBFE_integer_point\fP *point)" +.RI "void \fBrender_translate\fP (\fBrender_integer_point\fP *point)" .br .RI "This function rotates and applies perspective on an integer point\&. " .ti -1c -.RI "void \fBrender_set\fP (const double dh, const double dv, const double roulis, const \fBFE_integer_position\fP *camera)" +.RI "void \fBrender_set\fP (const double \fBdh\fP, const double \fBdv\fP, const double \fBroulis\fP, const \fBrender_integer_position\fP *\fBcamera\fP)" .br -.RI "Sets up the translation matrices for a new rendering cycle\&. " +.RI "Sets up the translation matrices for a new rendering cycle There is no need to call this function if you have already called render_update() " .ti -1c .RI "double \fBmodulo_2pi\fP (double a)" .br @@ -79,15 +79,15 @@ include/render/translate.h .in -1c .SH "Typedef Documentation" .PP -.SS "typedef struct \fBFE_floating_position\fP \fBFE_floating_position\fP" +.SS "typedef struct \fBrender_floating_position\fP \fBrender_floating_position\fP" .PP Definition at line 29 of file translate\&.h\&. -.SS "typedef struct \fBFE_integer_point\fP \fBFE_integer_point\fP" +.SS "typedef struct \fBrender_integer_point\fP \fBrender_integer_point\fP" .PP Definition at line 41 of file translate\&.h\&. -.SS "typedef struct \fBFE_integer_position\fP \fBFE_integer_position\fP" +.SS "typedef struct \fBrender_integer_position\fP \fBrender_integer_position\fP" .PP Definition at line 17 of file translate\&.h\&. @@ -125,10 +125,10 @@ angle mesure which respect the following contraint : -pi <= angle <= pi .RE .PP -.SS "void render_set (const double dh, const double dv, const double roulis, const \fBFE_integer_position\fP * camera)" +.SS "void render_set (const double dh, const double dv, const double roulis, const \fBrender_integer_position\fP * camera)" .PP -Sets up the translation matrices for a new rendering cycle\&. +Sets up the translation matrices for a new rendering cycle There is no need to call this function if you have already called render_update() .PP \fBParameters:\fP .RS 4 @@ -142,7 +142,7 @@ Sets up the translation matrices for a new rendering cycle\&. .RE .PP -.SS "void render_translate (\fBFE_integer_point\fP * point)" +.SS "void render_translate (\fBrender_integer_point\fP * point)" .PP This function rotates and applies perspective on an integer point\&. diff --git a/doc/man/man3/triangle.h.3 b/doc/man/man3/triangle.h.3 index 9d2674d..1dae201 100644 --- a/doc/man/man3/triangle.h.3 +++ b/doc/man/man3/triangle.h.3 @@ -1,4 +1,4 @@ -.TH "include/render/triangle.h" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "include/render/triangle.h" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME @@ -6,7 +6,9 @@ include/render/triangle.h .SH SYNOPSIS .br .PP -\fC#include \fP +\fC#include \fP +.br +\fC#include \fP .br .SS "Data Structures" @@ -15,7 +17,131 @@ include/render/triangle.h .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\&. diff --git a/doc/man/man3/zbuffer.h.3 b/doc/man/man3/zbuffer.h.3 index 296f010..6739eb7 100644 --- a/doc/man/man3/zbuffer.h.3 +++ b/doc/man/man3/zbuffer.h.3 @@ -1,4 +1,4 @@ -.TH "include/render/zbuffer.h" 3 "Thu Aug 29 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- +.TH "include/render/zbuffer.h" 3 "Fri Aug 30 2019" "Version 0.0.1" "FxEngine" \" -*- nroff -*- .ad l .nh .SH NAME diff --git a/include/render/bitmap.h b/include/render/bitmap.h index 1c34a26..6dd8b89 100644 --- a/include/render/bitmap.h +++ b/include/render/bitmap.h @@ -1,3 +1,6 @@ +#ifndef RENDER_BITMAP +#define RENDER_BITMAP + #include #include @@ -15,7 +18,7 @@ struct bitmap_rich uint32_t * color; bool color_dynamic; uint32_t * layout; - bool layout dynamic; + bool layout_dynamic; }; typedef struct bitmap_rich bitmap_rich; @@ -62,7 +65,7 @@ void bitmap_delete_rich(bitmap_rich* bmp); * } * else */ -inline uint8_t bitmap_get_pixel_r(const bitmap_rich * bmp, uint32_t x, uint32_t y); +uint8_t bitmap_get_pixel_r(const bitmap_rich * bmp, uint32_t x, uint32_t y); /** @@ -78,3 +81,4 @@ void bitmap_display_pixel_r(const bitmap_rich * bmp, uint32_t bmp_x, uint32_t bm +#endif diff --git a/include/render/translate.h b/include/render/translate.h index afff677..9db18d0 100644 --- a/include/render/translate.h +++ b/include/render/translate.h @@ -8,37 +8,38 @@ * @brief this struct is a point in 3d, which has coords save as uint32_t * this is the recommended type for high performance rendering, because the sh3eb-elf architecture is 32 bits */ -struct FE_integer_position +struct render_integer_position { int32_t x, y, z; }; -typedef struct FE_integer_position FE_integer_position; +typedef struct render_integer_position render_integer_position; /** * @brief this struct is a point in 3d, which has coords save as double * it is not recommended to use it for high performances rendering, because of the sh3eb-elf architecture, which does not support natively floating calculation */ -struct FE_floating_position +struct render_floating_position { double x, y, z; }; -typedef struct FE_floating_position FE_floating_position; +typedef struct render_floating_position render_floating_position; /** * @brief This is a point which is used for 3d translations and rendering * integer mode is the best solution to increase perfs, and that's why I didn't have implemented te floating_points yet. */ -struct FE_integer_point +struct render_integer_point { - FE_integer_position real, - translated; + render_integer_position real; + render_integer_position translated; }; -typedef struct FE_integer_point FE_integer_point; + +typedef struct render_integer_point render_integer_point; // applique la matrice de rotation et les deltas sur les coordonnées d'un point @@ -48,19 +49,20 @@ typedef struct FE_integer_point FE_integer_point; * * @param point The point which needs to be translated */ -void render_translate(FE_integer_point * point); +void render_translate(render_integer_point * point); /** * @brief Sets up the translation matrices for a new rendering cycle + * There is no need to call this function if you have already called render_update() * * @param[in] dh Camera's horizontal direction (rad) * @param[in] dv Camera's vertical direction (rad) * @param[in] roulis Optionnal rotation around the middle of the screen * @param[in] camera The camera's coordinates, as an integer position */ -void render_set(const double dh, const double dv, const double roulis, const FE_integer_position * camera); +void render_set(const double dh, const double dv, const double roulis, const render_integer_position * camera); diff --git a/libfxengine.a b/libfxengine.a index 8b277f0dd5dcdcb9c4b6c0b7a32153664f111266..031336058967765b373d6288a91989de72bb8ac8 100644 GIT binary patch literal 10040 zcmc&a3s75EcK7iR2%az>VI(l@6M{GpI|vD|N$ker;{=0aED(}2aaMZLdjc7Ou_QZo zy0g&Ydc!yj4o=*3v%7WUG;ybyl1ZjXrkl=W;-}VxI;> z#cGROz@176(Go&^ASD$~NNh?yNyzu5oCAbl$_rp}J-*)6DeUoV=YqT|CL@WkF1QM6#dr z?DYAdpf@0JV1leh;bNP5c1PGdd-zz@yliMV=;ylI0|HU{r_5Wn9mfvG%lwGBstSh5 zTwWggTvb_VFjQAd<7Y6qQ+wBMe4I+4VAy1!$U}g|FcQ>2)1*?&FCi&JZQ5r#bUOV^ zM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@6cg`&^QaOp!2jza_~Dp1 z$m=n2kfYHU1O@wt5`&;8;My$fr!PkBq`!>vRp+B|4Hd}iWO)_HM`9cxpR4eHABj^C z)inqmDttI=FO%`4L_&U|;A%ox3IC(rWs(&C1^q1gCwwoHaVrvVCHM%&U?m{mbC*f7 zf=n#P?To+6h;q>O2tc2R5O #include +#include #include bitmap_rich* bitmap_new_rich(uint32_t size_px_x, uint32_t size_px_y, uint32_t* color, bool copy_color, uint32_t *layout, bool copy_layout) @@ -13,10 +14,10 @@ bitmap_rich* bitmap_new_rich(uint32_t size_px_x, uint32_t size_px_y, uint32_t* c bmp->size_o_y = 1 + (size_px_x - 1)/(8*sizeof(uint32_t)); - bmp->copy_dynamic = copy_color; + bmp->color_dynamic = copy_color; bmp->layout_dynamic = copy_layout; - uint32_t size_octets = size_px_y * size_o_y * sizeof(uint32_t); + uint32_t size_octets = size_px_y * bmp->size_o_y * sizeof(uint32_t); if (copy_color) { @@ -64,7 +65,7 @@ void bitmap_delete_rich(bitmap_rich* bmp) free(bmp); } -inline uint8_t bitmap_get_pixel_r(const bitmap_rich * bmp, uint32_t x, uint32_t y) +uint8_t bitmap_get_pixel_r(const bitmap_rich * bmp, uint32_t x, uint32_t y) { if (x >= bmp->size_px_x || y >= bmp->size_px_y) return 0; diff --git a/src/render/translate.c b/src/render/translate.c index 7e1cb0c..62c8d8f 100644 --- a/src/render/translate.c +++ b/src/render/translate.c @@ -8,7 +8,7 @@ const double pi2 = pi * 2; const double pi_sur_2 = pi / 2; -inline double reducted_cos(const double a) +double reducted_cos(const double a) { double u= 1.0; const double a2 = a * a; @@ -52,12 +52,12 @@ static double matrice[3][3]= {0,0,0} }; -static FE_integer_position delta; +static render_integer_position delta; -void render_translate(FE_integer_point * point) +void render_translate(render_integer_point * point) { - static FE_integer_position temp; + static render_integer_position temp; temp.x = point->real.x - delta.x; temp.y = point->real.y - delta.y; temp.z = point->real.z - delta.z; @@ -87,7 +87,7 @@ void render_translate(FE_integer_point * point) point->translated.y+=render_y_mid; } -void render_set(const double dh, const double dv, const double roulis, const FE_integer_position * camera) +void render_set(const double dh, const double dv, const double roulis, const render_integer_position * camera) { const double A=cos(dv); const double B=sin(dv); @@ -114,5 +114,5 @@ void render_set(const double dh, const double dv, const double roulis, const FE_ matrice[2][2]=A*C; // assigner delta - memcpy(&delta, camera, sizeof(FE_integer_position)); + memcpy(&delta, camera, sizeof(render_integer_position)); } diff --git a/src/render/zbuffer.c b/src/render/zbuffer.c index c84008a..2e31328 100644 --- a/src/render/zbuffer.c +++ b/src/render/zbuffer.c @@ -17,21 +17,22 @@ static const int size_char = size_uint32 * sizeof(uint32_t); // zbuffer et clear val sont 32B alignés pour ajouter éventuellement le DMA -static int32_t *zbuffer = (void *)0x88080000 - ((size_char / 32) * 32 + 1); +static int32_t *zbuffer = (void *)0x88080000 - (((size_char >> 5) << 5) + 1); // gint doesn't provide any prototype for that function which is implemented -extern void dma_memset(void *dst, uint32_t l, size_t size); + +/// extern void dma_memset(void *dst, uint32_t l, size_t size); void render_zbuffer_clear() { uint32_t indice = 0; - if (isSH3()) + /// if (isSH3()) for (indice = 0; indice < size_uint32; indice ++) zbuffer[indice] = render_max_dist; - else - dma_memset(zbuffer, render_max_dist, size_char); + /// else + /// dma_memset(zbuffer, render_max_dist, size_char); }