aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/extantz/extantzCamera.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ClientHamr/extantz/extantzCamera.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/ClientHamr/extantz/extantzCamera.cpp b/ClientHamr/extantz/extantzCamera.cpp
index 4d4be02..2256f36 100644
--- a/ClientHamr/extantz/extantzCamera.cpp
+++ b/ClientHamr/extantz/extantzCamera.cpp
@@ -72,19 +72,6 @@ extantzCamera::~extantzCamera()
72} 72}
73 73
74 74
75/* Have a moveRotate array of floats.
76 * X, Y, Z, and whatever the usual letters are for rotations. lol
77 * Each one means "move or rotate this much in this direction".
78 * Where 1.0 means "what ever the standard move is if that key is held down".
79 * So a keyboard move would just change it's part to 1.0 or -1.0 on key down,
80 * and back to 0.0 on key up. Or 2.0 / -2.0 if in run mode.
81 * Which would even work in fly mode.
82 * A joystick could be set to range over -2.0 to 2.0, and just set it's part directly.
83 * A mouse look rotate, well will come to that when we need to. B-)
84 * I think setting the x or y to be the window position of the mouse (-1.0 to 1.0) should do it.
85 * Or not. meh
86 */
87
88void extantzCamera::animateNode(ISceneNode* node, u32 timeMs) 75void extantzCamera::animateNode(ISceneNode* node, u32 timeMs)
89{ 76{
90 if (!node || node->getType() != ESNT_CAMERA) 77 if (!node || node->getType() != ESNT_CAMERA)