| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Reordered some functions to avoid config.h issues when disabling some features.
|
|
* Fixed some grammar mistakes.
* Fixed some typos.
|
|
|
|
IsRenderTextureReady() (#2895)
|
|
`IsWaveReady()`, `IsSoundReady()`, `IsMusicReady()` (#2892)
These IsReady() functions provide a method in order to verify whether or not the object was loaded successfully. They're useful to make sure the assets are there prior to using them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This function implementation has been moved to the related example. Current implementation can be probably customized depending on user needs.
|
|
This function can be easely replicated using `DrawtexturePro()` and actually it was doing some assumptions not transparent to the user. Even the function name was confusing. No example was available for it and actually noone requested one example.
|
|
Function moved to `examples/textures/textures_polygon.c`, so users can learn from the implementation and create custom variants as required.
|
|
Co-authored-by: nobytesgiven <[email protected]>
|
|
* Added Box and Gaussian blurring
* Removed dependence of gaussian blur to box blur & Fixed precision errors
Co-authored-by: nobytesgiven <[email protected]>
|
|
* Use RL_QUADS/RL_TRIANGLES for single-pixel drawing
Addresses problem mentioned in
https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263
(in short: when drawing pixels using DrawPixel{,V} in camera mode,
upscaled pixel becomes a line instead of bigger pixel)
* [rtextures] Fixed scaling down in ImageTextEx
Closes #2755
|
|
Probably useless but interesting for education. It generated a grayscale image directly from text data.
|
|
|
|
- ADDED: `GetCodepointPrevious()`
- RENAMED: `GetCodepoint()` -> `GetCodepointNext()`, actually, reimplemented
- `GetCodepoint()` has been kept for the moment, for compatibility and also because implementation is different
- RENAMED: `TextCodepointsToUTF8()` to `LoadUTF8()`, simpler name and more aligned with raylib conventions (functions loading memory start with Load*()), parameters should be descriptive of functionailty.
- ADDED: `UnloadUTF8()`, aligned with `LoadUTF8()` to avoid allocators issues.
|
|
|
|
This adds `ImageDrawCircleLines()` and `ImageDrawCircleLinesV()` to draw outlines of circles, and updates `ImageDrawCircle()` draw a filled circle to match the effect of `DrawCircle()` and `DrawCircleLines()`.
|
|
|
|
|
|
Updated version to `rlgl 4.2`
|
|
|
|
|
|
|
|
Dimensions of Rectangle should be casted to int before multiplication,
otherwise there is a risk for underallocation/overallocation of memory.
|
|
Height of the rectangle can be float, which
may lead to doing extra iteration of loop and
writing out of bounds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is a tiny change that makes code in src/rtextures.c "fold"
correctly in editors/IDE's by matching the number of opening
parenthesis to closing parenthesis. One of those editors is Emacs ;-)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|