summaryrefslogtreecommitdiff
path: root/src/camera.cpp
AgeCommit message (Collapse)Author
2011-09-20Fix jittery view bobbing at large map coordinates again. Wielded tool still ↵Kahrl
has problems there
2011-09-20Digging animationKahrl
2011-09-19fix some normalsKahrl
2011-09-19Wielded tool updates, leaves and glass work nowKahrl
2011-09-19Convert any inventory item into a mesh, bring back ↵Kahrl
InventoryItem::getImageRay(), some const-correctness fixes
2011-09-19Added sprite extruderKahrl
2011-09-18trying some view bobbing changesKahrl
2011-09-18Oops, up vector is needed.Kahrl
2011-09-18This looks more like MC view bobbing, but still not even closeKahrl
2011-09-15Made wielded tool move slightly (and smoothly) during view bobbing. Making ↵Kahrl
the tool be a child node of an empty scene node instead of the camera scene node seemingly fixed the uncontrollable tool jitter, too.
2011-09-15View bobbing is slower in the water.Kahrl
2011-09-08trying something else... also replaced M_PI by PI everywhereKahrl
2011-09-08minor view bobbing improvementsKahrl
2011-09-08make it slightly less annoying :o)Kahrl
2011-09-08Implemented view bobbing (testing simple lemniscate shape)Kahrl
2011-09-08Commented out debug statements againKahrl
2011-09-08Collected and moved existing camera infrastructure from game.cpp to ↵Kahrl
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.