Commit graph

6 commits

Author SHA1 Message Date
8f303eec6a Try to abstract out the engine to make it more cross-platform.
This means you maybe can run it on linux, which is the goal for profiling and debugging purposes and it makes it easier to do that (even if the cpu is faster, i can still see expensive functions). Currently only hello.elf works on linux and hello.elf and cube.elf on the dreamcast. gl.elf is broken on both because of controller stuff.
2024-03-14 23:19:39 -07:00
23dd7ace18 Parse a cube .obj file to display.
Right now the implementation is extremely unoptimized and draw call heavy as I just copy and pasted that from the docs for tiny obj loader but added gl calls.
2024-03-13 21:49:35 -07:00
3822973d6a Create an abstracted engine class for the programs. 2024-03-13 12:53:37 -07:00
f919b166df Set gl ortho. 2024-03-12 22:27:33 -07:00
e98856a874 Convert gl.c to c++ and make it nicer. 2024-03-11 22:41:34 -07:00
4d4582831c Make some Dreamcast OpenGL programs. 2024-03-10 21:40:08 -07:00