#include <CeresEngine/Input/Range.hpp>
◆ DeltaAxisInputRange()
| CeresEngine::DeltaAxisInputRange::DeltaAxisInputRange |
( |
Axis |
axis | ) |
|
|
explicitnoexcept |
Create a new delta axis range by fetching data from the given axis.
- Parameters
-
| axis | The axis to fetch data from |
◆ update()
Updates the range with the given input state.
- Parameters
-
| state | The input state to update the range with |
Implements CeresEngine::InputRange.
◆ axis
| Axis CeresEngine::DeltaAxisInputRange::axis |
|
private |
◆ lastValue
| double CeresEngine::DeltaAxisInputRange::lastValue = 0.0 |
|
private |
The value returned on the last update.
◆ receivedFirstUpdate
| bool CeresEngine::DeltaAxisInputRange::receivedFirstUpdate = false |
|
private |
A flag that indicates if the first result was already received.
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Input/Range.hpp