João Coelho
75b0264f35
fix various problems, thanks CppCheck :) ( #1005 )
...
* explained a bit more the core_window_letterbox example
* fixed a few 'ups' moments that could lead to mild head pain and time loss
2019-10-29 15:57:19 +01:00
Ray
64c588e9d8
Review latest PR #1003
2019-10-29 15:56:14 +01:00
Jean-Seb / jseb
862ef0524e
Raysan ( #1003 )
...
* new linux makefile for Android portages
* Revert "projects: CMake: bump up minimal raylib version (#983 )"
This reverts commit 82306af111
.
* new PR for upstream
* for Raysan
2019-10-29 15:54:01 +01:00
Ray
d73abe73e5
REDESIGN: TextToUtf8()
...
ADDED: CodepointToUtf8()
2019-10-28 20:53:32 +01:00
Ray
6bf746d531
Corrected issue with function renamed
2019-10-28 20:39:39 +01:00
Ray
f6df47dfe5
ADDED: TextToUtf8() -WIP-
...
RENAMED: TextCountCodepoints() -> GetCodepointsCount()
2019-10-27 23:56:48 +01:00
Donald Duvall
3f12fa54f7
Update Bindings list include raylib-pas info ( #1001 )
2019-10-27 17:15:25 +01:00
chriscamacho
90b3dceb54
added GetMatrixProjection fixed issue with GL11 where model matrix was identity ( #999 )
2019-10-27 12:13:18 +01:00
Industrious Nomad
a6db31c01e
updated RayMarching Demo ( #997 )
...
* Removed Unused Uniforms
uniform vec3 viewUp;
uniform float deltaTime;
* Removed Unused uniforms
uniform vec3 viewUp;
uniform float deltaTime;
* Updated Source
Added - #define PLATFORM_DESKTOP line for desktop users.
This now will correctly find the proper glsl version for the raymarching.fs file.
Removed - Uniforms --> deltaTime and viewUp. Including the code that was setting them.
They were never used and they were triggering a log warning.
Removed - The const from both screenWidth and screenHeight.
Now they can be used to update the shader resolution when screen is resized.
NOTE : This is a quick fix and probably not the best idea.
Added - IsWindowResized() to check if screen is resized.
If window is resized then width, height and shader resolution are updated.
Changed - MIT tag at bottom right color value to BLACK. Now it's easier to see.
* Closer Match to original code
* Removed the PLATFORM_DESKTOP Define
2019-10-26 09:45:15 +02:00
Ray
39e22046c1
ClearDirectoryFiles(): Corrected issue #994
2019-10-25 14:29:12 +02:00
chriscamacho
3d8b1165a8
mem leak in gltf loader ( #995 )
2019-10-23 10:42:17 +02:00
Ray
163a9e1f41
ClearDirectoryFiles() corrected bug
2019-10-23 00:46:41 +02:00
Ray
9b6227688f
Corrected issue #992
2019-10-22 23:31:04 +02:00
Ray
3c2ce77b7b
ClearDirectoryFiles(): Corrected memory leak #991
2019-10-22 23:18:42 +02:00
Ray
1878a9ea01
Corrected possible memory leak #993
2019-10-22 23:15:41 +02:00
Ray
06910eedfd
Minor comment tweak
2019-10-22 23:15:26 +02:00
Ray
ca92f43c27
Review some defines
2019-10-22 00:37:10 +02:00
Ray
ea70c47a1a
Review latest PR
2019-10-21 17:55:37 +02:00
Tyler Jessilynn Bezera
3f7fa6d6e7
Add multi texture support for materials in GLTF format ( #979 )
...
* Initial commit of addition for GLTF materials.. should support loading more than just albedo map.
* Clean up
* fixed seg faults and leaks
* temp don't overwrite defuse colour when rendering
* undid something dumb!
* correctly mixed diffuse map color when rendering to preserve not overwrite it
2019-10-21 17:38:23 +02:00
Ray
ab52f98480
Update text.c
2019-10-21 17:37:47 +02:00
Ray
c1d282d9e8
Corrected bug on no-extension
2019-10-21 17:37:43 +02:00
raysan5
e25f4dca1f
Update external libraries
2019-10-19 17:26:58 +02:00
raysan5
68dcb55349
Corrected bug on ImageDrawRectangleLines()
2019-10-19 17:26:45 +02:00
Ray
b75511248d
Remove trailing spaces
2019-10-17 17:18:03 +02:00
Ray
e40c26dea5
REVIEWED: GetCodepoints() issue
...
- Improved LoadBMFont()
2019-10-17 17:07:09 +02:00
Ray
7baa2975ec
REDESIGNED: IsFileExtension()
...
Now it accepts a ';' separated list of extensions, useful to check multiple extensions
2019-10-11 20:13:11 +02:00
Ray
e0cb892d2d
ADDED: GetCodepoints()
...
Get the unicode equivalent characters (as int array) from a UTF-8 text array... maybe this function is renamed to be clearer to users...
2019-10-11 20:12:15 +02:00
Ray
12d3e21f1b
REVIEW: ImageAlphaMask()
...
When adding alpha mask to GRAYSCALE image, if using ImageFormat(), it could change pixel values, now we avoid that, mask is just added as an extra channel
2019-10-11 20:08:41 +02:00
chriscamacho
161c8b7d08
corrected examples Makefile target ( #985 )
2019-10-11 14:54:13 +02:00
elitepleb
82306af111
projects: CMake: bump up minimal raylib version ( #983 )
...
While at it, add comment to indicate what the version signifies.
[a3f: updated commit message]
2019-10-10 12:39:40 +02:00
Michael Vetter
596338b26a
Check whether parsing mtl file was succesful ( #982 )
2019-10-03 21:05:21 +02:00
Michael Vetter
eb772bc1e0
Check whether GLTF was loaded correctly ( #981 )
2019-10-03 17:07:32 +02:00
Michael Vetter
047f093503
Remove dead assignments ( #980 )
...
The result of `success` is actually never used. Either we should check
for it and return or remove it. I assume just checking the last one is
okay.
2019-10-03 17:06:08 +02:00
Ray
df84f93938
Add security checks on file writting
2019-09-30 17:32:06 +02:00
Ray
a8e63b9724
Convert default shader to const strings
2019-09-25 16:45:17 +02:00
Catalin Moldovan
99e86d180b
Const corectness for LoadShaderCode ( #977 )
...
* Const corectness for LoadShaderCode
* Added const for standalone variant as well.
2019-09-25 16:31:10 +02:00
AlexHCC
8adcec185e
Improve code readability ( #976 )
2019-09-24 23:08:07 +02:00
Ray
3fcf2ee19a
Example renamed
2019-09-22 22:13:22 +02:00
Ray
bdcb16e7bb
Review PR and comments
2019-09-22 21:47:19 +02:00
chriscamacho
a679b0ccc0
contributed simple shader example ( #973 )
...
Contributed simple shader example
2019-09-22 21:28:50 +02:00
AlexHCC
acedf4a0d5
Fixed regular polygon shape rendering ( #972 )
2019-09-22 21:25:39 +02:00
Ray
1f730b3b35
Review ImageCrop() security checks
2019-09-20 15:55:55 +02:00
Ray
b331edd7a6
Let the user choose the formats
2019-09-20 15:54:10 +02:00
Ray
9d53e07883
Added preprocessor macros for GIF
2019-09-19 17:36:48 +02:00
chriscamacho
bce2dd1231
fixed leak with PBR example ( #971 )
2019-09-19 17:11:37 +02:00
Ray
d089e1cd34
ADDED: LoadAnimatedGIF() -WIP-
...
Still looking for a better way to integrate it into raylib API, maybe add a LoadImageAnim()?
2019-09-19 16:09:36 +02:00
Ray
741afde3bc
Review PR formatting
2019-09-19 13:36:55 +02:00
chriscamacho
314c4061df
fixs issue mem leak with LoadModel / OBJ and issue with -1 material index ( #969 )
2019-09-19 13:28:01 +02:00
raysan5
08165fed18
Review DecompressData() types, for consistency
2019-09-15 11:15:33 +02:00
raysan5
112874fe07
Review issue with HDR pixels loading
2019-09-14 20:07:44 +02:00