summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2021-08-12[rlgl] rlUpdateVertexBuffer (#1914)630Studios
* GenMeshTangents Fix * GenMeshTangents Fix - Comment Update * GenMeshTangents Fix - Comment Update final * Code Style Changes * Code Style Changes Final * Code Style Changes Final 2 * GenMeshTangents better handling for issue #1876 * GenMeshTangents better handling for issue #1876 * GenMeshTangents: Better fix for issue #1876 * vboId location fix * rlUpdateVertexBuffer - bufferId is an unsigned int
2021-08-11WARNING: BREAKING: Renamed `CharInfo` to `GlyphInfo` and more...raysan5
This commit introduces some breaking changes for library consistency, hopefully not too dramatic... Here the full list: - RENAMED: struct `CharInfo` to `GlyphInfo`, actually that's the correct naming for the data contained. It contains the character glyph metrics and the glyph image; in the past it also contained rectangle within the font atlas but that data has been moved to `Font` struct directly, so, `GlyphInfo` is a more correct name. - RENAMED: `CodepointToUtf8()` to `CodepointToUTF8()`, capitalization of UTF-8 is the correct form, it would also require de hyphen but it can be omitted in this case. - RENAMED: `TextToUtf8()` to `TextCodepointsToUTF8` for consistency and more detail on the functionality. - ADDED: `GetGlyphInfo()` to get glyph info for a specific codepoint - ADDED: `GetGlyphAtlasRec()` to get glyph rectangle within the generated font atlas - Some additional tweaks for consistency
2021-08-11REVIEWED: DrawTextPro()raysan5
WARNING: DrawTextPro() requires including `rlgl.h`, before it was only dependant on `textures` module.
2021-08-11TODO: DrawTextPro() rotation not working?raysan5
2021-08-11ADDED: DrawTextPro() with text rotation supportraysan5
2021-08-11WARNING: REMOVED: DrawTextRec() and DrawTextRecEx()raysan5
- DrawTextRec() and DrawTextRecEx() have been moved to example, those functions could be very specific depending on user needs so it's better to give the user the full source in case of special requirements instead of allowing a function with +10 input parameters.
2021-08-10Document Get{Key,Char}Pressed return value. (#1909)Ryan Roden-Corrent
I think it is useful to know what the empty behavior is in cases where you are enumerating key presses (e.g. implementing "press any key to continue").
2021-08-08Replaced TABS by spacesraysan5
2021-08-08REVIEWED: Avoid conflict with boolraysan5
2021-08-08REVIEWED: Some warnings...raysan5
2021-08-08ADDED: GenMeshCone() #1903raysan5
2021-07-31Improve rlgl descriptionraysan5
2021-07-31REVIEWED: rlgl defines for consistencyraysan5
2021-07-31REVIEWED: rlgl module header inforaysan5
2021-07-31REVIEWED: Improved font loading inforaysan5
2021-07-31REVIEWED: Avoid bool type collisionsraysan5
2021-07-30Revert "REVIEWED: Avoid UBSAN warnings #1891"raysan5
This reverts commit a8e9e1387f0abaa46557dd2076973cd30784148c.
2021-07-30REVIEWED: Avoid UBSAN warnings #1891raysan5
2021-07-30Update raudio.craysan5
2021-07-30REVIEWED: Added new mechanism to avoid data types collision between modules ↵raysan5
that share same data types and can be used in standalone mode
2021-07-30REVERTED: Removed the need for `rlMatrix`raysan5
Now rlgl uses the `Matrix` type, just make sure it has been previously defined somewhere... I don't like this approach but it's probably the easier one for the users... still looking for a better solution... maybe using something like `#define MATRIX_TYPE`, so it can be checked in other modules.
2021-07-30Review include path that was breaking the buildraysan5
2021-07-30Review some issuesraysan5
2021-07-29WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-raysan5
rlgl has been redesigned to avoid any dependency to `raylib` or `raymath`, all functions using some of those libs have been reviewed. - REMOVED: `Texture2D`, `Shader` structs dependency - REMOVED: `Vector3`, `Matrix` structs dependency - REMOVED: raymath functions dependency, all required math is implemented in rlgl - ADDED: `rlMatrix` custom rlgl type - ADDED: `utils.c`: `rlMatrixFromMatrix()` and `rlMatrixToMatrix()` for a safe conversion between raylib<->rlgl matrix types - ADDED: `rl` prefix to all `rlgl` structs - Other small tweaks here and there
2021-07-29Reviewed some functions to avoid calling other functionsraysan5
2021-07-29impoves raylib_parser: makes it generic, adds -d key for functions define ↵iskolbin
(RLAPI for raylib.h), increases maxiumum number of fields in structs and values in enums, doubles max length of struct field names; split float3/float16 struct typedefs in raymath to allow parser to process the file (#1901)
2021-07-29Add external folder to build (just in case)raysan5
2021-07-28fixed DisableCursor() on web by registering an empty mouse click event ↵Kyle Appelgate
function in emscripten (#1900)
2021-07-28REVIEWED: Info on image loading failureraysan5
2021-07-28ADDED: raygui to extras libraries for convenienceraysan5
2021-07-28ADDED: GetModelBoundingBox()raysan5
Reorganized models functionality, it still needs some review...
2021-07-28REVERTED: Mesh indices issue #1891raysan5
2021-07-28Minor formatting tweakraysan5
2021-07-28Don't normalize zero length vectors. (#1896)Jeffery Myers
2021-07-27REVIEWED: rlDrawVertexArrayElements() #1891raysan5
2021-07-27REVIEWED: QuaternionFromAxisAngle() #1892raysan5
2021-07-26Remove unused UWP defines (#1894)Uneven Prankster
* Unused UWP define removal * Further removal of unusued UWP defines
2021-07-23Reviewed ImageDrawLine() formatingRay
2021-07-23Fixes #1873 Implemented remaining 7/8 of ImageDrawLine (#1874)Alexander Buhl
* Implemented remaining 7/8 of ImageDrawLine The existing code was correct for one octant, it now works for all 8 Added two internal functions, _ImageDrawLineHorizontal and _ImageDrawLineVertical, whithout which it would've been 4 times as much code. * ImageDrawLine: Replaced 3 functions with 1 Removed both freshly added internal functions Crammed it all into one * ImageDrawLine shortened significantly using maths Substituted X and Y, then wrote one abstract loop instead of 4 specific loops. Lots of comments to explain what I'm doing for future maintainers. * Now conforms with style conventions Also reworded a comment to sound more... fomal.
2021-07-23Review formating to follow raylib style conventionsRay
2021-07-17Raspberry RPI/DRM keyboard fix (#1879)Luiz Pestana
Legacy keyboard support was blocking the render loop, also it was keeping the last key status until the next key.
2021-07-17[Models] Better Fix for GenMeshTangents issue #1876 (#1878)630Studios
* GenMeshTangents Fix * GenMeshTangents Fix - Comment Update * GenMeshTangents Fix - Comment Update final * Code Style Changes * Code Style Changes Final * Code Style Changes Final 2 * GenMeshTangents better handling for issue #1876 * GenMeshTangents better handling for issue #1876 * GenMeshTangents: Better fix for issue #1876 * vboId location fix
2021-07-16GenMeshTangents Fix (#1877)630Studios
* GenMeshTangents Fix * GenMeshTangents Fix - Comment Update * GenMeshTangents Fix - Comment Update final * Code Style Changes * Code Style Changes Final
2021-07-16REVIEWED: Wrong normal matrix calculation #1870raysan5
2021-07-16Minor format tweaksraysan5
2021-07-13Updated models.c (#1871)GoldenThumbs
- fixed issue where vertex positions being passed in place of vertex normals.
2021-07-13Fix Android multi-touch (#1869)Humberto Yeverino Jr
2021-07-09Update Makefileraysan5
2021-07-09WARNING on emscripten_set_fullscreenchange_callback()raysan5
2021-07-09Minor tweaks and commentsraysan5