Skip to content

Comments

Various changes I thought are worth contributing#3

Open
LainLayer wants to merge 8 commits intotsoding:mainfrom
LainLayer:various-changes
Open

Various changes I thought are worth contributing#3
LainLayer wants to merge 8 commits intotsoding:mainfrom
LainLayer:various-changes

Conversation

@LainLayer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant