fxgen
43dd221786
* vox_loader.h -> Support custom memory allocators
...
* vox_loader.h -> Reverse Y<>Z for left to right handed system
* models/models_magicavoxel_loading.c -> fix model center
2021-09-08 08:21:58 +02:00
fxgen
5963725259
Merge branch 'master' of https://github.com/raysan5/raylib
2021-09-07 18:35:01 +02:00
Steven Schveighoffer
1a6adc5f74
Fix dynamic library issues on Macos ( #1978 )
2021-09-06 23:17:12 +02:00
raysan5
b15715ca80
Merge branch 'master' of https://github.com/raysan5/raylib
2021-09-05 21:49:49 +02:00
raysan5
8d3ff3fda8
Updated Makefile for latest Android NDK r32 LTS
...
It seems now it's required to use archiver `llvm-ar`
2021-09-05 21:49:47 +02:00
Tristan Schulz
24a38dbd3f
[models] LoadGLTF fixed missing transformations and nonroot skinning problem ( #1964 )
...
* Fixed gltf missing transforms on load
mend
* extracted Matrix calculation in to static method and added skinning check
* fixed formatting
2021-09-05 21:15:40 +02:00
raysan5
4120f12375
REVIEWED: Vox loading, mostly formating
2021-09-05 20:39:34 +02:00
fxgen
8410e10578
Merge branch 'master' of https://github.com/raysan5/raylib
2021-09-05 17:26:07 +02:00
procfxgen
dfc465ca6d
new models_magicavoxel_loading example ( #1940 )
...
* new models_magicavoxel_loading example
* Portable header-only file "magicavoxel_loader.h" for MagicaVoxel loader example.
* models_magicavoxel_loading example added to CMakeLists.txt and Makefile
* fix models_magicavoxel_loading example for linux.
* * vox_loader into "src/external/vox_loader.h"
* vox file support for "models.c"
* updated example "models/models_magicavoxel_loading.c"
* * Fix Vox_FreeArrays (removed memory leak)
* * removed magicavoxel_loader.h
* * Revert vs2019 solution
2021-09-04 19:55:09 +02:00
fxgen
7853b2bbba
* Fix Vox_FreeArrays (removed memory leak)
2021-09-04 18:05:55 +02:00
fxgen
9ce2423f61
* vox_loader into "src/external/vox_loader.h"
...
* vox file support for "models.c"
* updated example "models/models_magicavoxel_loading.c"
2021-09-04 00:01:48 +02:00
raysan5
93168304cd
Update shell.html
2021-09-03 15:24:05 +02:00
Ray
9ff8ad853c
Update raygui.h
2021-09-02 00:39:47 +02:00
Ray
fa79ae8a3d
Merge branch 'master' of https://github.com/raysan5/raylib
2021-09-01 23:41:00 +02:00
Ray
9362eaf9c6
REVIEWED: Naming: length vs size
2021-09-01 23:40:51 +02:00
atticus
dfadb3ee37
fix various memory leaks ( #1969 )
2021-09-01 23:15:32 +02:00
Ray
6e76baa6a9
WARNING: BREAKING: RENAMED: Font struct variables
...
RENAMED: GetCodepointsCount() -> GetCodepointCount()
RENAMED: GetTouchPointsCount() -> GetTouchPointCount()
2021-09-01 23:11:31 +02:00
Ray
a0f8682905
REVIEWED: <name>Count for consistency
...
Following english rules, it should be singular name before Count.
2021-09-01 23:09:30 +02:00
Tristan Schulz
e8fa7ceb79
[models] Fixed counting loop for face amount per material ( #1967 )
2021-09-01 21:29:20 +02:00
raysan5
d98e61c6eb
Minor format tweaks
2021-08-28 12:01:16 +02:00
Ray
936199d8de
Review dates
2021-08-27 18:50:02 +02:00
Ray
18af18479f
REVIEWED: ExportWaveAsCode()
2021-08-27 18:49:03 +02:00
Ray
b7ae0df3d9
REVIEWED: Decouple DrawMesh() and DrawMeshInstanced() #1958
2021-08-27 12:13:44 +02:00
Richard Smith
cac856119c
Change GetColor to take unsigned int ( #1954 )
2021-08-26 17:31:01 +02:00
Ray
14e443afba
REVIEWED: OpenGL 1.1 compilation issue
2021-08-25 23:41:33 +02:00
Ray
7749a2805c
UPDATED: raygui to latest version -WIP-
...
Note this new raygui version embeds ricons and `GuiTextBoxMulti()` is not working properly
2021-08-25 00:51:37 +02:00
Laurentino Luna
6575d31379
Fix tcc not finding emmintrin.h ( #1947 )
...
* Fix tcc not finding emmintrin.h
This allows to compile raylib with tcc with no errors.
* Remove __TINYC__ check from stb_image.h
This will be placed under textures.c
* Move tcc check to textures.c
Avoiding to change stb_image.h
2021-08-24 16:34:52 +02:00
raysan5
7c1889c282
REVIEWED: Support mouse wheel on x-axis #1948
2021-08-24 15:26:59 +02:00
Ray
b154bc33f5
Added note on GLFW custom allocators for the future
2021-08-22 01:08:11 +02:00
Ray
d98779abef
Minor tweak to avoid false error logs
2021-08-22 01:07:37 +02:00
Ray
aefdb9f9cf
REMOVED: Old function names defines
...
As far as next raylib version will be 4.0, no backward compatibility hacks will be maintained.
2021-08-21 23:57:41 +02:00
Ray
ff523d55ac
Updated raygui #1939
2021-08-20 11:56:25 +02:00
atticus
6d20430ccc
add NULL check ( #1925 )
2021-08-20 11:47:51 +02:00
Ray
a5beb940f8
Remove trailing spaces
2021-08-16 23:23:16 +02:00
Ray
f3385b6ad2
Update rlgl.h
2021-08-16 19:52:57 +02:00
Ray
ef8526ae36
Update rlgl.h
2021-08-16 19:26:10 +02:00
Ray
92a13878dc
Add some comments
2021-08-16 19:23:06 +02:00
Ray
1b4c58b66f
WARNING: BREAKING: Use frameCount on audio
...
This is a big change for optimization and a more professional understanding of audio. Instead of dealing with samples, now we deal with frames, like miniaudio does, so, avoiding continuous conversions from samples to frames.
2021-08-16 11:06:31 +02:00
raysan5
462e7aec52
Updated RAYLIB_VERSION to 4.0-dev
...
Several breaking changes have been done lately so I think it's better to mark raylib for next release as 4.0.
2021-08-15 13:25:14 +02:00
raysan5
aae60e1e44
REVIEWED: extern "C" definition position for consistency
...
Note that `extern "C"` calling convention only affects objects that need to be seen by the linker, in our case only functions... but it would also be required by global variables exposed, if any.
2021-08-15 13:02:53 +02:00
raysan5
848cdb267a
Support C++ usage as standalone library
2021-08-15 12:58:34 +02:00
raysan5
760cfd361e
REVIEWED: PHYSACDEF definition and C++ issues #1918
2021-08-15 12:52:12 +02:00
630Studios
092435d51c
[Models] Fix for issue #1809 ( #1917 )
...
* 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
* Fix for issue#1809 - Obj with more materials then mesh caused crash
* Fix for issue#1809 - Formatting Update
2021-08-12 21:01:40 +02:00
raysan5
1dff5814be
ADDED: rlUpdateVertexBufferElements() #1915
2021-08-12 21:01:09 +02:00
raysan5
26db391576
ADDED: rlActiveDrawBuffers() #1911
...
- ADDED: rlEnableColorBlend()/rlDisableColorBlend()
2021-08-12 20:38:57 +02:00
630Studios
ce3214b82d
[rlgl] rlUpdateVertexBuffer ( #1914 )
...
* 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-12 09:47:00 +02:00
raysan5
621a8766a8
WARNING: BREAKING: Renamed CharInfo to GlyphInfo and more...
...
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-11 21:16:39 +02:00
raysan5
b6541b7a55
REVIEWED: DrawTextPro()
...
WARNING: DrawTextPro() requires including `rlgl.h`, before it was only dependant on `textures` module.
2021-08-11 19:02:15 +02:00
raysan5
7e27c2ffa8
TODO: DrawTextPro() rotation not working?
2021-08-11 18:53:06 +02:00
raysan5
b55418effd
ADDED: DrawTextPro() with text rotation support
2021-08-11 18:31:56 +02:00