mirror of
https://github.com/harfang3d/harfang3d.git
synced 2024-07-16 15:02:19 +00:00
18 lines
525 B
C++
18 lines
525 B
C++
// HARFANG(R) Copyright (C) 2021 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details.
|
|
|
|
#include "foundation/time.h"
|
|
|
|
namespace hg {
|
|
|
|
struct Vec3;
|
|
|
|
void FpsController(
|
|
bool key_up, bool key_down, bool key_left, bool key_right, bool btn, float dx, float dy, Vec3 &pos, Vec3 &rot, float speed, time_ns dt_t);
|
|
|
|
struct Keyboard;
|
|
struct Mouse;
|
|
|
|
void FpsController(const Keyboard &keyboard, const Mouse &mouse, Vec3 &pos, Vec3 &rot, float speed, time_ns dt_t);
|
|
|
|
} // namespace hg
|