add triangles notion (incomplete)

This commit is contained in:
util1 2019-07-25 13:23:41 +02:00
parent e3b66dd532
commit 46baf3d648
11 changed files with 294 additions and 251 deletions

BIN
1v13D.g1a

Binary file not shown.

Binary file not shown.

View File

@ -112,6 +112,7 @@ Discarded input sections
.comment 0x0000000000000000 0x12 build-fx/src/FxEngine/texture.o
.comment 0x0000000000000000 0x12 build-fx/src/FxEngine/coord.o
.comment 0x0000000000000000 0x12 build-fx/src/FxEngine/FxEngine.o
.comment 0x0000000000000000 0x12 build-fx/src/FxEngine/face.o
.comment 0x0000000000000000 0x12 build-fx/src/FxEngine/zbuffer.o
.comment 0x0000000000000000 0x12 build-fx/src/main.o
.comment 0x0000000000000000 0x12 build-fx/src/controls.o
@ -285,6 +286,7 @@ LOAD build-fx/src/FxEngine/libprof.o
LOAD build-fx/src/FxEngine/texture.o
LOAD build-fx/src/FxEngine/coord.o
LOAD build-fx/src/FxEngine/FxEngine.o
LOAD build-fx/src/FxEngine/face.o
LOAD build-fx/src/FxEngine/zbuffer.o
LOAD build-fx/src/main.o
LOAD build-fx/src/controls.o
@ -293,7 +295,7 @@ LOAD build-fx/assets/fonts/FxEngine.png.o
LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a
LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x0000000000300000 _brom = 0x300000
0x0000000000004e7c _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
0x0000000000004eb4 _srom = ((((0x200 + SIZEOF (.text)) + SIZEOF (.rodata)) + SIZEOF (.gint.drivers)) + SIZEOF (.gint.blocks))
.pretext 0x0000000000300200 0x890
*(.pretext.entry)
@ -332,7 +334,7 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*(.dtors .dtors.*)
0x0000000000300a90 _etors = .
.text 0x0000000000300a90 0x4258
.text 0x0000000000300a90 0x4290
*(.text .text.*)
.text 0x0000000000300a90 0x154 build-fx/src/FxEngine/libprof.o
0x0000000000300a90 _prof_time
@ -340,275 +342,277 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x0000000000300b08 _prof_init
.text 0x0000000000300be4 0x24 build-fx/src/FxEngine/texture.o
0x0000000000300be4 _FE_get_pixel
.text 0x0000000000300c08 0x520 build-fx/src/FxEngine/coord.o
.text 0x0000000000300c08 0x554 build-fx/src/FxEngine/coord.o
0x0000000000300c08 _FE_modulo_2pi
0x0000000000300cb8 _FE_cos
0x0000000000300df8 _FE_sin
0x0000000000300e20 _FE_calc
0x0000000000300f80 _FE_set_matrice
.text 0x0000000000301128 0x394 build-fx/src/FxEngine/FxEngine.o
0x0000000000301128 _FE_new_frame
0x0000000000301400 _FE_get_fps_history
0x000000000030145c _FE_get_fps_current
0x000000000030147c _FE_get_fps_min
0x000000000030149c _FE_get_fps_max
.text 0x00000000003014bc 0xb4 build-fx/src/FxEngine/zbuffer.o
0x00000000003014bc _FE_zbuffer_clear
0x0000000000301524 _FE_zbuffer_set_dist
.text 0x0000000000301570 0x0 build-fx/src/main.o
.text.startup 0x0000000000301570 0x7c build-fx/src/main.o
0x0000000000301570 _main
.text 0x00000000003015ec 0x74 build-fx/src/controls.o
0x00000000003015ec _init_controls
0x00000000003015fc _reload_fps_displaying
0x0000000000301620 _display_fps
.text 0x0000000000301660 0x150 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x00000000003017a4 _clock_freq
.text 0x00000000003017b0 0x2c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000301954 _pollevent
0x0000000000301a40 _waitevent
.text 0x0000000000301a78 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x0000000000301a78 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x0000000000301a78 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x0000000000301a78 0x1f4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x0000000000301a78 _tlb_addr
0x0000000000301a8c _tlb_data
0x0000000000301aa0 _tlb_mapped_memory
0x0000000000301b74 _utlb_addr
0x0000000000301b84 _utlb_data
0x0000000000301b94 _utlb_mapped_memory
.text 0x0000000000301c6c 0x56c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000301f8c _timer_setup
0x000000000030201c _timer_delay
0x000000000030207c _timer_start
0x00000000003020b0 _timer_reload
0x00000000003020d0 _timer_pause
0x0000000000302104 _timer_stop
0x0000000000302160 _timer_timeout
0x000000000030216c _timer_address
0x00000000003021a8 _timer_clear
.text 0x00000000003021d8 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x00000000003021d8 _dsize
.text 0x0000000000302274 0x50 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
0x0000000000302274 _dpixel
.text 0x00000000003022c4 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
0x00000000003022c4 _dimage
0x00000000003022f8 _dsubimage
.text 0x0000000000302318 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x0000000000302318 _dupdate
0x0000000000302330 _dupdate_noint
.text 0x000000000030233c 0x4c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x000000000030233c _dclear
.text 0x0000000000302388 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x0000000000302388 0xc00 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x0000000000302cb0 _kprint_opt
0x0000000000302de8 _kprint
0x0000000000302ec0 _kvsprint
0x0000000000302f08 _sprintf
0x0000000000302f30 _vsprintf
0x0000000000302f50 _snprintf
0x0000000000302f70 _vsnprintf
.text 0x0000000000302f88 0xdc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x0000000000302f88 _memcpy
0x0000000000303042 __memmove
0x0000000000303046 __memcmp
0x000000000030304a _memset
.text 0x0000000000303064 0x1d8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x00000000003030fc _t6k11_display
0x00000000003031d0 _t6k11_contrast
0x00000000003031fc _t6k11_backlight
.text 0x000000000030323c 0x1c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
0x000000000030323c _getkey_opt
0x00000000003033bc _getkey
0x00000000003033c8 _getkey_repeat
.text 0x0000000000303404 0x124 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
0x0000000000303410 _iokbd_row
0x00000000003034f8 _iokbd_scan
.text 0x0000000000303528 0x170 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x00000000003035dc _gint_install
0x0000000000303680 _gint_unload
.text 0x0000000000303698 0x2c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x0000000000303698 _gint_setvbr
.text 0x00000000003036c4 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x00000000003036c4 _gint_intlevel
0x0000000000303718 _gint_inthandler
.text 0x000000000030373c 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x000000000030373c 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.text 0x000000000030373c 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x000000000030373c 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x000000000030373c 0x3b0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
0x000000000030373c _bopti_grid
0x0000000000303892 _bopti_render
0x0000000000303998 _bopti_render_clip
0x0000000000303aa0 _bopti_render_noclip
.text 0x0000000000303aec 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(masks.c.o)
0x0000000000303aec _masks
.text 0x0000000000303b88 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti-asm.s.o)
0x0000000000303b88 _bopti_asm_mono
0x0000000000303bae _bopti_asm_mono_alpha
0x0000000000303be0 _bopti_asm_gray
0x0000000000303be4 _bopti_asm_gray_alpha
.text 0x0000000000303be8 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000303be8 ___movstr
0x0000000000303be8 ___movmem
0x0000000000303c1c ___movmemSI64
0x0000000000303c1c ___movstrSI64
0x0000000000303c20 ___movstrSI60
0x0000000000303c20 ___movmemSI60
0x0000000000303c24 ___movmemSI56
0x0000000000303c24 ___movstrSI56
0x0000000000303c28 ___movstrSI52
0x0000000000303c28 ___movmemSI52
0x0000000000303c2c ___movstrSI48
0x0000000000303c2c ___movmemSI48
0x0000000000303c30 ___movstrSI44
0x0000000000303c30 ___movmemSI44
0x0000000000303c34 ___movstrSI40
0x0000000000303c34 ___movmemSI40
0x0000000000303c38 ___movstrSI36
0x0000000000303c38 ___movmemSI36
0x0000000000303c3c ___movmemSI32
0x0000000000303c3c ___movstrSI32
0x0000000000303c40 ___movmemSI28
0x0000000000303c40 ___movstrSI28
0x0000000000303c44 ___movstrSI24
0x0000000000303c44 ___movmemSI24
0x0000000000303c48 ___movmemSI20
0x0000000000303c48 ___movstrSI20
0x0000000000303c4c ___movstrSI16
0x0000000000303c4c ___movmemSI16
0x0000000000303c50 ___movmemSI12
0x0000000000303c50 ___movstrSI12
0x0000000000303c54 ___movmemSI8
0x0000000000303c54 ___movstrSI8
0x0000000000303c58 ___movmemSI4
0x0000000000303c58 ___movstrSI4
.text 0x0000000000303c60 0xa0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_sdivsi3.o)
0x0000000000303c60 ___sdivsi3
.text 0x0000000000303d00 0x6c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x0000000000303d22 ___udivsi3
.text 0x0000000000303d6c 0x1f0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x0000000000303d6c ___udivdi3
.text 0x0000000000303f5c 0x348 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
0x0000000000304200 ___adddf3
0x0000000000304250 ___subdf3
.text 0x00000000003042a4 0x208 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
0x00000000003042a4 ___muldf3
.text 0x00000000003044ac 0x130 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
0x00000000003044ac ___divdf3
.text 0x00000000003045dc 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
0x00000000003045dc ___gtdf2
.text 0x0000000000304634 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_ge_df.o)
0x0000000000304634 ___gedf2
.text 0x000000000030468c 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_lt_df.o)
0x000000000030468c ___ltdf2
.text 0x00000000003046e4 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
0x00000000003046e4 ___ledf2
.text 0x000000000030473c 0x98 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
0x000000000030473c ___floatsidf
.text 0x00000000003047d4 0x8c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
0x00000000003047d4 ___fixdfsi
.text 0x0000000000304860 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
.text 0x0000000000304860 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000304860 ___udiv_qrnnd_16
.text 0x00000000003048c0 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.text 0x00000000003048c0 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
0x00000000003048c0 ___clzsi2
.text 0x0000000000304914 0x240 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
0x0000000000304914 ___pack_d
.text 0x0000000000304b54 0xcc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
0x0000000000304b54 ___unpack_d
.text 0x0000000000304c20 0xc8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
0x0000000000304c20 ___fpcmp_parts_d
0x0000000000300fb4 _FE_set_matrice
.text 0x000000000030115c 0x394 build-fx/src/FxEngine/FxEngine.o
0x000000000030115c _FE_new_frame
0x0000000000301434 _FE_get_fps_history
0x0000000000301490 _FE_get_fps_current
0x00000000003014b0 _FE_get_fps_min
0x00000000003014d0 _FE_get_fps_max
.text 0x00000000003014f0 0x0 build-fx/src/FxEngine/face.o
.text 0x00000000003014f0 0xb4 build-fx/src/FxEngine/zbuffer.o
0x00000000003014f0 _FE_zbuffer_clear
0x0000000000301558 _FE_zbuffer_set_dist
.text 0x00000000003015a4 0x0 build-fx/src/main.o
.text.startup 0x00000000003015a4 0x7c build-fx/src/main.o
0x00000000003015a4 _main
.text 0x0000000000301620 0x74 build-fx/src/controls.o
0x0000000000301620 _init_controls
0x0000000000301630 _reload_fps_displaying
0x0000000000301654 _display_fps
.text 0x0000000000301694 0x150 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x00000000003017d8 _clock_freq
.text 0x00000000003017e4 0x2c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000301988 _pollevent
0x0000000000301a74 _waitevent
.text 0x0000000000301aac 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(hardware.c.o)
.text 0x0000000000301aac 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(syscalls.S.o)
.text 0x0000000000301aac 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(start.c.o)
.text 0x0000000000301aac 0x1f4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(mmu.c.o)
0x0000000000301aac _tlb_addr
0x0000000000301ac0 _tlb_data
0x0000000000301ad4 _tlb_mapped_memory
0x0000000000301ba8 _utlb_addr
0x0000000000301bb8 _utlb_data
0x0000000000301bc8 _utlb_mapped_memory
.text 0x0000000000301ca0 0x56c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000301fc0 _timer_setup
0x0000000000302050 _timer_delay
0x00000000003020b0 _timer_start
0x00000000003020e4 _timer_reload
0x0000000000302104 _timer_pause
0x0000000000302138 _timer_stop
0x0000000000302194 _timer_timeout
0x00000000003021a0 _timer_address
0x00000000003021dc _timer_clear
.text 0x000000000030220c 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x000000000030220c _dsize
.text 0x00000000003022a8 0x50 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dpixel.c.o)
0x00000000003022a8 _dpixel
.text 0x00000000003022f8 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dimage.c.o)
0x00000000003022f8 _dimage
0x000000000030232c _dsubimage
.text 0x000000000030234c 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dupdate.c.o)
0x000000000030234c _dupdate
0x0000000000302364 _dupdate_noint
.text 0x0000000000302370 0x4c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(dclear.c.o)
0x0000000000302370 _dclear
.text 0x00000000003023bc 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.text 0x00000000003023bc 0xc00 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
0x0000000000302ce4 _kprint_opt
0x0000000000302e1c _kprint
0x0000000000302ef4 _kvsprint
0x0000000000302f3c _sprintf
0x0000000000302f64 _vsprintf
0x0000000000302f84 _snprintf
0x0000000000302fa4 _vsnprintf
.text 0x0000000000302fbc 0xdc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(memory.c.o)
0x0000000000302fbc _memcpy
0x0000000000303076 __memmove
0x000000000030307a __memcmp
0x000000000030307e _memset
.text 0x0000000000303098 0x1d8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000303130 _t6k11_display
0x0000000000303204 _t6k11_contrast
0x0000000000303230 _t6k11_backlight
.text 0x0000000000303270 0x1c8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(getkey.c.o)
0x0000000000303270 _getkey_opt
0x00000000003033f0 _getkey
0x00000000003033fc _getkey_repeat
.text 0x0000000000303438 0x124 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(iokbd.c.o)
0x0000000000303444 _iokbd_row
0x000000000030352c _iokbd_scan
.text 0x000000000030355c 0x170 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(setup.c.o)
0x0000000000303610 _gint_install
0x00000000003036b4 _gint_unload
.text 0x00000000003036cc 0x2c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(vbr.s.o)
0x00000000003036cc _gint_setvbr
.text 0x00000000003036f8 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(gint.c.o)
0x00000000003036f8 _gint_intlevel
0x000000000030374c _gint_inthandler
.text 0x0000000000303770 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
.text 0x0000000000303770 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
.text 0x0000000000303770 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
.text 0x0000000000303770 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti-asm.s.o)
.text 0x0000000000303770 0x3b0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti.c.o)
0x0000000000303770 _bopti_grid
0x00000000003038c6 _bopti_render
0x00000000003039cc _bopti_render_clip
0x0000000000303ad4 _bopti_render_noclip
.text 0x0000000000303b20 0x9c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(masks.c.o)
0x0000000000303b20 _masks
.text 0x0000000000303bbc 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(bopti-asm.s.o)
0x0000000000303bbc _bopti_asm_mono
0x0000000000303be2 _bopti_asm_mono_alpha
0x0000000000303c14 _bopti_asm_gray
0x0000000000303c18 _bopti_asm_gray_alpha
.text 0x0000000000303c1c 0x78 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_movmem.o)
0x0000000000303c1c ___movstr
0x0000000000303c1c ___movmem
0x0000000000303c50 ___movmemSI64
0x0000000000303c50 ___movstrSI64
0x0000000000303c54 ___movstrSI60
0x0000000000303c54 ___movmemSI60
0x0000000000303c58 ___movmemSI56
0x0000000000303c58 ___movstrSI56
0x0000000000303c5c ___movstrSI52
0x0000000000303c5c ___movmemSI52
0x0000000000303c60 ___movstrSI48
0x0000000000303c60 ___movmemSI48
0x0000000000303c64 ___movstrSI44
0x0000000000303c64 ___movmemSI44
0x0000000000303c68 ___movstrSI40
0x0000000000303c68 ___movmemSI40
0x0000000000303c6c ___movstrSI36
0x0000000000303c6c ___movmemSI36
0x0000000000303c70 ___movmemSI32
0x0000000000303c70 ___movstrSI32
0x0000000000303c74 ___movmemSI28
0x0000000000303c74 ___movstrSI28
0x0000000000303c78 ___movstrSI24
0x0000000000303c78 ___movmemSI24
0x0000000000303c7c ___movmemSI20
0x0000000000303c7c ___movstrSI20
0x0000000000303c80 ___movstrSI16
0x0000000000303c80 ___movmemSI16
0x0000000000303c84 ___movmemSI12
0x0000000000303c84 ___movstrSI12
0x0000000000303c88 ___movmemSI8
0x0000000000303c88 ___movstrSI8
0x0000000000303c8c ___movmemSI4
0x0000000000303c8c ___movstrSI4
.text 0x0000000000303c94 0xa0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_sdivsi3.o)
0x0000000000303c94 ___sdivsi3
.text 0x0000000000303d34 0x6c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivsi3.o)
0x0000000000303d56 ___udivsi3
.text 0x0000000000303da0 0x1f0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udivdi3.o)
0x0000000000303da0 ___udivdi3
.text 0x0000000000303f90 0x348 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_addsub_df.o)
0x0000000000304234 ___adddf3
0x0000000000304284 ___subdf3
.text 0x00000000003042d8 0x208 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_mul_df.o)
0x00000000003042d8 ___muldf3
.text 0x00000000003044e0 0x130 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_div_df.o)
0x00000000003044e0 ___divdf3
.text 0x0000000000304610 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_gt_df.o)
0x0000000000304610 ___gtdf2
.text 0x0000000000304668 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_ge_df.o)
0x0000000000304668 ___gedf2
.text 0x00000000003046c0 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_lt_df.o)
0x00000000003046c0 ___ltdf2
.text 0x0000000000304718 0x58 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_le_df.o)
0x0000000000304718 ___ledf2
.text 0x0000000000304770 0x98 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_si_to_df.o)
0x0000000000304770 ___floatsidf
.text 0x0000000000304808 0x8c /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_df_to_si.o)
0x0000000000304808 ___fixdfsi
.text 0x0000000000304894 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
*fill* 0x0000000000304894 0x4
.text 0x0000000000304898 0x60 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_udiv_qrnnd_16.o)
0x0000000000304898 ___udiv_qrnnd_16
.text 0x00000000003048f8 0x0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
.text 0x00000000003048f8 0x54 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clzsi2.o)
0x00000000003048f8 ___clzsi2
.text 0x000000000030494c 0x240 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_pack_df.o)
0x000000000030494c ___pack_d
.text 0x0000000000304b8c 0xcc /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_unpack_df.o)
0x0000000000304b8c ___unpack_d
.text 0x0000000000304c58 0xc8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_fpcmp_parts_df.o)
0x0000000000304c58 ___fpcmp_parts_d
*(C P)
.gint.blocks 0x0000000000304cf0 0x140
.gint.blocks 0x0000000000304d20 0x140
*(.gint.blocks)
.gint.blocks 0x0000000000304cf0 0x40 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x0000000000304cf0 _inth_entry_7305
0x0000000000304d10 _inth_entry_7705
.gint.blocks 0x0000000000304d30 0x20 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
0x0000000000304d30 _exch_entry_7705
0x0000000000304d30 _exch_entry_7305
.gint.blocks 0x0000000000304d50 0xe0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x0000000000304d50 _inth_tmu
0x0000000000304dd0 _inth_etmu2
0x0000000000304df0 _inth_etmu_help
0x0000000000304e10 _inth_etmux
.gint.blocks 0x0000000000304d20 0x40 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.S.o)
0x0000000000304d20 _inth_entry_7305
0x0000000000304d40 _inth_entry_7705
.gint.blocks 0x0000000000304d60 0x20 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(exch.S.o)
0x0000000000304d60 _exch_entry_7705
0x0000000000304d60 _exch_entry_7305
.gint.blocks 0x0000000000304d80 0xe0 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(inth.s.o)
0x0000000000304d80 _inth_tmu
0x0000000000304e00 _inth_etmu2
0x0000000000304e20 _inth_etmu_help
0x0000000000304e40 _inth_etmux
.gint.drivers 0x0000000000304e30 0x90
0x0000000000304e30 _bdrv = .
.gint.drivers 0x0000000000304e60 0x90
0x0000000000304e60 _bdrv = .
*(.gint.drivers.0)
*(.gint.drivers.1)
.gint.drivers.1
0x0000000000304e30 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000304e30 _drv_cpg
0x0000000000304e60 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x0000000000304e60 _drv_cpg
*(.gint.drivers.2)
.gint.drivers.2
0x0000000000304e54 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000304e54 _drv_tmu
0x0000000000304e84 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
0x0000000000304e84 _drv_tmu
*(.gint.drivers.3)
*(.gint.drivers.4)
.gint.drivers.4
0x0000000000304e78 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000304e78 _drv_keysc
0x0000000000304ea8 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
0x0000000000304ea8 _drv_keysc
*(.gint.drivers.5)
.gint.drivers.5
0x0000000000304e9c 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000304e9c _drv_t6k11
0x0000000000304ecc 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000304ecc _drv_t6k11
*(.gint.drivers.6)
0x0000000000304ec0 _edrv = .
0x0000000000304ef0 _edrv = .
.rodata 0x0000000000304ec0 0x854
.rodata 0x0000000000304ef0 0x854
*(.rodata .rodata.*)
.rodata 0x0000000000304ec0 0x10 build-fx/src/FxEngine/texture.o
0x0000000000304ec0 _FE_textures
.rodata 0x0000000000304ed0 0x18 build-fx/src/FxEngine/coord.o
0x0000000000304ed0 _pi_sur2
0x0000000000304ed8 _pi2
0x0000000000304ee0 _pi
.rodata 0x0000000000304ef0 0x10 build-fx/src/FxEngine/texture.o
0x0000000000304ef0 _FE_textures
.rodata 0x0000000000304f00 0x18 build-fx/src/FxEngine/coord.o
0x0000000000304f00 _pi_sur2
0x0000000000304f08 _pi2
0x0000000000304f10 _pi
.rodata.str1.4
0x0000000000304ee8 0x9 build-fx/src/FxEngine/FxEngine.o
*fill* 0x0000000000304ef1 0x3
0x0000000000304f18 0x9 build-fx/src/FxEngine/FxEngine.o
*fill* 0x0000000000304f21 0x3
.rodata.str1.4
0x0000000000304ef4 0x12 build-fx/src/FxEngine/zbuffer.o
*fill* 0x0000000000304f06 0x2
.rodata 0x0000000000304f08 0x60 build-fx/src/main.o
0x0000000000304f24 0x12 build-fx/src/FxEngine/zbuffer.o
*fill* 0x0000000000304f36 0x2
.rodata 0x0000000000304f38 0x60 build-fx/src/main.o
.rodata.str1.4
0x0000000000304f68 0x3 build-fx/src/controls.o
*fill* 0x0000000000304f6b 0x1
.rodata 0x0000000000304f6c 0x24 build-fx/assets/img/fps.png.o
0x0000000000304f6c _img_fps
0x0000000000304f90 _img_fps_end
.rodata 0x0000000000304f90 0x204 build-fx/assets/fonts/FxEngine.png.o
0x0000000000304f90 _font_FxEngine
0x0000000000305194 _font_FxEngine_end
0x0000000000304f98 0x3 build-fx/src/controls.o
*fill* 0x0000000000304f9b 0x1
.rodata 0x0000000000304f9c 0x24 build-fx/assets/img/fps.png.o
0x0000000000304f9c _img_fps
0x0000000000304fc0 _img_fps_end
.rodata 0x0000000000304fc0 0x204 build-fx/assets/fonts/FxEngine.png.o
0x0000000000304fc0 _font_FxEngine
0x00000000003051c4 _font_FxEngine_end
.rodata.str1.4
0x0000000000305194 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
0x00000000003051c4 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.rodata.str1.4
0x0000000000305198 0x6 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
*fill* 0x000000000030519e 0x2
0x00000000003051c8 0x6 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
*fill* 0x00000000003051ce 0x2
.rodata.str1.4
0x00000000003051a0 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.rodata 0x00000000003051a4 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
0x00000000003051d0 0x4 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(tmu.c.o)
.rodata 0x00000000003051d4 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(topti.c.o)
.rodata.str1.4
0x00000000003051bc 0x31 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
*fill* 0x00000000003051ed 0x3
0x00000000003051ec 0x31 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(stdio.c.o)
*fill* 0x000000000030521d 0x3
.rodata.str1.4
0x00000000003051f0 0x8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x0000000000305220 0x8 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(t6k11.c.o)
0x6 (size before relaxing)
.rodata 0x00000000003051f8 0x408 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x00000000003051f8 _gint_font5x7
0x0000000000305600 _gint_font5x7_end
.rodata 0x0000000000305600 0x14 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
0x0000000000305600 ___thenan_df
.rodata 0x0000000000305614 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x0000000000305614 ___clz_tab
.rodata 0x0000000000305228 0x408 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(font5x7.png.o)
0x0000000000305228 _gint_font5x7
0x0000000000305630 _gint_font5x7_end
.rodata 0x0000000000305630 0x14 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_thenan_df.o)
0x0000000000305630 ___thenan_df
.rodata 0x0000000000305644 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a(_clz.o)
0x0000000000305644 ___clz_tab
.rela.dyn 0x0000000000305714 0x0
.rela.text 0x0000000000305714 0x0 build-fx/src/FxEngine/coord.o
.rela.dyn 0x0000000000305744 0x0
.rela.text 0x0000000000305744 0x0 build-fx/src/FxEngine/coord.o
.rela.pretext.entry
0x0000000000305714 0x0 build-fx/src/FxEngine/coord.o
0x0000000000305744 0x0 build-fx/src/FxEngine/coord.o
0x0000000008100000 . = ORIGIN (ram)
.bss 0x0000000008100000 0x5b0
@ -626,6 +630,7 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x0000000008100040 _FE_dh
0x0000000008100048 _FE_dv
0x0000000008100050 _FE_roulis
.bss 0x0000000008100058 0x0 build-fx/src/FxEngine/face.o
.bss 0x0000000008100058 0x4 build-fx/src/FxEngine/zbuffer.o
.bss 0x000000000810005c 0x0 build-fx/src/main.o
.bss 0x000000000810005c 0xa build-fx/src/controls.o
@ -683,14 +688,15 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*fill* 0x00000000081005ac 0x4
0x00000000000005b0 _sbss = SIZEOF (.bss)
.data 0x00000000081005b0 0x110 load address 0x0000000000305714
0x0000000000305714 _ldata = LOADADDR (.data)
.data 0x00000000081005b0 0x110 load address 0x0000000000305744
0x0000000000305744 _ldata = LOADADDR (.data)
0x00000000081005b0 _rdata = .
*(.data .data.*)
.data 0x00000000081005b0 0x0 build-fx/src/FxEngine/libprof.o
.data 0x00000000081005b0 0x0 build-fx/src/FxEngine/texture.o
.data 0x00000000081005b0 0x80 build-fx/src/FxEngine/coord.o
.data 0x0000000008100630 0x8 build-fx/src/FxEngine/FxEngine.o
.data 0x0000000008100638 0x0 build-fx/src/FxEngine/face.o
.data 0x0000000008100638 0x0 build-fx/src/FxEngine/zbuffer.o
.data 0x0000000008100638 0x0 build-fx/src/main.o
.data 0x0000000008100638 0x0 build-fx/src/controls.o
@ -749,15 +755,15 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
*(D)
0x00000000081006c0 . = ALIGN (0x10)
.data.4 0x00000000081006c0 0x0 load address 0x0000000000305824
.data.4 0x00000000081006c0 0x0 load address 0x0000000000305854
*(.data.4)
0x00000000081006c0 . = ALIGN (0x10)
0x0000000000000110 _sdata = (SIZEOF (.data) + SIZEOF (.data.4))
0x000000008800df00 _gint_vbr = 0x8800df00
0x000000008800f400 . = ORIGIN (rram)
.gint.data 0x000000008800f400 0x130 load address 0x0000000000305824
0x0000000000305824 _lgdata = LOADADDR (.gint.data)
.gint.data 0x000000008800f400 0x130 load address 0x0000000000305854
0x0000000000305854 _lgdata = LOADADDR (.gint.data)
0x000000008800f400 _rgdata = .
*(.gint.data .gint.data.*)
.gint.data 0x000000008800f400 0x18 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)
@ -775,7 +781,7 @@ LOAD /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgcc.a
0x000000008800f530 . = ALIGN (0x10)
0x0000000000000130 _sgdata = SIZEOF (.gint.data)
.gint.bss 0x000000008800f530 0x210 load address 0x0000000000305954
.gint.bss 0x000000008800f530 0x210 load address 0x0000000000305984
*(.gint.bss .gint.bss.*)
.gint.bss 0x000000008800f530 0x24 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(cpg.c.o)
.gint.bss 0x000000008800f554 0x100 /home/util1/Bureau/MILAN/gcc/lib/gcc/sh3eb-elf/9.1.0/libgint-fx.a(keysc.c.o)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
build-fx/src/FxEngine/face.o: src/FxEngine/face.c src/FxEngine/face.h
src/FxEngine/face.h:

Binary file not shown.

View File

@ -51,7 +51,7 @@ double FE_sin(double angle)
{return FE_cos(angle-pi_sur2);}
#define sgn(x) (x>=0?x:-x)
static double matrice[4][4]=
{
@ -74,12 +74,19 @@ void FE_calc(FE_point* point)
//point->translated.x*=10;
//point->translated.y*=10;
point->translated.x*=32;
point->translated.y*=32;
point->translated.x/=point->translated.z;
point->translated.y/=point->translated.z;
point->translated.x*=64;
point->translated.y*=64;
if (point->translated.z>0)
{
point->translated.x/=point->translated.z;
point->translated.y/=point->translated.z;
}
else
{
point->translated.x*=10000*sgn(point->translated.z);
point->translated.y*=10000*sgn(point->translated.z);
}
point->translated.x+=63;

10
src/FxEngine/face.c Normal file
View File

@ -0,0 +1,10 @@
#include "face.h"
void FE_draw_face(FE_face const * face)
{
if (face->s1->translated.x==face->s2->translated.x || face->s1->translated.x==face->s3->translated.x || face->s2->translated.x==face->s3->translated.x)
return;
if (face->s1->translated.y==face->s2->translated.y || face->s1->translated.y==face->s3->translated.y || face->s2->translated.y==face->s3->translated.y)
return;
}

17
src/FxEngine/face.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef FE_FACE_H
#define FE_FACE_H
#include "coord.h"
#include "FxEngine.h"
typedef struct FE_face FE_face;
struct FE_face
{
FE_point* s1,s2,s3;
bool visible; // true => clockwised
int texturenum;
};
void FE_draw_face(FE_face const * face);
#endif