First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences.
This commit is contained in:
parent
6b181382bd
commit
ca80736d7c
21 changed files with 2165 additions and 90 deletions
34
meson.build
34
meson.build
|
@ -1,27 +1,25 @@
|
|||
project('lodecaster', 'cpp',
|
||||
default_options: ['cpp_std=c++20'])
|
||||
project('raycaster', 'cpp',
|
||||
default_options: ['cpp_std=c++20'])
|
||||
|
||||
catch2 = dependency('catch2-with-main')
|
||||
fmt = dependency('fmt')
|
||||
json = dependency('nlohmann_json')
|
||||
sdl2 = dependency('sdl2')
|
||||
sdl2_main = dependency('sdl2main')
|
||||
sfml = dependency('sfml')
|
||||
|
||||
dependencies = [
|
||||
sdl2, sdl2_main,
|
||||
fmt, json
|
||||
]
|
||||
fmt, json, sfml
|
||||
]
|
||||
|
||||
executable('runtests', [
|
||||
'quickcg.cpp',
|
||||
'main.cpp',
|
||||
],
|
||||
win_subsystem: 'windows',
|
||||
dependencies: dependencies)
|
||||
'dbc.cpp',
|
||||
'matrix.cpp',
|
||||
'tests/base.cpp',
|
||||
],
|
||||
dependencies: dependencies + [catch2])
|
||||
|
||||
executable('lodecaster', [
|
||||
'quickcg.cpp',
|
||||
'raycaster_flat.cpp',
|
||||
],
|
||||
win_subsystem: 'windows',
|
||||
dependencies: dependencies)
|
||||
executable('raycaster', [
|
||||
'dbc.cpp',
|
||||
'matrix.cpp',
|
||||
'raycaster.cpp',
|
||||
],
|
||||
dependencies: dependencies)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue