Reese Gallagher
7bde76ca2c
[rmodels] More performant point cloud rendering with DrawModelPoints() ( #4203 )
...
* Added the ability to draw a model as a point cloud
* Added example to demonstrate drawing a model as a point cloud
* polished the demo a bit
* picture for example
* adhere to conventions for example
* update png to match aspect ratio
* minor changes
* address code convention comments
* added point rendering to makefiles
* added point rendering to readme and renumbered examples
* comment formatting
---------
Co-authored-by: Reese Gallagher <re325479@ucf.edu.com>
Co-authored-by: Ray <raysan5@gmail.com>
2024-08-24 18:42:38 +02:00
Jeffery Myers
c8bee7c439
[rmodels] Add a warning when loading an OBJ with multiple materials. ( #4271 )
...
* Update raylib_api.* by CI
* Add a temp warning about material assignments during OBJ loading if the file has more than one material. To be replaced when the OBJ translation code is fixed.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-21 17:11:59 +02:00
Lázaro Albuquerque
308b77cd42
Fix warnings ( #4251 )
...
* Update rmodels.c
fix these warnings:
```
/src/rmodels.c:5744:17: warning: missing initializer for field 'w' of 'Vector4' [-Wmissing-field-initializers]
[build] 5744 | Vector4 outTangent1 = {tmp[0], tmp[1], tmp[2]};
[build] | ^~~~~~~
```
* Update rcore_web.c
fix warnings
2024-08-17 01:07:23 +02:00
Jeffery Myers
74680748b9
[Shapes] Remove duplicate color calls in DrawGrid ( #4148 )
...
* Update raylib_api.* by CI
* No need to call the color 4 times in a row, it's batched
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-09 19:45:07 +02:00
Ray
3abe728712
Minor tweaks
2024-07-08 22:54:19 +02:00
Ray
b8e5179431
Update rmodels.c
2024-07-07 21:02:20 +02:00
bohonghuang
6dd2a0e645
[rmodels] Consistent DrawBillboardPro with DrawTexturePro ( #4132 )
...
* [rmodels] Re-implement `DrawBillboardPro`
* [rmodels] Add comments to `DrawBillboardPro`
* [rmodels] Make `DrawBillboardPro` consistent with `DrawTexturePro`
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-07 20:27:51 +02:00
Ray
13e3092511
REVIEWED: DrawSphereEx(), added educational info
2024-06-30 11:15:45 +02:00
smalltimewizard
953df38ac4
[rmodels] DrawSphereEx() optimization ( #4106 )
...
* Optimize DrawSphereEx()
Precalculates sin/cos to eliminate unnecessary calls.
* Formatting correction to previous commit
* Bugfix to optimized DrawSphereEx()
OBO error -- added 1 additional precalculated cos/sin value to each array to complete the 360-degree wraparound. Technically the value of these last elements will always be the same as the first element due to 360-degree wraparound, but this is the simplest solution.
* Corrected missing free()
* Formatting correction
* New DrawSphereEx() algorithm
2024-06-30 11:09:21 +02:00
Ray
17cbc75aa7
REVIEWED: Formatting, follow raylib coding conventions
2024-06-30 11:07:38 +02:00
VitoTringolo
5b8efd68ba
[rmodels] Return true if no need to interpolate to avoid log flooding ( #4118 )
2024-06-30 09:50:12 +02:00
SuperUserNameMan
a3ef381b3e
rmodels.c, LoadImageFromCgltfImage() : fix base64 padding support ( #4112 )
...
* rmodels.c, LoadImageFromCgltfImage() : fix base64 padding support
This should fix the issue related to `.gltf` embeded image in base64 format, by ignoring `=` padding and calculating the data size in bytes correctly.
* follow guidelin convention
* try to follow guideline convention as much as possible
* clarify comments
i hope it's clear ennough
2024-06-28 09:56:27 +02:00
VitoTringolo
05d76c74a6
Fix GLTF animations ( #4107 )
...
Co-authored-by: Vito Tringolo <vito.tringolo@recognitionrobotics.com>
2024-06-28 09:53:29 +02:00
Peter0x44
4311db5ba5
[rmodels] Fix -Wstringop-truncation warning ( #4096 )
...
rmodels.c: In function ‘LoadBoneInfoGLTF.isra’:
rmodels.c:4874:32: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
4874 | if (node.name != NULL) strncpy(bones[i].name, node.name, sizeof(bones[i].name));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-06-24 09:29:10 +02:00
SuperUserNameMan
7773254022
LoadIQM() set model.meshMaterial[] ( #4092 )
2024-06-23 21:14:03 +02:00
Paul Melis
d582becbc2
[rmodels] Initial work to correctly handle the node hierarchy in a glTF file ( #4037 )
...
* Initial work to correctly handle the node hierarchy in a glTF file.
Static meshes seem to work fine in my tests. Haven't tried anything
animated yet, but it's almost certainly broken.
* Fix variable naming, some comment tweaks
* Only count primitives made up of triangles in glTF meshes
* Update processing of gltf mesh animation data, to match earlier
changes to vertex/normal/tangent data
2024-06-22 19:42:11 +02:00
kai-z99
a29d334734
[rmodels] Read uninitialized values in GenMeshTangents() - fix bounding case ( #4066 )
...
* fix
* assert
2024-06-16 10:44:31 +02:00
Jeffery Myers
2609211207
[SHAPES] Make functions that draw point arrays take them as const ( #4051 )
...
* Update raylib_api.* by CI
* make functions that take a pointer to an array take them as const pointers
* Update raylib_api.* by CI
* fix comment alignment.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-11 11:51:49 +02:00
VitoTringolo
0fc4b61906
LoadBoneInfoGLTF add check for animation name being NULL ( #4053 )
...
Co-authored-by: Vito Tringolo <vito.tringolo@recognitionrobotics.com>
2024-06-11 11:50:42 +02:00
Ray
6b3c1148bf
REVIEWED: Animation name being NULL #4037
2024-06-09 13:16:18 +02:00
Paul Melis
e1379afb01
Fix #4024 , cylinder drawing was incorrect due to imprecise angle ( #4034 )
...
* Fix #4024 , cylinder drawing was incorrect due to imprecise angle
stepping (mostly noticeable with semi-transparent cylinders)
* Fix var name and spacing
2024-06-04 11:46:57 +02:00
Jett
06f8c4f733
LoadIQM: attempt to load texture from IQM at loadtime. ( #4029 )
...
tries to load the texture with the base path of the original IQM file, relative paths should work.
2024-06-03 09:03:33 +02:00
David Holland
11202bf299
[rmodels] Send full matModel to shader in DrawMesh ( #4005 ) ( #4022 )
2024-06-02 11:52:00 +02:00
Jett
2998f8671b
LoadModelAnimationsIQM: fix corrupted animation names ( #4026 )
...
Correctly copies animation names from IQM animation to raylib animation.
2024-06-02 11:51:25 +02:00
Le Juez Victor
797de0f9ad
[rmodels] Multiplication of colors in DrawModelEx which can be simplified ( #4002 )
...
* simplifies color multiplication `DrawModelEx`
* add explicit casts
2024-05-29 13:16:19 +02:00
Salvador Galindo
c4a51a3ebd
fixed out of bounds error in GenMeshTangents ( #3990 )
2024-05-21 13:47:26 +02:00
Ray
763129e96b
Reviewed some warnings
2024-05-01 18:12:57 +02:00
Ray
e47ebec661
FIX: Issue with texcoords loading for glTF
2024-04-24 17:02:03 +02:00
bohonghuang
d80febde7d
[rlgl] Implement vertex normals for RLGL immediate drawing mode ( #3866 )
...
* Fix several non-functional `target_compile_definitions`
* Avoid hardcoding the default vertex attribute locations
* Implement functional `rlNormal3f`
* Add normal definitions for `DrawCube`
* Update the basic lighting example to use `DrawCube` and `DrawPlane`
2024-04-23 14:22:29 +02:00
Ray
3caa424ad4
Review formatting
2024-04-21 12:29:09 +02:00
Ray
f795941521
REVIEWED: rlSetVertexAttribute(), define last parameter as offset #3800
2024-04-20 23:37:31 +02:00
Ray
5cfcf13d4b
REVIEWED: LoadGLTF(), support 2nd texture coordinates loading
2024-04-20 23:23:30 +02:00
Ray
e543b78bb7
REVIEWED: LoadGLTF(), support additional vertex attributes data formats #3890
2024-04-20 22:01:59 +02:00
Ray
6435ef43f5
REVIEWED: LoadGLTF(), JOINTS loading #3836
...
Support all JOINT formats supported by glTF specs
2024-04-20 21:22:49 +02:00
Ray
e85f245ad4
REVIEWED: Remove final punctuation in code comments
2024-04-20 20:31:06 +02:00
Ray
29ce13b777
Code gardening
...
- Review formatting
- Improve readability for some functions result return
- Minimize early returns
- Align LoadFileData() to UnloadFileData()
2024-04-20 13:53:13 +02:00
Ray
a17a81f05b
Review code formating
2024-04-19 21:13:52 +02:00
Benji
4491ff0426
Replaced SQUAD quat interpolation with cubic hermite to align with gltf 2.0 spec ( #3920 )
2024-04-17 08:10:48 +02:00
Benji
4e37c8e370
Added missing interpolation types for GLTF animation channels ( #3919 )
2024-04-15 23:08:09 +02:00
Ray
646d70e93a
Remove trailing spaces
2024-04-02 09:38:06 +02:00
Kacper Zybała
9cf408f77c
Remove redundant rlDisableVertexAttribute for SHADER_LOC_VERTEX_COLOR ( #3871 )
2024-03-18 18:37:09 +01:00
Ray
30604080ef
Update rmodels.c
2024-03-07 12:33:45 +01:00
Ray
c1c9b69290
Implemented fix for #3859
2024-03-07 12:10:26 +01:00
Ray
fea3395fc1
Review formatting
2024-02-29 18:50:44 +01:00
johann nadalutti
53221eb799
feat: vox_loader normals and new voxels shader ( #3843 )
2024-02-29 18:28:51 +01:00
Ray
a6425fa1b9
Added note #3822
2024-02-26 11:03:09 +01:00
Gary M
bd6c0bab44
add 16-bit unsigned short vec4 format for gltf joint loading ( #3821 )
2024-02-26 10:48:19 +01:00
Nikita Blizniuk
54e0af40c1
fixed loading GLTF animations with 1 frame ( #3804 )
2024-02-19 18:51:04 +01:00
Jeffery Myers
4cd71a9750
Fix warnings in raylib ( #3793 )
2024-02-10 20:02:05 +01:00
Victor Gallet
ff1eeafb95
Fix bug to retrieve material specular map in DrawMesh function, with incorrect index ( #3758 )
2024-01-23 12:37:54 +01:00
kolunmi
9d628d1d49
Enable animation names for the m3d model format. ( #3714 )
2024-01-11 19:49:25 +01:00
Ray
3f1e59a7cf
Update copyright to 2024
2024-01-02 20:58:12 +01:00
Ray
e039a221a3
Review formating
2023-12-23 14:07:45 +01:00
kolunmi
8b5943d930
[rmodels] Set cgltf callbacks to use LoadFileData() and UnloadFileData() ( #3652 )
2023-12-19 10:38:57 +01:00
Ray
6b136fac67
ADDED: ExportMeshAsCode()
2023-11-30 13:01:19 +01:00
MrScautHD
0137efde7a
Expanding Possibilities: Integrating Additional glTF / GLB Data Formats for Enhanced 3D Experiences ( #3546 )
...
* Add more gltf data formats
* Fix forgot to save bone ids
* Fix misstake
* Fix code format
* Removed useless formats
2023-11-18 20:07:30 +01:00
Ray
64d64cc181
REVIEWED: Potential code issues reported by CodeQL #3476
2023-11-01 15:28:18 +01:00
Ray
15142a30f5
Update rmodels.c
2023-10-31 20:20:11 +01:00
Ray
43f36b9b05
REDESIGNED: LoadOBJ(), fix #3398
...
- Now triangulated meshes are properly supported
- Simplified code to consider issue situation
- Removed mesh split per material, just define separate mesh if multiple materials are required
2023-10-31 20:15:45 +01:00
Ray
de7beef05d
Remove trailing spaces
2023-10-31 15:54:52 +01:00
Ray
0d186a0557
REVIEWED: LoadModel(), removed cube fallback mechanism #3459
2023-10-31 11:32:07 +01:00
Ray
7677e4b928
REVIEWED: GetModelBoundingBox() #3485
2023-10-30 20:41:33 +01:00
neyrox
c4296b166a
Fix GenMeshPlane when resX != resZ ( #3425 )
...
Co-authored-by: Stanislav Yablonskiy <s.yablonskiy@pixonic.com>
2023-10-16 14:06:12 +02:00
Ray
b55cf40b91
Format tweaks
2023-10-09 11:07:02 +02:00
Ray
33c84b3c00
Update rmodels.c
2023-10-09 09:53:52 +02:00
Dennis E. Hamilton
7ab911b9a4
Ensure m3d faces in non-decreasing materialid sequence ( #3385 )
...
This modification replaces the expensive qsort protection with an
insertion sort that is near-instantaneous in the expected ordered case.
2023-10-09 09:49:58 +02:00
Ray
be8eea9eda
Format tweaks
2023-10-08 18:10:05 +02:00
Ray
52ba44c474
REVIEWED: #3363
2023-10-07 21:07:50 +02:00
DaveH355
da5407b776
Optimize m3d mesh creation ( #3363 )
...
* Optimize m3d mesh creation
* Avoid qsort() in rmodels.c
* Revert "Avoid qsort() in rmodels.c"
This reverts commit dc1bd559fd .
* Add comment
2023-10-07 21:02:05 +02:00
Ray
83d82b6697
Update rmodels.c
2023-09-22 11:58:24 +02:00
Ray
06986f36b3
Update rmodels.c
2023-09-15 17:04:07 +02:00
Ray
75e5cd86d7
Use internal default allocators, instead of user-exposed ones
2023-09-02 12:58:47 +02:00
Ray
6e18d96e7a
Some tweaks
2023-09-02 12:54:36 +02:00
Ray
0f447f1fb6
REVIEWED: Data size type consistency between functions #3168
2023-09-02 12:05:34 +02:00
Ray
f1c31bee27
Fix #3177 #3109
2023-08-10 22:45:25 +02:00
RadsammyT
0959f6ebf6
fix typos in rmodels, rshapes, rtext modules ( #3236 )
2023-08-10 00:21:14 +02:00
Ray
42cfabc670
REVIEWED: Old pragma formating
2023-08-09 10:00:26 +02:00
bohonghuang
298f93ef50
Fix DrawBillboardPro to allow source of negative size ( #3197 ) ( #3203 )
2023-07-26 17:46:57 +02:00
Ray
2d518bfbcd
REVIEWED: ProcessMaterialsOBJ() #3125
2023-06-24 13:32:13 +02:00
Ray
830e328df0
Remove trailing spaces
2023-06-17 16:48:18 +02:00
Charles
2e00d16f3d
GLTF: fix segfault in animNormals memcpy when mesh.normals == NULL ( #3103 )
2023-06-10 22:15:24 +02:00
Crynux
3438325e7d
Update rmodels.c; free fileData for LoadModelAnimationsGLTF ( #3065 )
...
fileData wasn't freed for LoadModelAnimationsGLTF causing a memory leak. Added UnloadFileData line, freeing it.
2023-05-15 11:24:37 +02:00
Alfred Reinold Baudisch
53b7b26c45
Added ModelAnimation.name, initially with GLTF animation names loaded ( #3044 )
2023-05-07 10:33:14 +02:00
Ray
7d68aa6869
REVIEWED: Modules description layout
2023-05-01 14:04:22 +02:00
Le Juez Victor
662dfad670
Correction of values used only once in GenMeshCubicmap ( #3032 )
...
* Correction of values used only once in GenMeshCubicmap
The mapWidth and mapHeight values were only used as a limit in the for loop when they could be used throughout the function.
* mapWidth and mapHeight removed from GenMeshCubicmap
mapWidth and mapHeight have been removed from GenMeshCubicmap in favor of using cubicmap.width and cubicmap.height
2023-04-29 17:03:19 +02:00
Ray
838fc7e303
REVIEWED: Some old TODOs
2023-04-22 21:17:53 +02:00
Ikko Eltociear Ashimine
ace7aef0e6
Fix typo in rmodels.c ( #2976 )
...
Upate -> Update
2023-03-20 16:43:22 +01:00
Ray
a7f81b06b9
Remove trailing spaces
2023-03-13 12:08:23 +01:00
Ray
4f7b5ff59f
WARNING: REMOVED: UnloadModelKeepMeshes()
2023-03-07 20:40:45 +01:00
Ray
ab1e246367
REVIEWED: Data types validation
2023-03-07 20:33:45 +01:00
Ray
7fd2bf1a32
Minimal tweak
2023-02-25 01:07:52 +01:00
Ray
153470d605
REVIEWED: GenMeshTangents(), avoid crash on missing texcoords data #2927
2023-02-21 23:55:55 +01:00
Ray
21961a786d
REVIEWED: Vertex colors support on M3D loading #2878
2023-02-12 12:10:01 +01:00
Julio C. Galindo
6ae21d6581
Fixed some grammar mistakes and typos. ( #2914 )
...
* Fixed some grammar mistakes.
* Fixed some typos.
2023-02-09 13:17:47 +01:00
Ray
1fea266472
Clean trailing spaces
2023-02-05 16:30:23 +01:00
HKrogstie
8c50da167d
fix DrawMesh using SHADER_LOC_COLOR_SPECULAR as a material map ( #2908 ) ( #2909 )
2023-02-05 11:04:30 +01:00
Ray
43e45cbb81
Replace TABS by 4 spaces
2023-02-04 20:19:51 +01:00
Ray
c94c666d04
Review formatting for M3D loading vertex colors
2023-01-30 17:05:12 +01:00
Uneven Prankster
929a46cbab
[models] Fix M3D vertex color import. ( #2878 )
...
* Fix vertex color import for .m3d
* Only load vertex colors when color map and/or materials are present
* Only execute when color array is present
---------
Co-authored-by: Uneven Prankster <unevenprankster@pm.me>
2023-01-30 17:00:39 +01:00
Rob Loach
7fff1ba0b0
ADDED: IsModelReady(), IsMaterialReady(), IsTextureReady(), IsRenderTextureReady() ( #2895 )
2023-01-28 12:13:09 +01:00
Jeffery Myers
81ca2f0bf3
Fix warnings and bad project settings for 4.5 release ( #2894 )
2023-01-27 19:20:42 +01:00
Ray
0125790801
Update rmodels.c
2023-01-25 23:13:17 +01:00
Ray
5149da5719
Merge branch 'master' of https://github.com/raysan5/raylib
2023-01-24 17:16:44 +01:00
Ray
5b3c5e1a16
REVIEWED: ProcessMaterialsOBJ() available when required
2023-01-24 17:16:35 +01:00
PencilAmazing
542ef8904a
[models] Load bone names from IQM file if available ( #2882 )
...
* Load bone names from IQM file if available
* Formatting and default bone name
2023-01-23 19:55:02 +01:00
Rob Loach
d8af76f67c
Fix to use TRACELOG() instead of TraceLog() for internal modules ( #2881 )
...
There were a few raylib modules that continued to use TraceLog() instead of the TRACELOG() macro. This change ensures that all the internal raylib modules use the TRACELOG() pattern consistently.
2023-01-22 11:10:38 +01:00
Jeffery Myers
c649bec26c
Have LoadMaterials call the same code that OBJ loader does so that we can read MTL files ( #2872 )
2023-01-20 16:13:19 +01:00
Jeffery Myers
edaca16d7c
Fix warnings in raylib project from MSVC ( #2871 )
2023-01-20 16:05:19 +01:00
Jeffery Myers
116603e61c
don't try to free a void* buffer as if it's a cgltf_data structure ( #2867 )
2023-01-19 21:21:05 +01:00
Ray
d3c1a04983
REVIEWED: GLTF animations support #2844
2023-01-02 20:46:33 +01:00
Charles
f2e3d6eca7
[models] Add GLTF animation support ( #2844 )
...
* add GLTF animation support
* use correct index when allocating animVertices and animNormals
* early exit LoadModelAnimationsGLTF if the gtlf file fails to parse
* update models/models_loading_gltf.c to play gltf animation
Updated the .blend file to use weights rather than bone parents so it
fits into the framework. Exported with weights to the .glb file.
* fix order of operations for bone scale in UpdateModelAnimation
* minor doc cleanup and improvements
* fix formatting
* fix float formatting
* fix brace alignment and replace asserts with log messages
2023-01-02 20:23:48 +01:00
Ray
b59fab7ee6
Update year to 2023
2023-01-01 16:00:56 +01:00
Ray
fadc29d811
WARNING: REMOVED: DrawCubeTexture(), DrawCubeTextureRec()
...
Those two functions have been moved to a new example: `models_draw_cube_texture`. The reasons for this decision:
- Function inflexibility: Many users with the need to draw a textured cube could need to customize the texture applied to every face, that function did not allow that kind of functionality.
- rlgl functionality exposure: The implementation exposed will teach users how to implement custom textured triangles drawing.
2022-11-15 12:16:28 +01:00
Ray
31edd13a72
Minor formating tweaks
2022-11-10 12:03:17 +01:00
ianband
7e7939e1ad
Add DrawCapsule(Wires) ( #2761 )
...
* Add DrawCapsule & DrawCapsuleWires
* Add DrawCapsule & DrawCapsuleWires to example
Co-authored-by: Ian Band <ian.r.band@gmail.com>
2022-10-17 11:36:53 +02:00
Ray
7ab056b6ef
REVIEWED: GeneshHeightmap(), fix #2716
2022-09-25 15:41:49 +02:00
Ray
9996e328cb
WARNING: BREAKING: Removed rlCheckRenderBatchLimit() requirement
...
Updated version to `rlgl 4.2`
2022-09-05 13:20:09 +02:00
Ray
0917290e95
REVIEWED: M3D model loading #2688
2022-09-04 18:49:54 +02:00
Ray
fb1037a241
ADDED: Complete support for M3D animations! #2648
2022-09-01 20:46:06 +02:00
Ray
23cc39a265
Implemented latest .M3D improvements #2648
2022-09-01 10:27:16 +02:00
Ray
0c7ba773ec
Fixed issue with LoadIQM() #2676
2022-09-01 10:14:45 +02:00
Ray
f66b1a3136
REVIEWED: Support M3D file loading #2648
2022-08-26 10:04:38 +02:00
Ray
e92bc8ca4e
REVIEWED: M3D implementation #2648
2022-08-22 11:11:05 +02:00
Ray
4ee5fdf619
ADDED: Support M3D model file format (meshes and materials) #2648
2022-08-20 14:01:54 +02:00
Ray
bf2ad9df5f
P A I N
2022-08-13 22:42:38 +02:00
Ray
092b6f956e
WARNING: REVIEWED: rlCheckRenderBatchLimit()
2022-08-13 22:30:11 +02:00
Ray
48c7f65b77
minor tweaks
2022-08-13 22:28:47 +02:00
Ray
e0f0a5f663
REMOVED: GenMeshBinormals(), actually, never implemented
2022-07-05 12:55:51 +02:00
Ray
cd53531050
Added some comments
2022-07-05 00:50:23 +02:00
Ray
c6c71fe73c
REVIEWED: DrawMesh() #2511
...
Disable color vertex attribute if not provided by mesh
2022-07-04 17:47:47 +02:00
Ray
9be186624c
REVIEWED: DrawBillboard*()
2022-06-29 21:56:19 +02:00
veclavtalica
63568721f9
fix: precision loss, discard unused ( #2541 )
2022-06-24 10:59:31 +02:00
Ray
5044ce9de3
Reviewed batch buffer overflow #2526
2022-06-21 20:28:50 +02:00
Ray
bf208decc0
REVIEWED: Compilation warnings
2022-06-07 10:04:24 +02:00
Ray
a28dfbae9f
REVIEWED: Batch limits check #2489
2022-05-31 23:25:21 +02:00
Ray
d0318aac4a
REVIEWED: DrawBillboardPro() #2494
2022-05-30 20:30:16 +02:00
Leonardo Montagner
3580267479
Fix Issue #2441 ( #2442 )
...
Remove line that caused a memory leak
2022-04-26 12:25:39 +02:00
Ray
90fc7c0376
WARNING: BREAKING: REMOVED: GetRayCollisionModel() #2405
2022-03-30 20:11:22 +02:00
Ray
0da7830745
REVIEWED: Avoid some float -> double promotions
2022-03-20 12:15:51 +01:00
raysan5
937e7b3dd9
REVIEWED: Some functions input parametes that should be const
2022-02-20 20:35:28 +01:00
Antonis Geralis
68bad6986d
make const ( #2348 )
...
* make const
* make const
2022-02-20 20:12:55 +01:00
raysan5
d4382f4a52
Removed trailing spaces
2022-02-18 20:30:46 +01:00
Antonis Geralis
963de06d08
follow style guide ( #2346 )
...
* follow style guide
* Update rmodels.c
2022-02-17 00:54:21 +01:00
Roy Qu
45ef46c5e8
fix: material color won't be loaded if there's no texture for that material ( #2298 )
2022-01-21 12:52:07 +01:00
raysan5
a940f41b4b
Update year to 2022
2021-12-31 20:06:22 +01:00
Antonis Geralis
dcc0791502
check not null before accessing by index ( #2243 )
2021-12-24 19:54:25 +01:00
Ray
5499388a4c
REVIEWED: GenMeshCylinder() #2225
2021-12-19 13:40:55 +01:00
raysan5
ef5be632fe
REVIEWED: ExportMesh() #2220
2021-12-17 20:55:38 +01:00
Ray
48918ca5c6
REVIEWED: DrawMesh*() issue #2211
2021-12-16 00:19:41 +01:00
Ray
e637ad9d2a
Support custom modules inclusion
...
Allow to choose which modules are compiled with raylib, if some modules are excluded from compilation, required functionality is not available but smaller builds are possible.
2021-12-04 19:56:02 +01:00