rjd icon indicating copy to clipboard operation
rjd copied to clipboard

Minimal C11 game libraries

Results 21 rjd issues
Sort by recently updated
recently updated
newest added

Currently you can use slot handles allocated from one map with a different map. Think about adding a pointer to the associated slotmap in debug to avoid mixing slotmaps? Could...

rjd should have some basic functionality to load obj and/or GLTF files and such. Some potential samples: * nontextured teapot * textured model * sponza scene

Some feedback from Chad: > I was confused by the existence of rjd_mem_alloc_array and rjd_array_alloc > I think the confusion is between mem_array and array. Which one should I use...

It compresses code and has the potential to be slightly more optimal.

It's too easy to allocate with one function and free with the other. Each container should have a magic number in the header to help the user quickly identify any...

The API theoretically supports this but it's untested and probably broken in Metal. The D3D11 backend doesn't support it at all yet. The implementation should be pretty straightforward though.

Less macros is better. Let's replace RJD_RESULT_OK() with an inline function that returns an empty rjd_result, equivalent to what the macro does: ``` static inline rjd_result_ok(void) { return (struct rjd_result){0};...