raysan5
b4fddf146b
REVIEWED: Added new mechanism to avoid data types collision between modules that share same data types and can be used in standalone mode
2021-07-30 13:44:52 +02:00
raysan5
aeb1a0da84
REVERTED: Removed the need for rlMatrix
...
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-30 12:54:54 +02:00
raysan5
71373ee524
Update Makefile
2021-07-30 12:48:09 +02:00
raysan5
1cc25d1a2d
Review include path that was breaking the build
2021-07-30 12:14:31 +02:00
raysan5
bd70a22412
Review some issues
2021-07-30 11:56:14 +02:00
raysan5
8b7f43f89b
WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-
...
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-29 21:57:50 +02:00
raysan5
58e9a0894f
Reviewed some functions to avoid calling other functions
2021-07-29 21:50:50 +02:00
iskolbin
6ef3ab3d3a
impoves raylib_parser: makes it generic, adds -d key for functions define (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-29 20:37:44 +02:00
raysan5
a9f6ff6fe3
Add external folder to build (just in case)
2021-07-29 20:32:30 +02:00
Ray
cd1464390c
Update CONVENTIONS.md
2021-07-29 12:11:12 +02:00
Kyle Appelgate
d8ca13f4c6
fixed DisableCursor() on web by registering an empty mouse click event function in emscripten ( #1900 )
2021-07-28 21:38:31 +02:00
raysan5
8fecf45f4c
REVIEWED: rnet include from extras
2021-07-28 19:48:20 +02:00
raysan5
96aadec503
REVIEWED: Info on image loading failure
2021-07-28 19:47:53 +02:00
raysan5
c219fc02cd
Review includes to use extras libraries
2021-07-28 17:29:49 +02:00
raysan5
75d675ab4d
Review physac.h path
2021-07-28 17:21:34 +02:00
raysan5
69a82c7a0d
ADDED: raygui to extras libraries for convenience
2021-07-28 13:15:43 +02:00
raysan5
0c3902b543
ADDED: GetModelBoundingBox()
...
Reorganized models functionality, it still needs some review...
2021-07-28 13:15:10 +02:00
raysan5
7c7ee1cdc8
REVERTED: Mesh indices issue #1891
2021-07-28 13:12:16 +02:00
raysan5
0c17d1e14f
Minor formatting tweak
2021-07-28 12:58:43 +02:00
raysan5
0352aa2094
Replace TABS by 4 spaces
2021-07-28 12:55:38 +02:00
raysan5
a9230a6c07
Update shapes_logo_raylib_anim.c
2021-07-28 12:50:18 +02:00
Jeffery Myers
c706b33b30
Don't normalize zero length vectors. ( #1896 )
2021-07-28 08:59:39 +02:00
raysan5
e9c7ab925f
REVIEWED: rlDrawVertexArrayElements() #1891
2021-07-27 23:35:54 +02:00
raysan5
70ed52dd5d
REVIEWED: QuaternionFromAxisAngle() #1892
2021-07-27 23:30:08 +02:00
Uneven Prankster
4e363b5479
Remove unused UWP defines ( #1894 )
...
* Unused UWP define removal
* Further removal of unusued UWP defines
2021-07-26 17:40:10 +02:00
AKDev
9839ea6667
Added another raylib binding for nelua ( #1890 )
2021-07-25 19:45:04 +02:00
Níckolas Daniel da Silva
87b542085b
Update SPONSORS.md ( #1886 )
2021-07-24 19:55:21 +02:00
Ray
647b54a2dc
Update BINDINGS.md
2021-07-23 23:38:44 +02:00
Jeffery Myers
548961aea1
State that raylib works with both C and C++ and move raylib-cpp to a wrapper section instead of a language binding, for less confusion. ( #1885 )
...
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2021-07-23 23:33:32 +02:00
Ray
00911b0842
Reviewed ImageDrawLine() formating
2021-07-23 23:32:20 +02:00
Alexander Buhl
ff2b8d6db1
Fixes #1873 Implemented remaining 7/8 of ImageDrawLine ( #1874 )
...
* 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-23 23:17:04 +02:00
Ray
0fa295c72d
Review formating to follow raylib style conventions
2021-07-23 18:16:08 +02:00
Luiz Pestana
4a01139c8d
Ignore generated example binaries ( #1884 )
2021-07-23 18:04:09 +02:00
GoldenThumbs
64e786fe28
Add example shaders_shapes_outline.c ( #1883 )
2021-07-18 23:45:13 +02:00
Luiz Pestana
5c76c33d7d
Raspberry RPI/DRM keyboard fix ( #1879 )
...
Legacy keyboard support was blocking the render loop, also it was keeping the last key status until the next key.
2021-07-17 20:27:48 +02:00
630Studios
53bb87c8fb
[Models] Better Fix for GenMeshTangents issue #1876 ( #1878 )
...
* 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-17 01:33:49 +02:00
630Studios
9aaf7a8057
GenMeshTangents Fix ( #1877 )
...
* GenMeshTangents Fix
* GenMeshTangents Fix - Comment Update
* GenMeshTangents Fix - Comment Update final
* Code Style Changes
* Code Style Changes Final
2021-07-16 22:14:13 +02:00
raysan5
56cab4b6a9
REVIEWED: shaders_basic_lighting #1865
...
Simplified the example
2021-07-16 17:18:32 +02:00
raysan5
c4804c4c0c
REVIEWED: Wrong normal matrix calculation #1870
2021-07-16 17:12:22 +02:00
raysan5
8809ae66c6
REVIEWED: Possible memory leak
2021-07-16 16:11:22 +02:00
raysan5
85dc2cc03a
Minor format tweaks
2021-07-16 16:10:53 +02:00
raysan5
db4cfc9fbd
Reviewed resources licenses
2021-07-16 16:10:35 +02:00
raysan5
7d2845a661
Improve assets license information
2021-07-16 14:29:20 +02:00
raysan5
30a3dae8a6
Update texel_checker.png
2021-07-16 14:27:56 +02:00
GoldenThumbs
59acb6dbea
Updated models.c ( #1871 )
...
- fixed issue where vertex positions being passed in place of vertex normals.
2021-07-13 12:18:52 +02:00
Humberto Yeverino Jr
8277597bcf
Fix Android multi-touch ( #1869 )
2021-07-13 12:17:47 +02:00
Daniel Nagy
8a46b5e6c0
Use 60 FPS for textures_image_loading example ( #1867 )
2021-07-11 18:47:31 +02:00
raysan5
ae230dae46
Update Makefile
2021-07-09 18:49:36 +02:00
raysan5
7062415aec
WARNING on emscripten_set_fullscreenchange_callback()
2021-07-09 18:49:29 +02:00
raysan5
5ed814e950
Minor tweaks and comments
2021-07-09 17:36:20 +02:00