| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
canJump used to alternate between true and false when on ground
|
|
This reverts commit 4f6fbaed4137be6ba41609ce9a96c11fd240953d.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Those functions were platform dependent and user has no control over the file created. They have been removed from raylib and just moved to `core_storage_values` example.
|
|
This example requires a complete remake to be more clear. Also current quaternion maths could have issues.
|
|
|
|
|
|
|
|
REDESIGNED: `LoadDirectoryFiles()`
ADDED: `LoadDirectoryFilesEx()`
REDESIGNED: `LoadDroppedFiles()`
ADDED: `IsPathFile()`
This BIG BREAKING change simplifies the functions and gives more control to the user:
- A new `struct FilePathList` has been added to avoid exposing complex pointers.
- User is responsible of memory loading/unloading
- Filepaths loading support recursive directories and file extension filters
|
|
RENAMED: `ClearDroppedFiles()` to `UnloadDroppedFiles()`
|
|
|
|
|
|
As prior commit, but complete fix for XBox controller and trigger
buttons too.
> The joystick range is a float from -1 through +1. Casting this to int
> yields only three possible values: -1, 0, and 1. This gives a
> misleading joystick placement in the demo.
>
> By casting to int after the multiplication to get pixel values, the
> demo reveals the analog feel of the joystick.
|
|
The joystick range is a float from -1 through +1. Casting this to int
yields only three possible values: -1, 0, and 1. This gives a
misleading joystick placement in the demo.
By casting to int after the multiplication, the demo reveals the
analog feel of the joystick.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
Some functions/values have been deprecated for long time but some mapping was kept for convenience. Some of those mappings have been removed...
|
|
|
|
Moved outside BeginDrawing()/EndDrawing() to illustrate drawing is happening to an external texture (not screen)
|
|
|
|
|
|
|
|
|
|
(#1806)
Co-authored-by: Jeffery Myers <[email protected]>
|
|
|
|
[core_2d_camera_smooth_pixelperfect.c] (#1771)
* Hotfix for glitchy camera
Super small fix that was causing the camera to glitch every x amount of seconds/pixels. Works much better now, 3/4 lines changed.
* fixed dumb visual studio formatting problems
|
|
examples_template.c (#1760)
* Typo fix
Changed "bsasic" to "basic" in the comments.
* Added pixel-perfect camera example
Added pixel-perfect camera example, both the .c file and the cover .png image. The example works with any resolution you want, as long as the ratio stays the same
(ex. 16:9, 4:3) ecc.
* Fixed Typecasts
Fixed compiler errors (implicit conversions)
* Precomputed rectangles, time-based movement and whitespace fix
Moved the source and destination rectangles for the renderTexture into their own variables, modified the animation to be time-based instead of frame-based, fixed the bug with whitespaces.
* Fixed spacing and added more consistency with sinf() and cosf()
* Fixed *= operator spacing
|
|
* Added support for additional mouse buttons
* Renamed mouse button enum
Co-authored-by: Lambert Wang <[email protected]>
|
|
|