Commit Graph

5331 Commits

Author SHA1 Message Date
raysan5 ef858b0dbb Review examples 2021-10-14 13:37:22 +02:00
Ray f9c8e31ed7
Update SPONSORS.md 2021-10-14 12:30:46 +02:00
Ray 9ac5a96408 Update rmodels.c 2021-10-14 10:52:24 +02:00
Ray 8a5bc933de Starting to review glTF loading -WIP- 2021-10-14 10:43:29 +02:00
Ray 3e604a8645 Remove trailing spaces 2021-10-14 00:11:37 +02:00
Ray 83b3478fe4 Reviewed some TODO 2021-10-13 23:45:57 +02:00
raysan5 51b147cd32 Update models_loading_vox.c 2021-10-13 21:08:58 +02:00
raysan5 4390d3a122 Avoid raylib dependency 2021-10-13 20:47:57 +02:00
raysan5 a77afd5c8f Reviewed some MSVC warnings 2021-10-13 20:47:42 +02:00
raysan5 32c9d411b2 REVIEWED LoadVOX() -WIP-
It seems vox loader is not working properly...
2021-10-13 20:28:58 +02:00
raysan5 1350361f58 Reviewed formatting 2021-10-13 19:34:37 +02:00
Horrowind e545286369
Fix issue with empty cylinder (#2050)
* Add DrawCylinderEx and DrawCylinderWiresEx

* Modify examples/models/models_geometric_shapes.c to show the
usage of DrawCylinder(Wires)Ex

* Simplified DrawCylinder and DrawCylinderWires to use the -Ex versions.

* This reverts commits f49b2598dd and
4542b32e4e.

* Fixed formatting.
Renamed base_angle to baseAngle.
Remove most of the raymath.h calls.

* Added check for empty cylinder.

* Added check for empty cylinder.

* Fix bug.

Co-authored-by: Horrowind <you@example.com>
2021-10-13 19:32:30 +02:00
raysan5 942731cc22 REVIEWED: macOS does not require GLAD library #2052
It directly uses the libraries provided by the system
2021-10-13 19:29:29 +02:00
raysan5 4e88160e78 Update raylib.h 2021-10-13 19:22:47 +02:00
Ray a1db0220a1 REVIEWED: LoadFontFromImage()
Avoid crash on wrong sprite font
2021-10-12 23:00:00 +02:00
raysan5 f9d4601057 Create LICENSE 2021-10-12 21:26:41 +02:00
raysan5 f1659d78d3 Reviewed models examples paths 2021-10-12 21:01:49 +02:00
raysan5 007e840be1 Remove VS2019 solution projects 2021-10-12 20:27:03 +02:00
raysan5 d92531b81d Rename examples for consistency 2021-10-12 20:23:59 +02:00
raysan5 670eab8b17 Review comments 2021-10-12 20:23:46 +02:00
raysan5 252bd22738 Merge branch 'master' of https://github.com/raysan5/raylib 2021-10-12 20:22:12 +02:00
raysan5 0b0711027a Remove unimplemented function 2021-10-12 20:21:56 +02:00
Ray e168c6dd81
Update CHANGELOG 2021-10-12 19:50:51 +02:00
Horrowind 526e68afa8
Add DrawCylinder(Wires)Ex (#2049)
* Add DrawCylinderEx and DrawCylinderWiresEx

* Modify examples/models/models_geometric_shapes.c to show the
usage of DrawCylinder(Wires)Ex

* Simplified DrawCylinder and DrawCylinderWires to use the -Ex versions.

* This reverts commits f49b2598dd and
4542b32e4e.

* Fixed formatting.
Renamed base_angle to baseAngle.
Remove most of the raymath.h calls.

Co-authored-by: Horrowind <you@example.com>
2021-10-12 19:36:06 +02:00
raysan5 1b91ac0b0d REVIEWED: EXAMPLE: shaders_shapes_outline
Removed unneeded resources to use raylib ones.
2021-10-12 13:36:31 +02:00
raysan5 599d6e810f REVIEWED: models resources structure 2021-10-12 12:47:50 +02:00
raysan5 75b5cc0084 REMOVED: EXAMPLE: models_gltf_animation 2021-10-12 12:47:10 +02:00
raysan5 9a568654be REMOVED: EXAMPLE: models_material_pbr 2021-10-12 12:46:41 +02:00
raysan5 4a1bd12e2d REVIEWED: DrawCubeTextureRec() formatting 2021-10-12 12:08:12 +02:00
Ray 282ec9bb76 Formatting tweak 2021-10-10 23:48:16 +02:00
Ray a91f61262e Review RLAPI to avoid warnings 2021-10-10 23:24:05 +02:00
Ray f8719e7ec3 Reviewed latest PR formatting 2021-10-10 22:38:58 +02:00
Arnaud Valensi 7c36f3f6b8
Fix dpi issues (#1987) 2021-10-10 22:34:56 +02:00
Jeffery Myers 3d6d5558c9
Add CheckCollisionPointLine to the header, it appears to have been missed (#2042) 2021-10-10 17:06:15 +02:00
Raffaele a39a44c12f
Added the bindings for Scheme48. (#2043) 2021-10-10 17:05:26 +02:00
Jeffery Myers 60bedb4f87
[Documentation] Move older and abandoned bindings to new section at the end of the file (#2040)
* Move older and abandoned bindings to new section at the end of the file

* cleanup

* raylib forever is auto
2021-10-10 00:26:15 +02:00
Jeffery Myers 62554db48d
Add missing #endif to windows API defines (#2038) 2021-10-08 19:12:21 +02:00
Ray 94650f0def Simplified RLAPI preprocessor branching 2021-10-08 17:22:58 +02:00
Jeffery Myers 33ed452439
Fix dll exports so that raylib builds in visual studio again. (#2037) 2021-10-07 20:17:45 +02:00
Ray bb2763cc1f Update models_rlgl_solar_system.c 2021-10-07 16:08:39 +02:00
raysan5 3e71232a04 WARNING: BREAKING: REMOVED: `GenImagePerlinNoise()`
raylib was using `stb_perlin.h` library to generate perlin noise, it seems that recently this library has been flagged as it could be infringing some algorythm patent. For security, it has been removed from raylib.
2021-10-06 21:20:36 +02:00
raysan5 700d448d75 Updated external libraries 2021-10-06 21:13:17 +02:00
raysan5 8722ff7043 REVIEWED: `RLGL.State.vertexCounter` (See detailed comment)
`RLGL.State.vertexCounter` is a generic counter and it's reused for all `rlRenderBatch`, actually, once render batch is filled, required vertex count is provided through the draw calls, so, the total accumulated count of vertices is not directly registered inside the rlRenderBatch.

`RLGL.State.vertexCounter` keeps that count but one possible improvement(?) could be moving the `vertexCounter` inside `rlRenderBatch` to always keep a register of the total accumulated vertices in that batch (despite that info is provided by the accumulated `draws[i].vertexCount`.

Simplifying, `RLGL.State.vertexCounter = SUM(draws[i].vertexCount)`

The decision to move the counter out of `rlVertexBuffer` is to keep only the data that I think should belong to `rlVertexBuffer` and make it more generic, aligned with raylib `Mesh` structure.

The decision to not add it to `rlRenderBatch` is because it could contain multiple `rlVertexBuffer` and it would be confusing (because it would only register the count of the last filled one).
2021-10-06 11:44:57 +02:00
Ray 8d7f97ee04 Remove trailing spaces 2021-10-06 01:20:46 +02:00
Ray 9a4fb25285 REDESIGNED: Simplify vertex data recording
Instead of registering vertex texcoords and colors on every call, we keep the last defined value and we record everything on `glVertex*()`. Actually that behavior is aligned with OpenGL 1.1 standard.
2021-10-06 01:17:20 +02:00
raysan5 7439c7547b Review functions specifiers 2021-10-05 19:20:21 +02:00
raysan5 c8b16d72e2 Merge branch 'master' of https://github.com/raysan5/raylib 2021-10-05 18:33:53 +02:00
raysan5 b972b8d324 REVIEWED: API functions specifiers 2021-10-05 18:33:41 +02:00
AKDev 67de7c4483
added nelua-raylib and removed raylib-nelua (#2033)
removed raylib-nelua because it's the same as nelua-raylib but with some significant improvements 😸
2021-10-05 16:44:33 +02:00
Ray 9f4a839853
Update CHANGELOG 2021-10-04 10:44:32 +02:00