Ray
e0720a0a55
WARNING: REVIEWED: Default shader uniform names
...
When a shader is loaded, by default, several locations are tried to be set automatically.
2021-06-25 13:35:43 +02:00
Ray
d4c03b47ec
REVIEWED: LoadShader() and default locations
...
Reviewed locations descriptions
2021-06-25 00:46:14 +02:00
Ruminant
f3eff740ce
fix to LoadShaderFromMemory ( #1851 )
...
- the shader.locs now match the LoadShader function
Without this change, the lighting sample looks incorrect when
using LoadShaderFromMemory
Co-authored-by: Ruminant <psp5150+git@gmail.com >
2021-06-24 18:48:48 +02:00
Ray
953882e86f
REVIEWED: CORE.Storage.basePath
...
Simplified some code
2021-06-24 18:13:25 +02:00
Ray
4e9afac2a5
REVIEWED: WaitTime() #1841
...
Avoid global variables dependency, now the function is self-contained.
2021-06-24 11:01:44 +02:00
Nikhilesh S
f7a6b94f46
Allow SetWindowSize() on web ( #1847 )
2021-06-23 10:02:18 +02:00
Ray
716e26aa37
Review BeginTextureMode() usage
...
Moved outside BeginDrawing()/EndDrawing() to illustrate drawing is happening to an external texture (not screen)
2021-06-23 01:25:09 +02:00
Ray
429c5a9a9a
Review and un-expose InitTimer()
...
Actually it's not required for SUPPORT_CUSTOM_FRAME_CONTROL
2021-06-22 20:26:59 +02:00
Ray
7f2a071c51
Formatting review
2021-06-22 20:14:44 +02:00
Sky
9095dd9e82
Add support for resizing Emscripten canvas ( #1840 )
2021-06-22 18:25:52 +02:00
Ray
115cc7dede
Review GetFPS()
2021-06-21 00:46:30 +02:00
Adrian Guerrero Vera
96d5dd24aa
core: added GetMouseDelta()
( #1832 )
...
* core: added `GetMouseDelta()`
Thanks to previousPosition added by raysan it is now possible to create the GetMouseDelta() function.
Returns a Vector2 with the difference between the current and previous position of the mouse in a frame.
Useful for creating camera scrolling, among others.
* Added changes noted by raysan
2021-06-21 00:11:27 +02:00
Ray
e07054d0d4
RENAMED: SwapBuffers()
-> SwapScreenBuffer()
...
Avoid possible symbol collisions
2021-06-17 12:47:03 +02:00
Ray
19b71f5f13
WARNING: Exposed SUPPORT_CUSTOM_FRAME_CONTROL
#1729
2021-06-17 12:17:50 +02:00
Ray
ab032919df
RENAMED: Wait() -> WaitTime()
2021-06-17 11:47:05 +02:00
Ray
68e408474d
Renamed SUPPORT_MOUSE_CURSOR_NATIVE -> SUPPORT_MOUSE_CURSOR_POINT
2021-06-17 11:17:39 +02:00
Ray
4b93feb172
Remove trail spaces
2021-06-13 17:08:30 +02:00
Ray
de7b8ad551
NEW CRAZY FEATURE: EVENTS AUTOMATION!
...
https://youtu.be/3dZenkpmRzM
2021-06-11 12:27:46 +02:00
Ray
0b8e0f05a7
Register mouse previous position
2021-06-10 18:03:25 +02:00
Ray
b188008a1c
Review code formatting
2021-06-10 18:00:44 +02:00
Ray
7bc2e922c9
Review some comments
2021-06-10 17:49:55 +02:00
Ray
b0dcdf688f
Reviewed functions description
...
Replaced: Returns -> Get
2021-06-10 17:43:58 +02:00
Ray
d3387c952a
Reviewed Input variables and comments
2021-06-10 17:11:31 +02:00
raysan5
e95d8bc655
Minor format tweaks
2021-06-05 12:33:05 +02:00
Marco G. Maia
1a7dace57e
Update docs for supported blend modes ( #1801 )
2021-06-01 15:00:19 +02:00
Ray
8f4261e9d4
Remove unused declarations
2021-05-31 12:58:49 +02:00
Julianiolo
cc4de1d1f9
note ( #1797 )
2021-05-30 18:33:38 +02:00
Ray
71995d52b3
REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796
2021-05-30 18:02:06 +02:00
Ray
03710c9d8e
Some code tweaks for consistency
2021-05-22 16:54:04 +02:00
Ray
3baba7ffe8
Review some VS warnings and messages
2021-05-14 14:01:42 +02:00
Lambert Wang
2545f62565
Added support for additional mouse buttons ( #1753 )
...
* Added support for additional mouse buttons
* Renamed mouse button enum
Co-authored-by: Lambert Wang <lambert.ww@gmail.com >
2021-05-08 18:26:24 +02:00
Jeffery Myers
133e6f097d
Convert the half sleep to a sleep that is a fraction of the target FPS (Default 95%) to reduce CPU use. ( #1756 )
...
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com >
2021-05-07 19:49:44 +02:00
Astie Teddy
c82d9cb89a
Unset CORE.Window.ready on CloseWindow ( #1749 )
...
Window shouldn't be considered ready when CloseWindow has been called.
2021-05-05 19:08:15 +02:00
Ray
a41ed986bd
Expose RAYLIB_VERSION in raylib.h #1747
2021-05-04 11:20:47 +02:00
Ray
a3e7664dcf
Fixed bug that overrides other flags
...
This issue prevented enabling MSAA on several platforms
2021-04-29 00:07:28 +02:00
Ray
ffadeeeb84
Decoupling rlgl from platform layer
...
Now rlgl only depends on OpenGL and it's completely decoupled from platform layer libraries (EGL)
2021-04-28 23:57:46 +02:00
Ray
6ebe76cba7
Minor tweaks
2021-04-27 11:05:05 +02:00
Ray
1aa8a4ff90
REVIEWED: rlLoadExtensions()
...
On PLATFORM_ANDROID, PLATFORM_RPI, PLATFORM_DRM and PLATFORM_UWP glfwGetProcAddress() is not defines, actually those platforms use egl platform windowing system.
2021-04-27 11:04:48 +02:00
Ray
03815ec4fe
RPI4: Improve DRM card check #1723
2021-04-22 21:01:48 +02:00
Ray
899afcbdca
Minor tweaks
2021-04-19 19:41:32 +02:00
Ray
581bd0eb02
Remove trailing spaces
2021-04-18 23:50:32 +02:00
Ray
d4ccca81db
WARNING: REDESIGNED: rlLoadExtensions() #1295
...
Added config flag: SUPPORT_GL_DETAILS_INFO
2021-04-18 20:24:19 +02:00
Chris
3cdac3e11e
Fix off by one bug with GetGamepadAxisCount on PLATFORM_DESKTOP ( #1715 )
...
- Found testing core_input_gamepad. The last axis was not drawn.
- GLFW_GAMEPAD_AXIS_LAST is defined to the last axis which is 5
not the total number which is 6.
2021-04-09 00:55:47 +02:00
Ray
8a8948780e
REVIEWED: GetKeyPressed() #1712
2021-04-09 00:21:56 +02:00
Ray
b3f75b91ff
REDESIGNED: Vr stereo mode
2021-04-06 23:23:03 +02:00
Ray
84d0d21f23
Reviewed Vr stereo
2021-04-06 23:06:03 +02:00
Ray
71b86bf4d0
REDESIGNED: Vr stereo rendering
2021-04-06 22:49:41 +02:00
Ray
551944e15b
Minor comment tweaks
2021-04-06 13:04:15 +02:00
raysan5
c2c141f941
Update version to raylib 3.7
2021-04-05 13:36:23 +02:00
raysan5
66f3434571
REDESIGNED: Shapes texture/rec moved to shapes module
2021-04-04 14:59:17 +02:00