data-mining-in-c
data-mining-in-c copied to clipboard
Various changes I thought are worth contributing
This pull request makes the following changes:
large changes:
- Updated nob.h to commit
39028aaMarch 25th, 2025 - Updated raylib, as well as vendored raylib instead of commiting a binary library into the repo. raylib is also now built with
nob.c-
WHY?: This allows us to modify raylib's
config.h. Previously,3d.cdid not support JPG or BMP images. This is because raylib disables those by default as they are terrible for video games. However, that's not optimal for this project. Also now raylib can be compiled with debug flags if needed (I find it's often needed).
-
WHY?: This allows us to modify raylib's
minor changes:
- Added check to 3d.c to show
Failed to load imagewhen an image failed to load, previously it would open into an entirely black space. - Added a keybind to 3d.c which uses
IsKeyDown(KEY_K)instead ofIsKeyPressedto do clustering at full speed - Fixed compilation warnings
- Update nob.c to use
NOB_STRIP_PREFIX - modified raylib
config.hto enable jpg and bmp images