Merging master (#3)
* 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>
This commit is contained in:
parent
da6b05e15c
commit
035826a37b
1 changed files with 547 additions and 269 deletions
|
|
@ -34,7 +34,7 @@ void main()
|
|||
mat3 normalMatrix = transpose(inverse(mat3(matModel)));
|
||||
|
||||
// Calculate fragment position based on model transformations
|
||||
fragPosition = vec3(matModel*vec4(vertexPosition, 1.0f));
|
||||
fragPosition = vec3(matModel*vec4(vertexPosition, 1.0));
|
||||
|
||||
// Send vertex attributes to fragment shader
|
||||
fragTexCoord = vertexTexCoord;
|
||||
|
|
|
|||
Loading…
Reference in a new issue