diff options
| author | Industrious Nomad <44799276+IndustriousNomad@users.noreply.github.com> | 2019-10-26 03:45:15 -0400 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2019-10-26 09:45:15 +0200 |
| commit | a6db31c01e57ba9b0370190b11222dfaf4023b73 (patch) | |
| tree | 2cb0821b430c2e9613d74d9c4a1c0cb00bd103d2 /src/external/lua/include/lua.h | |
| parent | 39e22046c144e551ada940facd98f5f3d7039e59 (diff) | |
| download | raylib-a6db31c01e57ba9b0370190b11222dfaf4023b73.tar.gz raylib-a6db31c01e57ba9b0370190b11222dfaf4023b73.zip | |
updated RayMarching Demo (#997)
* 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
Diffstat (limited to 'src/external/lua/include/lua.h')
0 files changed, 0 insertions, 0 deletions
