raysan5
c20df9aa47
Reviewed examples
vor 3 Jahren
raysan5
3e71232a04
WARNING: BREAKING: REMOVED: `GenImagePerlinNoise()`
raylib was using `stb_perlin.h` library to generate perlin noise, it seems that recently this library has been flagged as it could be infringing some algorythm patent. For security, it has been removed from raylib.
vor 3 Jahren
Ray
239c37246a
WARNING: REVIEWED: Follow a set of conventions
CONVENTIONS:
- Functions are always self-contained, no function use another raymath function inside, required code is directly re-implemented inside
- Functions input parameters are always received by value
- Functions use always a "result" variable for return
- Functions are always defined inline
- Angles are always in radians (DEG2RAD/RAD2DEG macros provided for convenience)
vor 3 Jahren
Ray
68bcfa1192
Minor tweak
vor 3 Jahren
raysan5
db4cfc9fbd
Reviewed resources licenses
vor 3 Jahren
raysan5
7d2845a661
Improve assets license information
vor 3 Jahren
Daniel Nagy
8a46b5e6c0
Use 60 FPS for textures_image_loading example ( #1867 )
vor 3 Jahren
Ray
e5cf3f9555
WARNING: BREAKING: Functions renamed for consistency
RENAMED: GetTextureData() -> LoadImageFromTexture()
RENAMED: GetScreenData() -> LoadImageFromScreen()
vor 3 Jahren
raysan5
2f75657350
WARNING: REMOVED: Some deprecated function names mapping
Some functions/values have been deprecated for long time but some mapping was kept for convenience. Some of those mappings have been removed...
vor 3 Jahren
Lambert Wang
2545f62565
Added support for additional mouse buttons ( #1753 )
* Added support for additional mouse buttons
* Renamed mouse button enum
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
vor 3 Jahren
Jeffery Myers
6c518008a5
Fixes for 64 bit typecast warnings ( #1733 )
vor 4 Jahren
Ray
dcf52c132f
Remove trail spaces
vor 4 Jahren
Ray
1161df0ee4
Added screenshots
vor 4 Jahren
raysan5
bc6b16beb2
REVIEWED: DrawTexturePoly()
vor 4 Jahren
chriscamacho
9569d6a802
Add DrawTexturedPoly and example ( #1677 )
* adds DrawTexturedPoly with example
* the actual example ... ahem
* moved DrawTexturePoly to textures function and example
NB function name changed to fit with other DrawTextureXXX functions
(no "d" )
Co-authored-by: codifies <you@example.com>
vor 4 Jahren
Jeffery Myers
e48b9a6da1
[Examples] Warning fixes (pt 1) ( #1668 )
* Fix some warnings in examples.
* cleanups from review
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
vor 4 Jahren
Ray
01e28263be
WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistency
Some enums values have been renamed to be more consistent and also provide a more detailed description:
- ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION
- ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2
- MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO
- PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
vor 4 Jahren
Ray
af3926af4b
REVIEWED: Examples to new enum values
vor 4 Jahren
Ray
408f5aedb8
WARNING: BREAKING: RENAMED enum values
RENAMED: CubemapLayoutType and NPatchType
vor 4 Jahren
Jeffery Myers
48a7cd3c87
[Examples] Fix typecast warnings in examples. ( #1601 )
* Fixing typecast warnings generated by visual studio 2019 in examples.
* Changes to fixes based on feedback
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
vor 4 Jahren
Ray
4604271c6a
Code formatting tweaks
vor 4 Jahren
Redcamellia
0a8cb60eee
fixed the right and left button not working ( #1595 )
vor 4 Jahren
raysan5
b7b718a545
REVIEWED: example: Replaced GetImageData()
vor 4 Jahren
raysan5
ea0f6c7a26
Replace TABS by 4 spaces
vor 4 Jahren
raysan5
b68e522ffc
Updated several files while porting examples to web
vor 4 Jahren
raysan5
bab1b9c1c5
Review example formating
vor 4 Jahren
Ray
893a64712e
Support mouse input on example #1465
vor 4 Jahren
Ray
8e15dae5ed
Review contributed examples
vor 4 Jahren
raysan5
c32ae480af
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
vor 4 Jahren
Vlad Adrian
4d71e9b44f
Added new function `DrawTextureTiled()` ( #1291 )
* Implemented DrawTextureTiled()
* Example added
vor 4 Jahren
Ray
be80708d41
REVIEWED: textures_raw_data #1286
vor 4 Jahren
raysan5
00af1c0607
Update explosion.png
vor 4 Jahren
raysan5
6b9e49e965
[example] Update textures_sprite_explosion
vor 4 Jahren
raysan5
5867a63068
Update textures_sprite_button.png
vor 4 Jahren
raysan5
d8e079dad3
[example] Update textures_particles_blending
vor 4 Jahren
raysan5
8a501ef06d
Review some png images
vor 4 Jahren
raysan5
82fca43406
Replaced some resources for better licensing
Some resources used in examples have not a clear license, so, I'm replacing some of them for clearly licensed versions or resources created by me under CC0. License file to be added.
vor 4 Jahren
raysan5
fed4716c3b
resources PNG chunks cleaning
vor 4 Jahren
Karlo Licudine
a33dd87c99
Added Blend Modes example. ( #1261 )
vor 4 Jahren
raysan5
a7311af8c3
Corrected examples after API change: ImageDrawText*()
vor 5 Jahren
Rob Loach
a025636fa1
Update ImageDraw*() functions to match arguments of Draw*() ( #1156 )
* Update ImageDraw*() functions to match arguments of Draw*()
Updated draw functions:
ImageDrawPixel()
ImageDrawPixelV()
ImageDrawCircle()
ImageDrawCircleV()
ImageDrawLine()
ImageDrawLineV()
ImageDrawRectangle()
ImageDrawRectangleV()
ImageDrawRectangleRec()
* [nodepadpp] Update Notepad++ ImageDraw defintions
This updates the Notepad++ definitions with the updated ImageDraw methods.
* [examples] Add ImageDraw calls to textures_image_drawing
* Update ImageDraw*() methods
vor 5 Jahren
Ray
a1b2d96d9c
Support touch drawing on web
vor 5 Jahren
Ray
117696a893
Update textures_mouse_painting.c
vor 5 Jahren
raysan5
793977db4a
Review resources LICENSE
vor 5 Jahren
raysan5
3db13edd89
Support mouse cursor on RPI native
Reduced bunnymark limits
vor 5 Jahren
raysan5
38ee6156f8
Update textures_mouse_painting.c
vor 5 Jahren
raysan5
b83d165764
Replace tabs by spaces
vor 5 Jahren
raysan5
895f9613d2
Added image saved message
vor 5 Jahren
raysan5
602d2a65dd
Reviewed new examples
vor 5 Jahren
ChrisDill
879c874330
Added scissor test and mouse painting examples proposed in #890 ( #919 )
- Updated Makefile with new examples
vor 5 Jahren