Skip to content

[examples] Several fixes and improvements - #6042

Open
TheNoiselessNoise wants to merge 5 commits into
raysan5:masterfrom
TheNoiselessNoise:master
Open

[examples] Several fixes and improvements#6042
TheNoiselessNoise wants to merge 5 commits into
raysan5:masterfrom
TheNoiselessNoise:master

Conversation

@TheNoiselessNoise

Copy link
Copy Markdown
  • audio_sound_positioning - fix SetSoundPosition and panning
  • core_highdpi_testbed - unrelated TODO
  • models_decals - fix button placement
  • models_loading_iqm - actually use animIndex

// Set stereo panning based on sound position relative to listener
float pan = 0.5f + 0.5f*Vector3DotProduct(normalizedDirection, right);
float pan = 0;
if (RAYLIB_VERSION_MAJOR >= 6) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In raylib I avoid version checks, examples are always aligned with altest raylib, actually the header contains that information. Please, use just latest approach.

@raysan5 raysan5 changed the title Fix couple of examples [examples] Several fixes and improvements Aug 7, 2026
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.

2 participants