annotate semicongine.nim @ 1308:196bfc6af8e0

fix: flip y axis on normalize mouse coordinates
author sam <sam@basx.dev>
date Wed, 07 Aug 2024 22:46:52 +0700
parents 6d0162bfe48a
children 3dbf77ca78b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
1 import ./semicongine/core
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
2 export core
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
3
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
4 import ./semicongine/resources
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
5 export resources
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
6
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
7 import ./semicongine/image
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
8 export image
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
9
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
10 import ./semicongine/events
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
11 import ./semicongine/rendering
1299
6d0162bfe48a did: finish mentioned refactoring, no API changes still
sam <sam@basx.dev>
parents: 1298
diff changeset
12 import ./semicongine/rendering/vulkan/api
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
13 export events
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
14 export rendering
1299
6d0162bfe48a did: finish mentioned refactoring, no API changes still
sam <sam@basx.dev>
parents: 1298
diff changeset
15 export api
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
16
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
17 import ./semicongine/storage
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
18 import ./semicongine/input
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
19 export storage
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
20 export input
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
21
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
22 import ./semicongine/audio
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
23 export audio
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
24
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
25 # texture packing is required for font atlas
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
26 import ./semicongine/text
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
27 export text
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
28
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
29 import ./semicongine/gltf
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
30 export gltf
1267
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
31
4cf9872f7bb6 did: rename back to old name (no v2)
sam <sam@basx.dev>
parents:
diff changeset
32 when not defined(WITHOUT_CONTRIB):
1298
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
33 import ./semicongine/contrib/steam
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
34 import ./semicongine/contrib/settings
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
35 import ./semicongine/contrib/algorithms/texture_packing
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
36 import ./semicongine/contrib/algorithms/collision
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
37 import ./semicongine/contrib/algorithms/noise
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
38 export steam
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
39 export settings
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
40 export texture_packing
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
41 export collision
1feaa8a97acf did: halfway complete refactoring to move from all-include to some-include+imports, no API changes
sam <sam@basx.dev>
parents: 1277
diff changeset
42 export noise