data-mining-in-c icon indicating copy to clipboard operation
data-mining-in-c copied to clipboard

Various changes I thought are worth contributing

Open LainLayer opened this issue 9 months ago • 0 comments

This pull request makes the following changes:

large changes:

  • Updated nob.h to commit 39028aa March 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.c did 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).

minor changes:

  • Added check to 3d.c to show Failed to load image when 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 of IsKeyPressed to do clustering at full speed
  • Fixed compilation warnings
  • Update nob.c to use NOB_STRIP_PREFIX
  • modified raylib config.h to enable jpg and bmp images

LainLayer avatar Apr 06 '25 17:04 LainLayer