* REDESIGNED input system for better mouse/touch support
* Update Makefile
* Reviewed IsMouseButtonDown()
* Added comment on IsMouseButtonDown() issue
IsMouseButtonDown() does not process touch state down properly, state is reseted every frame...
* Update textures_mouse_painting.c
* Update raymath.h (#1118)
* Update raymath.h
Added Vector2Rotate Function.
* Update raymath.h
* Support touch drawing on web
* Review some comment
* Review shader exaples to work on web (GLSL 100)
* Support any mouse button for gesture detection
* Some code tweaks
* REVIEWED: Mouse/Touch input system
After several reviews, now it seems everything works as expected.
* Avoid icons in shell
Very weird... lately icons are not properly displayed on browser!
* Update core.c
* WARNING: Corrected issue with IsKeyDown() #1119
* ADDED: LoadFileText() and SaveFileText()
Improved file access checks
Co-authored-by: Ray <raysan5@gmail.com>
Co-authored-by: i-right-i <olmstead.ben@gmail.com>
* Removed Unused Uniforms
uniform vec3 viewUp;
uniform float deltaTime;
* Removed Unused uniforms
uniform vec3 viewUp;
uniform float deltaTime;
* Updated Source
Added - #define PLATFORM_DESKTOP line for desktop users.
This now will correctly find the proper glsl version for the raymarching.fs file.
Removed - Uniforms --> deltaTime and viewUp. Including the code that was setting them.
They were never used and they were triggering a log warning.
Removed - The const from both screenWidth and screenHeight.
Now they can be used to update the shader resolution when screen is resized.
NOTE : This is a quick fix and probably not the best idea.
Added - IsWindowResized() to check if screen is resized.
If window is resized then width, height and shader resolution are updated.
Changed - MIT tag at bottom right color value to BLACK. Now it's easier to see.
* Closer Match to original code
* Removed the PLATFORM_DESKTOP Define
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.