summaryrefslogtreecommitdiffhomepage
path: root/src/camera.h
AgeCommit message (Collapse)Author
2021-09-22WARNING: MODULES RENAMING!!!Ray
raylib modules have been slightly renamed to add some identity and note that they are independent modules that can be used as standalone separate parts of raylib if required. The renamed modules are: - `core` -> `rcore` - `shapes` -> `rshapes` - `textures` -> `rtextures` - `text` -> `rtext` - `models` -> `rmodels` - `camera` -> `rcamera` - `gestures` -> `rgestures` - `core` -> `rcore` All the build systems has been adapted to this change.
2021-09-10Fixes target direction for first person camera mode. (#1977)Nikolay Krasheninnikov
Co-authored-by: Nikolai Krasheninnikov <[email protected]>
2021-08-15REVIEWED: `extern "C"` definition position for consistencyraysan5
Note that `extern "C"` calling convention only affects objects that need to be seen by the linker, in our case only functions... but it would also be required by global variables exposed, if any.
2021-05-08Added support for additional mouse buttons (#1753)Lambert Wang
* Added support for additional mouse buttons * Renamed mouse button enum Co-authored-by: Lambert Wang <[email protected]>
2021-03-19WARNING: BREAKING: REVIEWED some enums namingRay
Now enum names are more consistent between them.
2021-01-02Update year to 2021raysan5
2020-12-19Camera funcs, review params namesRay
Just for a better consistency
2020-11-03Remove trailing spacesRay
2020-10-05Replace 0.f by 0.0fRay
2020-10-05mouse: Return float movement for precise scrolling where possible (#1397)Doyle
2020-05-07Review first person movement Y wavingraysan5
Some comments added
2020-05-01Review exposed #defines and allow user re-definingraysan5
There are multiple #define values around raylib, usually not exposed for redefinition, just reviewed all of them to allow users redefining them on compile time if required. Also, multiple #define have been renamed and commented.
2020-03-23Comment tweaksraysan5
2020-02-04Review libc dependencies and remove when possibleRay
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions: - stdlib.h: primary dependency is for malloc() and free() - stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI? - string.h: just around 8 functions required - math.h: just around 8 functions required - others: 1-2 functions required for some other headers
2020-02-03Remove all trail spacesRay
2020-02-03Develop branch integration (#1091)Ray
* [core] REDESIGNED: Implement global context * [rlgl] REDESIGNED: Implement global context * Reviewed globals for Android * Review Android globals usage * Update Android globals * Bump raylib version to 3.0 !!! * [raudio] REDESIGNED: Implement global context * [raudio] Reorder functions * [core] Tweaks on descriptions * Issues with SUPPORT_MOUSE_GESTURES * [camera] Use global context * REDESIGN: Move shapes drawing texture/rec to RLGL context * Review some issues on standalone mode * Update to use global context * [GAME] Upload RE-PAIR game from GGJ2020 -WIP- * Update game: RE-PAIR * [utils] TRACELOG macros proposal * Update config.h
2020-01-05Update year to 2020raysan5
2019-12-29Review PR #1040 naming and formatingraysan5
2019-12-29fixed free camera pitch (#1040)chriscamacho
2019-11-24Fix camera not working problem at align z direction. #924 (#1013)Ushio
* Fix camera not working problem at align z direction. #924 * replace tab to space x4
2019-10-17Remove trailing spacesRay
2019-07-24Remove noteRay
2019-06-05Replace TABS by spacesRay
2019-06-04Update camera.hPompPenguin
Removed unused code for CAMERA_THIRD_PERSON.
2019-06-04Update camera.hPompPenguin
Updated CAMERA_THIRD_PERSON
2019-04-27UWP Support Overhaul (#819)Reece Mackie
* Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Tested some desktop stuff and added projection matrix updates for window resizing. * Fixed big bad mouse bug * Fix alt buttons and add hack to combat flickery key presses (far from perfect) * Remove debug code * Final commit * Well, so I thought * Wow, i am bad * Remove packages folder * Remove useless include * Apply requested changes and fix linux build * Try to stop packages folder * Have we fixed the formatting properly? * Third time's the charm? * Where did this come from? * Re-fix * Autoformat is gonna kill * Fixed XBOX ONE Support * Fix tabs
2019-04-23Review camera moduleRay
This module still requires further work but 3rd person camera is less broken now...
2018-08-05Fix compiler warnings of libKim Kulling
2018-08-05Fix compiler warings in texture.c and more.Kim Kulling
2018-05-28fabsf() not working with TCCRay
Replaced by fabs() that seem to work ok
2017-05-08Some comment tweaksRay
Still some work left on camera...
2017-05-08Lock cursor on first person cameraRay
2017-03-20Review some commentsRay
2017-02-16Improved modules description -IN PROGRESS-Ray
Working in modules configuration flags...
2016-12-05Corrected some warningsRay
2016-10-03More review on camera system...raysan5
Sincerely, don't like it... it should be ported to quaternions... the way it manages cameraTargetDistange and cameraAngle is confusing...
2016-09-26Working on camera system...raysan5
2016-09-25Improving camera system -IN PROGRESS-raysan5
2016-09-22Simplify camera module -IN PROGRESS-raysan5
Removed internal Camera, not required any more Removed useless functions
2016-08-15Corrected naming bugraysan5
2016-08-10Ported camera module to header-onlyRay
2016-03-053d Camera: Added support for field-of-view Yraysan5
2016-02-03Some formating tweaksRay
2015-08-30Redesigned UpdateCamera() functionraysan5
Splitted into: UpdateCamera() // Update only camera UpdateCameraPlayer() // Update camera and player position
2015-08-28Review camera systemraysan5
2015-07-29Decoupling camera system moduleraysan5
Camera system can be used as standalone module
2015-07-13Decoupling camera system from raylib main libraryraysan5