Files
raylib/examples/core
Gianni Alessandroni 4ab28fffb4 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
2021-05-10 20:16:12 +02:00
..
2020-07-14 19:17:08 +02:00
2021-04-22 18:55:24 +02:00
2017-04-04 01:54:49 +02:00
2021-03-19 22:39:39 +01:00
2019-05-14 15:34:23 +02:00
2017-04-04 01:54:49 +02:00
2021-04-22 18:55:24 +02:00
2020-12-03 20:19:32 +01:00
2019-05-20 16:36:42 +02:00
2017-04-04 01:54:49 +02:00
2019-05-14 15:34:23 +02:00
2019-05-20 16:36:42 +02:00
2017-04-04 01:54:49 +02:00
2019-05-14 15:34:23 +02:00
2019-04-12 13:29:53 +02:00
2019-05-20 16:36:42 +02:00
2021-04-22 18:55:24 +02:00
2019-07-28 15:09:01 +02:00
2021-04-22 18:55:24 +02:00