raysan5
b4975619ed
Review comments
3 years ago
raysan5
736d5920c7
Update core_input_gamepad.c
3 years ago
raysan5
cdc3754449
ADDED: Support model normal matrix location #1691
3 years ago
raysan5
2488d361b6
Review formatting
3 years ago
raysan5
c772de702b
REVIEWED: DrawMeshInstanced() matrix computations
Simplified some parts and reviewed for a correct computation of matrices, considering stereo render view/projection per eye transformations
3 years ago
raysan5
434a3a276d
REVIEWED: Define instancing API entry points for RPI
3 years ago
raysan5
8e51e6d1df
REVIEWED: CheckCollisionPointLine()
Use fabsf() instead of abs()
3 years ago
raysan5
fd3e2fda00
RENAMED: example: shaders_mesh_instancing
shaders_rlgl_mesh_instanced -> shaders_mesh_instancing
3 years ago
raysan5
8f1d81df0f
Review code formatting
3 years ago
mkupiec1
3d1a05d588
[shapes] CheckCollisionPointTriangle (fix), CheckCollisionPointLine (new routine) ( #1695 )
* CheckCollisionPointTriangle
* New feature proposal to existing collision detection routines.
It checks if point [point] belongs to line created between two points [p1] and [p2] with defined margin in pixels[threshold].
1693
3 years ago
raysan5
98a2e16d4d
REVIEWED: RPI instancing checks #1679
3 years ago
raysan5
b5aaf33058
Review matrix multiplication
3 years ago
raysan5
aaf0d8b839
REVIEWED: rlgl: Stereo render is working again
As a bonus, stereo render is compatible with mesh instancing now!
3 years ago
raysan5
00e71faed6
REVIEWED: text_draw_3d, code formatting
3 years ago
raysan5
6a24dd8945
REVIEWED: tinyobjloader #1568
3 years ago
raysan5
b8c3b8277c
Reviewed UWP project #1681
3 years ago
raysan5
8f3e91ae83
REVIEWED: models_gltf_model #1684
3 years ago
raysan5
23a764190e
ADDED: LoadShaderFromMemory() #1690
3 years ago
raysan5
bc6b16beb2
REVIEWED: DrawTexturePoly()
3 years ago
Vlad Adrian
668ba870e4
Added draw 3d text example ( #1689 )
3 years ago
Carlos Hernandez Barbera
7eaeffc8d9
GetCollisionRayMesh makes use of triangle count ( #1688 )
Co-authored-by: Carlos Hernandez Barbera <carloshdezbarbera@gmail.com>
3 years ago
Maksymilian Mika
f38ced15e7
Fixing pointer arithmetic to avoid error [-Werror=pointer-arith] ( #1685 )
3 years ago
Dan Bechard
b6ca524bdd
Preserve floating point values in DrawRectangleLinesEx ( #1683 )
3 years ago
Ray
f9bab14fdb
REVIEWED: DrawMeshInstanced()
3 years ago
Ray
c6828070dc
Update models_yaw_pitch_roll.c
3 years ago
Ray
fb9a437f8a
REVIEWED: OpenGL 1.1 working again
3 years ago
Ray
cba412cc31
WARNING: BREAKING: rlgl redesign -WIP-
rlgl module has been completely redesigned to move Mesh/Material structures to [models] module. Still some work to do, broken elements:
- [models] OpenGL 1.1 mesh rendering: DrawMesh()
- [models] Mesh Instancing: DrawMeshInstanced()
- [models] Stereo rendering: DrawMesh()
- [models] GL_FLOAT, GL_UNSIGNED_INT exposed
- [models] GenMeshCustom()
- [rlgl] GenTexture*() functions removal?
3 years ago
chriscamacho
9569d6a802
Add DrawTexturedPoly and example ( #1677 )
* adds DrawTexturedPoly with example
* the actual example ... ahem
* moved DrawTexturePoly to textures function and example
NB function name changed to fit with other DrawTextureXXX functions
(no "d" )
Co-authored-by: codifies <you@example.com>
3 years ago
Ray
dd59350485
REVIEW: instancing example formating
3 years ago
Max
7e58838895
added animation and keyboard controls to rlgl mesh Instancing example ( #1678 )
3 years ago
Jeffery Myers
13f97471a2
Change the color of the FPS display if the FPS is low (orange for <30, red for < 15). ( #1676 )
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
3 years ago
Ray
bb73a8089a
Reviewed DrawFPS() comment
3 years ago
Ray
9bea64b5e4
REMOVED: DrawGizmo()
This is a very simple and specific implementation that should be better addressed by the users
3 years ago
Ray
9047025ab7
Update textures.c
3 years ago
Ray
c2bc3d22a1
REVIEWED: DrawRectangleRounded() performance #1523
Function analyzed using RenderDoc. It's a complex function and could require many triangles for the corners but it seems overall it's quite optimized!
3 years ago
Ray
60bfee4a7d
Added security check for render batch #1670
3 years ago
Victor
c5b0a1f005
Fix activeTextureId to have MAX_BATCH_ACTIVE_TEXTURES elements instead of the hardcoded 4 ( #1674 )
3 years ago
Chris
2532c396ed
Fix 90 degree bug with DrawTexturePro and DrawRectanglePro ( #1673 )
- The vertices did not map to where I expected causing rotation to be
off by 90 degrees. I reorganized the vertices making it easier to
reason about which fixes this.
- The order for drawing is now topLeft, bottomLeft, bottomRight,
topRight.
3 years ago
Ray
71fe0bff95
Update text_raylib_fonts.c
3 years ago
Ray
89278953ae
Update text_raylib_fonts.c
3 years ago
Ray
3e6ee028e5
Update rlgl.h
3 years ago
Ray
6f5a4a9351
REVIEWED: rlgl_standalone usage
3 years ago
Dan Bechard
5325d8d2ba
Don't call sqrtf when axis already normalized ( #1672 )
3 years ago
Davidson Francis
81738bfa98
Fix PATH for other PLATFORM_OS's ( #1671 )
The Raylib root Makefile for PLATFORM=PLATFORM_WEB is assumed to
run in Windows environments, which makes it incorrectly set the
PATH variable, so Linux (and possibly other) environments are not
able to find binaries from EMSDK_PATH.
Fix this by checking which PLATFORM_OS and configure PATH
accordingly.
3 years ago
Jeffery Myers
e48b9a6da1
[Examples] Warning fixes (pt 1) ( #1668 )
* Fix some warnings in examples.
* cleanups from review
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
3 years ago
Jeffery Myers
c6dd41495b
typecast warning fixes. ( #1667 )
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
3 years ago
Ray
2ce28f75ad
WARNING: BREAKING: REDESIGNED: rlgl module
- Many functions renamed to follow rl*() convention
- Some internal functions exposed in the API
- Some functionality moved to other modules
- Reorganized all functions by categories
- Make sure it keeps working with OpenGL 1.1 and 2.1
3 years ago
Ray
24dae29a03
Review latest PR and some formatting
3 years ago
Jeffery Myers
2c0a533948
[AUDIO] Music Looping enhancements ( #1665 )
* Add loop functions for music files.
Tell xm tracker to loop tracker when loop state changes.
Don't let looped xm tracker streams restart, they are infinite
Use modulo to make time tracker for xm looped streams work correctly.
* Remove loop functions, set XM loop in update based on flag.
Formatting cleanups.
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
3 years ago
Rabia Alhaffar
8e1e1ef970
Changed IsKeyPressed('R') to IsKeyPressed(KEY_R) for Physics examples! ( #1666 )
3 years ago