diff options
author | David Walter Seikel | 2013-02-03 12:25:33 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-02-03 12:25:33 +1000 |
commit | 3916e58394710eb99108debcdd27b82f56dfe09a (patch) | |
tree | d559a06c92b122191cda44cfd74abd871d04decc /ClientHamr/extantz/extantzCamera.cpp | |
parent | More GuiLua notes. (diff) | |
download | SledjHamr-3916e58394710eb99108debcdd27b82f56dfe09a.zip SledjHamr-3916e58394710eb99108debcdd27b82f56dfe09a.tar.gz SledjHamr-3916e58394710eb99108debcdd27b82f56dfe09a.tar.bz2 SledjHamr-3916e58394710eb99108debcdd27b82f56dfe09a.tar.xz |
Notes on camera movement keys / mouse gestures.
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/extantz/extantzCamera.cpp | 13 |
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 | |||
88 | void extantzCamera::animateNode(ISceneNode* node, u32 timeMs) | 75 | void extantzCamera::animateNode(ISceneNode* node, u32 timeMs) |
89 | { | 76 | { |
90 | if (!node || node->getType() != ESNT_CAMERA) | 77 | if (!node || node->getType() != ESNT_CAMERA) |