Commit graph

1926 commits

Author SHA1 Message Date
44883e0226 Make segment & triangle aliases instead of subclasses 2020-08-30 21:19:16 +03:00
1590ec4ece Move gfx/source/gfx -> gfx/source 2020-08-30 10:32:34 +03:00
dea7cbf32e Move on_quit handler from scene to app 2020-08-30 10:24:22 +03:00
da8d9550a7 Introduce app::scene & support changing scenes 2020-08-30 10:14:35 +03:00
91de56753b Support app constructor arguments in app::main 2020-08-30 09:39:15 +03:00
08ab8c00a7 Add simple painter helper (wip) 2020-08-30 09:08:12 +03:00
19a2055385 Use 4x multisampling by default 2020-08-30 08:52:30 +03:00
de3f9cc8cc Make sure app::on_resize gets called at least once 2020-08-30 08:51:55 +03:00
a6316d27f4 Add app::time 2020-08-30 08:49:29 +03:00
3ab93d21a7 Use ad-hoc pimpl instead of util::pimpl for app 2020-08-30 08:48:57 +03:00
ebe8ecfe55 Add a file with math constants 2020-08-30 08:47:02 +03:00
4d6f5d6f85 Add orthographic & window cameras 2020-08-30 08:46:42 +03:00
fd26d8a3a3 Fix shader program creation 2020-08-30 08:46:01 +03:00
532ac6fdf5 Fix mesh attribute stride calculation 2020-08-30 08:45:44 +03:00
30744dadeb Support std::array mesh attributes 2020-08-30 08:45:11 +03:00
2d6b947809 Move pixmap from util to gfx 2020-08-30 08:44:53 +03:00
0424bae480 Remove gfx::vertex, setup meshes using attributes directly 2020-08-28 11:15:49 +03:00
f69fb7299e Add app library 2020-08-28 11:14:40 +03:00
beed7753d6 Add a 9x12 font to gfx 2020-08-28 09:30:04 +03:00
4964a3992e Remove obsolete explicit libs list 2020-08-28 09:29:12 +03:00
24613010c8 Add logging library 2020-08-27 21:03:24 +03:00
8037f5a2f6 Fix linking psemek target to sublibs 2020-08-27 21:00:33 +03:00
211b9d7342 Properly destroy shaders & programs 2020-08-27 16:54:04 +03:00
6225f89f88 Uniformize code style & do a few code rearrangements 2020-08-27 16:49:46 +03:00
a2b1d90c48 List sublibraries automatically & create a top target that depends on everything 2020-08-27 15:35:19 +03:00
549f2ada41 Add util, geom, cg, pcg & gfx libs 2020-08-27 13:36:16 +03:00