diff options
| author | Gianni Alessandroni <[email protected]> | 2021-05-10 20:16:12 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-10 20:16:12 +0200 |
| commit | 4ab28fffb42bc3104bca48166ea4d7712450852d (patch) | |
| tree | 3906b43c451cca94bf15a74acd0656ebe960db8c /src/raylib.h | |
| parent | e39e45824db79623fa4c7b55a606ca79fc27659e (diff) | |
| download | raylib-4ab28fffb42bc3104bca48166ea4d7712450852d.tar.gz raylib-4ab28fffb42bc3104bca48166ea4d7712450852d.zip | |
Added smooth pixel-perfect camera example + Small typo fix in 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
Diffstat (limited to 'src/raylib.h')
0 files changed, 0 insertions, 0 deletions
