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
raysan5
c10348cc85
Review conditions
2019-09-14 19:01:33 +02:00
Ray
904a7ee032
Update for latest emsdk configuration
...
Note that latest emsdk changed paths
2019-09-13 17:08:20 +02:00
Ray
4ccf1e61be
Corect typo
2019-09-13 17:07:29 +02:00
chriscamacho
6916ff58b1
fixed some memory leaks, still issue with material index allocation leaking 4 bytes (possibly double allocation) ( #964 )
2019-09-13 13:29:52 +02:00
Ray
e5d5f6e367
Review possible memory leak with my_strndup()
2019-09-13 12:58:42 +02:00
Ray
7caedff9ca
Review weird PBR shader issue >_<
2019-09-12 19:22:47 +02:00
Ray
d9d9c6111b
RENAMED: text_sprite_font > text_font_spritefont
2019-09-12 16:30:39 +02:00
Ray
8d6f179062
RENAMED: text_ttf_loading > text_font_filters
2019-09-12 16:29:26 +02:00
Ray
7e08b312d5
RENAMED: text_bmfont_ttf > text_font_loading
2019-09-12 16:28:58 +02:00
Ray
c6d2502bdb
Review example crashing
...
Note this example is not working properly, it still requires some review.
2019-09-12 16:27:58 +02:00
Ray
a2fd427224
Comment tweak
2019-09-12 16:26:37 +02:00
Ray
74ed3d07f9
Add glTF Duck model
2019-09-12 16:26:19 +02:00
Ray
ce58b168f6
REMOVED: models_obj_viewer
2019-09-12 16:25:33 +02:00
Ray
c247c371c3
REDESIGNED: models_obj_loading > models_loading
2019-09-12 16:25:14 +02:00
Ray
0a2177b4bc
ADDED: GetWindowPosition()
2019-09-10 12:43:44 +02:00
Ray
ae2452d280
ADDED small compression API
...
- ADDED: CompressData()
- ADDED: DecompressData()
2019-09-09 21:56:16 +02:00