13a1744ca9
Fix #848
2019-05-22 20:29:34 +02:00
31bcaffd7d
Added AudioContext Resume/Suspend button
2019-05-22 16:13:59 +02:00
f45691ca8d
Rename function to follow javascript notation
2019-05-22 16:12:47 +02:00
7421ac9e24
Add code to resume blocked AudioContexts
2019-05-22 12:33:28 +02:00
a33b0002ee
Review js formatting for better readability
2019-05-22 10:55:03 +02:00
be7e56f51e
Move emscripten web shell to src
2019-05-22 10:40:51 +02:00
b1806f6600
Add config SUPPORT_SSH_KEYBOARD_RPI
...
Allow to reconfigure stdin to read input keys, this process could lead to undesired effects. Use with care.
Disabled by default.
2019-05-21 20:59:13 +02:00
0027868d1f
Review Makefiles
2019-05-21 17:46:52 +02:00
8db2203bcc
Review paths
2019-05-21 10:16:52 +02:00
316b6aa181
Reverted change that breaks mouse on web
2019-05-20 17:21:46 +02:00
72ab65277b
Avoid some warnings
2019-05-20 16:37:44 +02:00
a43a7980a3
Update raylib version to 2.5
2019-05-20 11:21:55 +02:00
371abb0a26
Review glTF implementation formatting
...
Added comments for the future
2019-05-20 11:13:38 +02:00
e01a381aec
Load glTF
2019-05-18 11:36:47 +02:00
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
2019-05-17 20:27:43 +02:00
e1ecebfff9
Revert "fixed GLFW compiler flag for OSX"
...
This reverts #841 commit 97160fd970 .
2019-05-17 20:27:42 +02:00
97160fd970
fixed GLFW compiler flag for OSX
2019-05-17 17:56:05 +03:00
cf4fde9456
Corrected bug on NEON
2019-05-16 16:10:52 +02:00
9994f16479
Review build config on web
2019-05-16 15:40:28 +02:00
25ac9bfb28
Update dr_flac, dr_mp3, dr_wav to latest version
2019-05-16 15:31:33 +02:00
579d932551
Update miniaudio to v0.9.4
2019-05-16 15:30:41 +02:00
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!
2019-05-15 15:12:56 +02:00
0eece03205
Corrected issue with texture flip X
2019-05-15 12:22:29 +02:00
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.
2019-05-15 08:14:24 +02:00
e8a376c80c
CMake: add winmm.dll as Windows dependency
...
Fixes: e0e2346c22 ("NO SUPPORT_BUSY_WAIT_LOOP by default")
2019-05-15 08:11:41 +02:00
3f7b14aeed
Corrected web issue
2019-05-14 18:02:11 +02:00
d50aa32ec8
Update CMakeLists.txt
2019-05-12 21:51:19 +02:00
561c486ceb
Add WinMM library for linkage
...
Now it's required on Windows if not using a busy wait loop
2019-05-10 20:51:48 +02:00
509d9411a1
Fixed DrawTextRecEx() selection when wordwrap is ON
2019-05-10 13:57:24 +03:00
a2ed65aa14
Make code a bit clearer for beginners
2019-05-09 16:10:55 +02:00
46bac0ba2c
Add comment in CheckCollisionSpheres()
2019-05-09 16:09:49 +02:00
1655463ba5
Update models.c
2019-05-08 14:14:57 -04:00
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.
2019-05-08 13:54:12 -04:00
97c8a28aaa
Remove trail spaces
2019-05-08 18:33:09 +02:00
4773de26a5
Added WinMM library
...
Required for high resolution timer
2019-05-07 22:56:38 +02:00
f6d1ffd4cd
Tweak ON flag
2019-05-07 15:23:56 +02:00
9824387773
Added resource file for raylib.dll
...
Some minor tweaks
2019-05-07 15:16:14 +02:00
f6d1448da9
Review CMake option flags
2019-05-07 15:15:23 +02:00
e0e2346c22
NO SUPPORT_BUSY_WAIT_LOOP by default
2019-05-07 10:05:21 +02:00
afd90a5a56
Add comment tweak
2019-05-07 09:50:40 +02:00
528e164ac5
Corrected issue with wrong text measuring
2019-05-06 10:17:34 +02:00
80c8599e81
Avoid warnings pre-evaluating values
...
Variable operations inside the functions should be evaluated before the function operations.
2019-05-06 10:07:06 +02:00
ae2e48c77f
CMake: don't use system GLFW headers if using built-in GLFW
...
This fixes the current CI failure.
2019-05-04 23:04:52 +02:00
36d8a648f0
external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS}
...
We were doing this before, but it was deleted during the
last GLFW update. Readd it to fix the associated macOS CI failure.
Fixes: cd934c9f6 ("Update GLFW to 3.3.1")
2019-05-04 22:28:21 +02:00
c6b7f9c5b0
Some minor comments
2019-05-03 15:55:24 +02:00
f44888e466
Force HighDPI on macOS
2019-05-03 09:45:16 +02:00
780cefc3b0
Add SUPPORT_HIGH_DPI to CMakeOptions.txt
2019-05-03 12:24:20 +08:00
fc56f8d9ef
Work on touch_as_mouse input -WIP-
2019-05-02 09:46:01 +02:00
a54af067c2
Added guards to PI define
...
Added guards to not redefine it if the user is using it with raylib.h
also added an 'f' at the end of the define to keep compliant with raylib's PI define
2019-05-01 22:03:32 +02:00
59c436c922
Defined PI ( #822 )
...
PI is not always defined in math.h, thus it must be defined in this header
2019-05-01 21:41:51 +02:00