small3dlib
34 commits
fca4c34
shrub  ·  2026-07-30
small3dlib
licar taught me
9fd0111
shrub  ·  2026-07-30
add small3dlib renderer
da175b4
uint  ·  2026-07-30
draw separate brick dirt and stone blocks
dab7136
uint  ·  2026-07-30
dynamic textures with MGTexture
ba23b8e
uint  ·  2026-07-29
fix: remove double destruction of image and sampler
a2e1d3f
uint  ·  2026-07-29
load textures to block faces
45dd938
uint  ·  2026-07-29
build stb_image
edac4b6
uint  ·  2026-07-29
fix: use radians for fov
6f30a10
uint  ·  2026-07-29
add resourcepacks dir
00c2b78
uint  ·  2026-07-29
vendor c89 translation of stb_image
af0e98b
uint  ·  2026-07-23
add camera movement
eabd47d
uint  ·  2026-07-23
shim HandmadeMath behind mgmath

back to C89
489391e
uint  ·  2026-07-23
add sokol rendering and mesh setup

Also compiling with C99 for now but thats only to get maths library to
work
4b3b38c
uint  ·  2026-07-22
vendor HandmadeMath
fe9b3a2
uint  ·  2026-07-22
keep renderer state private
9c6f92b
uint  ·  2026-07-21
move platform.h types to types.h
a4fab4b
uint  ·  2026-07-21
give sokol logging capabilities
2b431fb
uint  ·  2026-07-21
add SDL, GL checks, logging
061e549
uint  ·  2026-07-21
sokol opengl renderer

this is still a big todo; still gotta do the vulkan one and probably
create renderer_hard.c and renderer_soft.c
1286cb0
uint  ·  2026-07-21
use NDEBUG in mg_log

DEBUG was not standard
c0804f9
uint  ·  2026-07-21
event polling, window resizing, add test logs
28b2d38
uint  ·  2026-07-21
add log levels, flush log output, put newline character on fd not stderr
9743d43
uint  ·  2026-07-21
add platform_shutdown
092b67a
uint  ·  2026-07-21
initialise window with opengl
a281cdb
uint  ·  2026-07-21
fix util.h header guards
bc0ccbd
uint  ·  2026-07-21
move platform/util.h to source root
d2c955c
uint  ·  2026-07-21
move headers to include/
d167d0c
uint  ·  2026-07-21
compile sokol_gfx separately
883b714
uint  ·  2026-07-21
vendor sokol_gfx
9f17975
uint  ·  2026-07-21
update meson.build for sdl2, new files
8f9fea8
uint  ·  2026-07-21
add initialisation, main.c: create window with gl context
eeb9766
uint  ·  2026-07-21
add logging, error codes list
b21122e
uint  ·  2026-07-18
add meson build
6714f7d
uint  ·  2026-07-15
add README