Searched refs:m_target_direction (Results 1 – 2 of 2) sorted by relevance
48 m_target_direction = core::vector3df(0, 0, 1); in CameraFPS()76 core::vector3df direction(m_target_direction); in applyMouseMovement()99 if ((direction - up).getLengthSQ() + (m_target_direction - up).getLengthSQ() in applyMouseMovement()100 <= (direction - m_target_direction).getLengthSQ()) in applyMouseMovement()101 direction = quat_x * ((m_target_direction - up).setLength(0.02f) + up); in applyMouseMovement()104 <= (direction - m_target_direction).getLengthSQ()) in applyMouseMovement()105 direction = quat_x * ((m_target_direction + up).setLength(0.02f) - up); in applyMouseMovement()106 m_target_direction = direction; in applyMouseMovement()166 diff = m_target_direction - direction; in update()179 m_target_direction = direction; in update()[all …]
70 core::vector3df m_target_direction; member in CameraFPS131 void setDirection (core::vector3df target) { m_target_direction = target; } in setDirection()135 const core::vector3df &getDirection () { return m_target_direction; } in getDirection()