Commit Graph

78 Commits (7d2028cc5532d001c07e4b36a34b369e3be540e1)

Author SHA1 Message Date
Brett 7d2028cc55 fix init order 2024-04-29 21:45:25 -04:00
Brett 3af6b9c4a0 change update and init function signatures 2024-04-29 21:42:50 -04:00
Brett 16a0fbc7dc change interface to have internal functions 2024-04-29 21:35:24 -04:00
Brett 0a93fbe055 we now get the width and height of a screen when in emscripten mode 2024-04-29 15:31:47 -04:00
Brett d2ba28fa1a support emscripten window resizing, F1 is now used over escape on web 2024-04-29 02:17:22 -04:00
Brett d18b48c9dd emscripten / webasm full support for 2d 2024-04-26 18:05:15 -04:00
Brett 7c7e97872d partial emscripten working 2024-04-26 01:11:46 -04:00
Brett 42fbae4ba1 frame buffer 2024-04-18 19:32:26 -04:00
Brett 725b6963af textures! 2024-04-18 18:00:03 -04:00
Brett 58ff67dc5c frame 2024-04-18 03:53:25 -04:00
Brett f2a81237a8 texture getters 2024-04-16 16:22:14 -04:00
Brett e9e3622963 framebuffers 2024-04-16 16:07:46 -04:00
Brett 321379fb12 frame buffer 2024-04-16 03:20:35 -04:00
Brett 722ae6fa6f context and frame buffer 2024-04-16 02:43:51 -04:00
Brett cd7c34cb16 multisampling 2024-04-16 02:28:02 -04:00
Brett 82f8bdb081 setters 2024-04-15 00:31:27 -04:00
Brett 15c2729faa z index 2024-04-14 17:37:17 -04:00
Brett 8943558109 z indexing on 2d objects 2024-04-14 17:34:56 -04:00
Brett 8b6686fa3f lack of lines 2024-04-12 17:37:35 -04:00
Brett d40b917c32 basic lines like a basic bitch 2024-04-12 00:10:29 -04:00
Brett 2749ce6a87 working on lines 2024-04-11 20:40:28 -04:00
Brett 20a8974f9b fix issue with shader compiler 2024-04-11 00:12:02 -04:00
Brett fab759dd4c Merge remote-tracking branch 'refs/remotes/origin/main' 2024-03-23 19:53:10 -04:00
Brett 2e77d0174e fix for newest blt 2024-03-23 19:52:57 -04:00
Brett 60c763dc9d basic example 2024-02-17 14:38:18 -05:00
Brett 129f6e3fb9 texture mipmap fix 2024-01-25 11:03:17 -05:00
Brett 709db71827 ignore 2024-01-18 14:14:13 -05:00
Brett f821c7c8d1 upload type 2024-01-17 16:03:07 -05:00
Brett 9ccf0badc2 okay obj files load now 2024-01-11 14:36:48 -05:00
Brett 3e8eea09b5 shared vbo 2024-01-11 11:49:48 -05:00
Brett 58eafb1636 mild renaming + const 2024-01-10 10:54:28 -05:00
Brett c1f42b2d3b handle quad .objs 2024-01-09 21:42:26 -05:00
Brett e5e0b4120c obj loader is complete 2024-01-09 14:31:21 -05:00
Brett 7836c7f022 fix double vbo free, didn't seem to cause issues though. also now freeing the element buffer 2024-01-09 13:56:51 -05:00
Brett 18cbbca2a0 reorder 2024-01-09 12:01:23 -05:00
Brett 1817c50b4b line parse 2024-01-09 00:50:12 -05:00
Brett 00649a055d allow for direct setting of the texture_2d 2024-01-08 21:34:14 -05:00
Brett 2f9bccc348 way of accessing and binding shared references. normal vbo now returns a shared_ptr which can be used in place of a vbo_t 2024-01-08 21:29:39 -05:00
Brett 5bff8b675c shared vbos 2024-01-08 21:12:31 -05:00
Brett 1019d4aefb need to do the idea thingy tired though 2024-01-03 23:26:02 -05:00
Brett fb29f1f513 working on loader 2024-01-02 17:10:29 -05:00
Brett 8b7dd47b53 states 2024-01-02 16:28:26 -05:00
Brett b13b114d94 working camera, needs more settings 2024-01-02 14:20:34 -05:00
Brett 6137773b77 packing and transparency 2024-01-02 13:03:51 -05:00
Brett 26c659fc3f working batch renderer for 2d rectangles 2024-01-02 02:38:56 -05:00
Brett e37fc6b321 texture loading 2024-01-01 22:15:30 -05:00
Brett 8c86faf1ce untested texture loader 2023-12-30 17:05:41 -05:00
Brett 1ec7e17517 working on major updates 2023-12-30 03:26:06 -05:00
Brett 789797a903 2d render 2023-12-29 19:26:41 -05:00
Brett d191f73a6b sound 2023-12-29 19:25:41 -05:00