summaryrefslogtreecommitdiff
path: root/gfx/gl/camera.cpp
Commit message (Collapse)AuthorAge
* Simplify vector addition/subtraction with differnt typesDan Goodliffe2024-02-24
| | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly.
* Template Ray on position typeDan Goodliffe2024-01-07
|
* Unified crossProductDan Goodliffe2024-01-07
|
* Remove more use of legacy typesDan Goodliffe2024-01-01
|
* Remove misleading power operator^ on vec2/3Dan Goodliffe2023-12-29
|
* Use new calc types in camera extents to address overflowDan Goodliffe2023-12-17
|
* Fix clamping to seafloor and add specific testDan Goodliffe2023-12-11
|
* Integer cameraDan Goodliffe2023-12-11
|
* Send position and rotation matrix to GPU separatelyDan Goodliffe2023-11-13
|
* WIP typedefing all the things - sourcesDan Goodliffe2023-11-09
|
* WIP typedefing all the things - headersDan Goodliffe2023-11-07
|
* Reformat with new clang-format 16Dan Goodliffe2023-04-29
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Remove (as yet) unused members from CameraDan Goodliffe2023-03-19
|
* Fix up all the static analyzer warningsDan Goodliffe2023-01-08
|
* Only generate the first N shadow maps which are usefulDan Goodliffe2023-01-07
| | | | Note: we don't yet optimise the use of the shadow map texture, each still renders into its own corner
* Tidy Camera::extentsAtDistDan Goodliffe2022-12-29
|
* Reduce camera extents to the point they cross the sea floor boundaryDan Goodliffe2022-12-28
|
* No need to store view or unViewDan Goodliffe2022-12-18
| | | | view is transient to create viewProjection, unview only needed on unproject
* Add Camera method to get the extents of the view frustrum at some distanceDan Goodliffe2022-12-13
|
* Calculate an accurate up vector for the cameraDan Goodliffe2022-12-13
|
* Maintain a camera's inverse view projection matrixDan Goodliffe2022-12-13
|
* Cache unView matrix for unprojecting mouse clicks, update only on camera ↵Dan Goodliffe2022-12-12
| | | | movement
* Cache view and viewProject matrices, update only on camera movementDan Goodliffe2022-12-12
|
* Have Camera remember all its propertiesDan Goodliffe2022-12-12
|
* Make Camera members private with accessors and helpful settersDan Goodliffe2022-12-12
|
* Fix case of GetViewProjectionDan Goodliffe2022-12-11
|
* Encapsulate RayDan Goodliffe2022-01-02
|
* Initial implementation for being able to click in the main window to select ↵Dan Goodliffe2021-12-28
| | | | something
* Fix up all remaining warningsDan Goodliffe2021-11-28
|
* Swap y,z axisDan Goodliffe2021-11-16
| | | | This was a pain... but all the coords make much more sense now and a lot of mystery negation has disappeared.
* Input stack and logical split of camera controllerDan Goodliffe2021-01-28
|
* Basic mouse navigationDan Goodliffe2021-01-26
|
* Big reshuffleDan Goodliffe2021-01-17
Fixes code quality warnings now picked up.