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 роки тому
Ray
97c8a28aaa
Remove trail spaces
5 роки тому
Ray
ecea95f50f
Update raylib.rc.data
5 роки тому
Ray
4773de26a5
Added WinMM library
Required for high resolution timer
5 роки тому
Ray
f6d1ffd4cd
Tweak ON flag
5 роки тому
Ray
9824387773
Added resource file for raylib.dll
Some minor tweaks
5 роки тому
Ray
f6d1448da9
Review CMake option flags
5 роки тому
Ray
e0e2346c22
NO SUPPORT_BUSY_WAIT_LOOP by default
5 роки тому
Ray
afd90a5a56
Add comment tweak
5 роки тому
Ray
5d09ca550f
Update issue templates
5 роки тому
Ray
7be6e3e288
Update issue templates
5 роки тому
Ray
7a23a35eed
Remove broken example: standard_lighting
5 роки тому
Ray
621965cb8c
Move bunnymark example to another module
5 роки тому
Ray
8bafe03ee0
Update text_unicode.c
5 роки тому
Ray
eeef7fdb51
Review example formatting
5 роки тому
Ray
528e164ac5
Corrected issue with wrong text measuring
5 роки тому
Ray
80c8599e81
Avoid warnings pre-evaluating values
Variable operations inside the functions should be evaluated before the function operations.
5 роки тому
Ray
4c33d38812
Avoid warnings pre-evaluating values
Variable operations inside the functions should be evaluated before the function operations.
5 роки тому
Ray
2ddc4bacba
Example review
5 роки тому
Ahmad Fatoum
3e0e91013f
Revert "CMake: make unsequenced modifications an error"
This reverts commit 23c1c0bdb2
.
Because add_if_flag_compiles apparently allows unsequenced
even if the compiler doesn't support it..
5 роки тому
Ahmad Fatoum
23c1c0bdb2
CMake: make unsequenced modifications an error
They not only result in discrepancies between different compiler,
but trigger undefined behavior. Avoid them by having them break
the CMake build and CI.
5 роки тому
Ahmad Fatoum
43bfb979e5
examples: CMake: warn once only about macOS OpenGL deprecation
Otherwise compiling rlgl is too spammy. While at it remove
the now unneeded CheckIncludeFiles.
5 роки тому
Ahmad Fatoum
ae2e48c77f
CMake: don't use system GLFW headers if using built-in GLFW
This fixes the current CI failure.
5 роки тому
Ahmad Fatoum
7d57a64337
Travis CI: build, don't download, external GLFW
CI is failing because we still test with GLFW 3.2, while
the internal GLFW is 3.3. To avoid such breakages in future,
build and install our own GLFW instead of relying on an external
Debian package.
5 роки тому