summaryrefslogtreecommitdiff
path: root/src/camera.cpp
Commit message (Collapse)AuthorAge
...
* fix some normalsKahrl2011-09-19
|
* Wielded tool updates, leaves and glass work nowKahrl2011-09-19
|
* Convert any inventory item into a mesh, bring back ↵Kahrl2011-09-19
| | | | InventoryItem::getImageRay(), some const-correctness fixes
* Added sprite extruderKahrl2011-09-19
|
* trying some view bobbing changesKahrl2011-09-18
|
* Oops, up vector is needed.Kahrl2011-09-18
|
* This looks more like MC view bobbing, but still not even closeKahrl2011-09-18
|
* Made wielded tool move slightly (and smoothly) during view bobbing. Making ↵Kahrl2011-09-15
| | | | the tool be a child node of an empty scene node instead of the camera scene node seemingly fixed the uncontrollable tool jitter, too.
* View bobbing is slower in the water.Kahrl2011-09-15
|
* trying something else... also replaced M_PI by PI everywhereKahrl2011-09-08
|
* minor view bobbing improvementsKahrl2011-09-08
|
* make it slightly less annoying :o)Kahrl2011-09-08
|
* Implemented view bobbing (testing simple lemniscate shape)Kahrl2011-09-08
|
* Commented out debug statements againKahrl2011-09-08
|
* Collected and moved existing camera infrastructure from game.cpp to ↵Kahrl2011-09-08
camera.cpp and camera.h. Introduced configuration settings 'fov' which chooses the camera's (vertical) field of view and 'view_bobbing' which currently does nothing. Other code refactored to not expect the FOV to be a build time constant.