| 12345678910111213141516171819202122232425262728 |
- // Copyright (c) 2008-2023 the Urho3D project
- // License: MIT
- #include "../Precompiled.h"
- #include "../Input/Controls.h"
- namespace Urho3D
- {
- Controls::Controls() :
- buttons_(0),
- yaw_(0.f),
- pitch_(0.f)
- {
- }
- Controls::~Controls() = default;
- void Controls::Reset()
- {
- buttons_ = 0;
- yaw_ = 0.0f;
- pitch_ = 0.0f;
- extraData_.Clear();
- }
- }
|