summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-03-31RENAMED: example: shaders_mesh_instancingraysan5
shaders_rlgl_mesh_instanced -> shaders_mesh_instancing
2021-03-31Review code formattingraysan5
2021-03-31[shapes] CheckCollisionPointTriangle (fix), CheckCollisionPointLine (new ↵mkupiec1
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
2021-03-31REVIEWED: RPI instancing checks #1679raysan5
2021-03-28Review matrix multiplicationraysan5
2021-03-28REVIEWED: rlgl: Stereo render is working againraysan5
As a bonus, stereo render is compatible with mesh instancing now!
2021-03-28REVIEWED: text_draw_3d, code formattingraysan5
2021-03-28REVIEWED: tinyobjloader #1568raysan5
2021-03-28Reviewed UWP project #1681raysan5
2021-03-28REVIEWED: models_gltf_model #1684raysan5
2021-03-28ADDED: LoadShaderFromMemory() #1690raysan5
2021-03-28REVIEWED: DrawTexturePoly()raysan5
2021-03-28Added draw 3d text example (#1689)Vlad Adrian
2021-03-27GetCollisionRayMesh makes use of triangle count (#1688)Carlos Hernandez Barbera
Co-authored-by: Carlos Hernandez Barbera <[email protected]>
2021-03-27Fixing pointer arithmetic to avoid error [-Werror=pointer-arith] (#1685)Maksymilian Mika
2021-03-26Preserve floating point values in DrawRectangleLinesEx (#1683)Dan Bechard
2021-03-26REVIEWED: DrawMeshInstanced()Ray
2021-03-26Update models_yaw_pitch_roll.cRay
2021-03-25REVIEWED: OpenGL 1.1 working againRay
2021-03-25WARNING: BREAKING: rlgl redesign -WIP-Ray
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?
2021-03-25Add DrawTexturedPoly and example (#1677)chriscamacho
* 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 <[email protected]>
2021-03-25REVIEW: instancing example formatingRay
2021-03-25added animation and keyboard controls to rlgl mesh Instancing example (#1678)Max
2021-03-24Change the color of the FPS display if the FPS is low (orange for <30, red ↵Jeffery Myers
for < 15). (#1676) Co-authored-by: Jeffery Myers <[email protected]>
2021-03-24Reviewed DrawFPS() commentRay
2021-03-24REMOVED: DrawGizmo()Ray
This is a very simple and specific implementation that should be better addressed by the users
2021-03-24Update textures.cRay
2021-03-24REVIEWED: DrawRectangleRounded() performance #1523Ray
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!
2021-03-23Added security check for render batch #1670Ray
2021-03-23Fix activeTextureId to have MAX_BATCH_ACTIVE_TEXTURES elements instead of ↵Victor
the hardcoded 4 (#1674)
2021-03-23Fix 90 degree bug with DrawTexturePro and DrawRectanglePro (#1673)Chris
- 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.
2021-03-23Update text_raylib_fonts.cRay
2021-03-23Update text_raylib_fonts.cRay
2021-03-23Update rlgl.hRay
2021-03-23REVIEWED: rlgl_standalone usageRay
2021-03-23Don't call sqrtf when axis already normalized (#1672)Dan Bechard
2021-03-23Fix PATH for other PLATFORM_OS's (#1671)Davidson Francis
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.
2021-03-23[Examples] Warning fixes (pt 1) (#1668)Jeffery Myers
* Fix some warnings in examples. * cleanups from review Co-authored-by: Jeffery Myers <[email protected]>
2021-03-22typecast warning fixes. (#1667)Jeffery Myers
Co-authored-by: Jeffery Myers <[email protected]>
2021-03-22WARNING: BREAKING: REDESIGNED: rlgl moduleRay
- 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
2021-03-22Review latest PR and some formattingRay
2021-03-22[AUDIO] Music Looping enhancements (#1665)Jeffery Myers
* 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 <[email protected]>
2021-03-22Changed IsKeyPressed('R') to IsKeyPressed(KEY_R) for Physics examples! (#1666)Rabia Alhaffar
2021-03-21[AUDIO] Use device native sample rates (#1660)Jeffery Myers
* Init MinAudio to a sample rate of 0 to let the device pick the rate. Read the rate from the device after it starts up. Convert AUDIO_DEVICE_SAMPLE_RATE from a #def into an int, that is set from the device's rate Set all sample systems to use the AUDIO_DEVICE_SAMPLE_RATE as the target rate to minimize resampling. * use device sample rate instead of separate var let config define a device sample rate if it wants to, but let the default be 0 for native rate. * Don't use fixed sample rates for tracker files. Remove config default audio buffer size and replace with a function that computes one for a reasonable frame rate at the output sample rate.
2021-03-21REVIEWED: rlgl module #1523Ray
2021-03-21Update MakefileRay
2021-03-21Reverting align change #1658Ray
2021-03-21WARNING: BREAKING: rlgl module redesign -WIP-Ray
- Some rlgl functions have been moved to core - Some functions have been made internal to rlgl - rlgl functions prefixed with rl*()
2021-03-20Fixed possible issue with memory alignment #1658Ray
2021-03-20Corrected issue with HighDPI on macOSRay