raysan5
c20df9aa47
Reviewed examples
před 3 roky
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.
před 3 roky
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)
před 3 roky
Ray
68bcfa1192
Minor tweak
před 3 roky
raysan5
db4cfc9fbd
Reviewed resources licenses
před 3 roky
raysan5
7d2845a661
Improve assets license information
před 3 roky
Daniel Nagy
8a46b5e6c0
Use 60 FPS for textures_image_loading example ( #1867 )
před 3 roky
Ray
e5cf3f9555
WARNING: BREAKING: Functions renamed for consistency
RENAMED: GetTextureData() -> LoadImageFromTexture()
RENAMED: GetScreenData() -> LoadImageFromScreen()
před 3 roky
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...
před 3 roky
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>
před 3 roky
Jeffery Myers
6c518008a5
Fixes for 64 bit typecast warnings ( #1733 )
před 4 roky
Ray
dcf52c132f
Remove trail spaces
před 4 roky
Ray
1161df0ee4
Added screenshots
před 4 roky
raysan5
bc6b16beb2
REVIEWED: DrawTexturePoly()
před 4 roky
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>
před 4 roky
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>
před 4 roky
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
před 4 roky
Ray
af3926af4b
REVIEWED: Examples to new enum values
před 4 roky
Ray
408f5aedb8
WARNING: BREAKING: RENAMED enum values
RENAMED: CubemapLayoutType and NPatchType
před 4 roky
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>
před 4 roky
Ray
4604271c6a
Code formatting tweaks
před 4 roky
Redcamellia
0a8cb60eee
fixed the right and left button not working ( #1595 )
před 4 roky
raysan5
b7b718a545
REVIEWED: example: Replaced GetImageData()
před 4 roky
raysan5
ea0f6c7a26
Replace TABS by 4 spaces
před 4 roky
raysan5
b68e522ffc
Updated several files while porting examples to web
před 4 roky
raysan5
bab1b9c1c5
Review example formating
před 4 roky
Ray
893a64712e
Support mouse input on example #1465
před 4 roky
Ray
8e15dae5ed
Review contributed examples
před 4 roky
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()
před 4 roky
Vlad Adrian
4d71e9b44f
Added new function `DrawTextureTiled()` ( #1291 )
* Implemented DrawTextureTiled()
* Example added
před 4 roky
Ray
be80708d41
REVIEWED: textures_raw_data #1286
před 4 roky
raysan5
00af1c0607
Update explosion.png
před 4 roky
raysan5
6b9e49e965
[example] Update textures_sprite_explosion
před 4 roky
raysan5
5867a63068
Update textures_sprite_button.png
před 4 roky
raysan5
d8e079dad3
[example] Update textures_particles_blending
před 4 roky
raysan5
8a501ef06d
Review some png images
před 4 roky
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.
před 4 roky
raysan5
fed4716c3b
resources PNG chunks cleaning
před 4 roky
Karlo Licudine
a33dd87c99
Added Blend Modes example. ( #1261 )
před 4 roky
raysan5
a7311af8c3
Corrected examples after API change: ImageDrawText*()
před 5 roky
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
před 5 roky
Ray
a1b2d96d9c
Support touch drawing on web
před 5 roky
Ray
117696a893
Update textures_mouse_painting.c
před 5 roky
raysan5
793977db4a
Review resources LICENSE
před 5 roky
raysan5
3db13edd89
Support mouse cursor on RPI native
Reduced bunnymark limits
před 5 roky
raysan5
38ee6156f8
Update textures_mouse_painting.c
před 5 roky
raysan5
b83d165764
Replace tabs by spaces
před 5 roky
raysan5
895f9613d2
Added image saved message
před 5 roky
raysan5
602d2a65dd
Reviewed new examples
před 5 roky
ChrisDill
879c874330
Added scissor test and mouse painting examples proposed in #890 ( #919 )
- Updated Makefile with new examples
před 5 roky