Ray
c1594fa445
Tweaks
пре 5 година
Ray
6332bc0398
Corrected issue with shader loading
When using FormatText() several times in same function, returned string is static and so, the same is returned, resulting in failures on shader loading.
пре 5 година
Ahmad Fatoum
5ef7beb0c5
Makefile: move -x objective-c option before filename
From the Clang documentation[1]:
> -x<language>, --language <arg>, --language=<arg>
> Treat subsequent input files as having type <language>
Follow the advice. Fixes #840 .
[1]: https://clang.llvm.org/docs/ClangCommandLineReference.html
пре 5 година
Ahmad Fatoum
e1ecebfff9
Revert "fixed GLFW compiler flag for OSX"
This reverts #841 commit 97160fd970
.
пре 5 година
Ray
245cf2400e
Review shader examples
пре 5 година
Ray
0ec46e8976
Merge pull request #841 from iskolbin/master
[build] fixed GLFW compiler flag for OSX
пре 5 година
Ilya Kolbin
97160fd970
fixed GLFW compiler flag for OSX
пре 5 година
Ray
970f1e8ff1
examples review
пре 5 година
Ray
ce87d2ced4
new example: shaders_eratosthenes
Contributed by ProfJski
пре 5 година
Ray
9fd410b8a8
Review shader to use provided texture coordinates
Now shader uses `fragTexCoord` that are the full screen texture coordinates normalized, instead of `gl_fragCoord`, the unnormalized screen coordinates
пре 5 година
Ray
cf4fde9456
Corrected bug on NEON
пре 5 година
Ray
9994f16479
Review build config on web
пре 5 година
Ray
25ac9bfb28
Update dr_flac, dr_mp3, dr_wav to latest version
пре 5 година
Ray
579d932551
Update miniaudio to v0.9.4
пре 5 година
Ray
f44dfa1ef2
Implement VR distortion shader for GLSL 100
пре 5 година
Ray
f1ffb3f573
Review shaders for GLSL 100
пре 5 година
Ray
84fb2e00df
Merge pull request #838 from eggmund/master
Update julia set example.
пре 5 година
eggmund
eb7beb59b6
Ammended comment.
Also changed path to shader back to what it was originally.
пре 5 година
eggmund
a7c5e3cab7
Updating julia set example.
Now dividing by the zoom instead of multiplying (in the shader), so zoom works as expected. Also zoom increase/decrease is now scaled depending on the current zoom.
пре 5 година
Ray
998b4180e1
Update example!
пре 5 година
Ray
5a1a0a3492
Corrected issue with multi-mesh obj models
Note that all meshes are loaded as a single one at this moment, loading should be improved!
пре 5 година
Ray
0b18133e46
Update shaders_julia_set.c
пре 5 година
Ray
d878a0aecb
Update shaders_julia_set.c
пре 5 година
Ray
ab44033ed6
Added new examples to Makefile
пре 5 година
Ray
0eece03205
Corrected issue with texture flip X
пре 5 година
Ahmad Fatoum
4d8b9e595a
external: glfw: Revert "Added WinMM library"
This reverts commit 4773de26a5
.
which adds -lwinmm at the wrong place. It should be in the raylib
linker flags, not GLFW's.
пре 5 година
Ahmad Fatoum
e7995c483d
.travis.yml: update wayland dependency ECM version
extra-cmake-modules 5.38.0a is no longer hosted at the specified
kernel.org link. Use the occasion to move on to 5.58.
Because newer ECM debian packages have the control.tar file
xz-compressed, we need to update dpkg as well on trusty.
For more information, see
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1730627
пре 5 година
Ahmad Fatoum
0467f32cc1
examples: CMake: restrict OpenGL deprecation warnings to macOS
пре 5 година
Ahmad Fatoum
e8a376c80c
CMake: add winmm.dll as Windows dependency
Fixes: e0e2346c22
("NO SUPPORT_BUSY_WAIT_LOOP by default")
пре 5 година
Ray
3f7b14aeed
Corrected web issue
пре 5 година
Ray
7eb488a350
Improve support for web building
Note that building examples for web as they are (no code adaptation for web avoiding while loop) implies using the emterpreter... and that's very slow!
пре 5 година
Ray
424d3ca8d9
examples review
Redesigns, deletes and renames
Also noted authors propertly on contributed examples
пре 5 година
Ray
2edec8ae28
Some example tweaks
пре 5 година
Ray
6f7b721d81
Merge branch 'master' of https://github.com/raysan5/raylib
пре 5 година
Ray
6804c2189e
new examples: shaders_texture_waves
пре 5 година
raysan5
00431396b0
Merge branch 'master' of https://github.com/raysan5/raylib
пре 5 година
raysan5
d50aa32ec8
Update CMakeLists.txt
пре 5 година
Ray
4b8c56ebd3
Merge pull request #835 from eggmund/master
Added julia set shader example.
пре 5 година
hmmmmmmmm
aea3b2df65
Fixed another small comment error
пре 5 година
eggmund
c25154064d
Fixed small error in comments
пре 5 година
eggmund
49a49e492a
Added julia set shader example.
пре 5 година
raysan5
561c486ceb
Add WinMM library for linkage
Now it's required on Windows if not using a busy wait loop
пре 5 година
Ray
2ee3b2576c
Merge pull request #833 from Demizdor/fix_selection
Fixed DrawTextRecEx() selection when wordwrap is ON
пре 5 година
Demizdor
509d9411a1
Fixed DrawTextRecEx() selection when wordwrap is ON
пре 5 година
Ray
a2ed65aa14
Make code a bit clearer for beginners
пре 5 година
Ray
46bac0ba2c
Add comment in CheckCollisionSpheres()
пре 5 година
Ray
5fd3f13cb6
Merge pull request #832 from ProfJski/master
Remove sqrt() from CheckCollisionSpheres()
пре 5 година
ProfJski
1655463ba5
Update models.c
пре 5 година
ProfJski
4330b098f3
Merge pull request #1 from ProfJski/ProfJski-patch-1
Update CheckCollisionSpheres() to avoid sqrt
пре 5 година
ProfJski
d3dae38449
Update CheckCollisionSpheres() to avoid sqrt
Square root calls are computationally expensive. In this case, they can be avoided. Instead of checking distance<RadA+RadB, check distance squared against (RadA+RadB) squared. The dot product of Vector3Subtract(B,A) with itself gives distance squared, so I used this code instead of an element-by-element computation of distance squared. The only downside is that your geometric code is very readable, whereas this is less so.
пре 5 година