|
group2 0.1.0
CSE 125 Group 2
|
Classes | |
| struct | LocalVelocity |
| struct | LocomotionSelection |
| struct | TransitionIntent |
| struct | TransitionTracker |
Enumerations | |
| enum class | TransitionKind : unsigned char { None , Start , Stop , Pivot } |
Functions | |
| float | speed (const LocalVelocity &local) noexcept |
| LocalVelocity | localVelocityFromWorld (const glm::vec3 &velocityWorld, float yawRad) noexcept |
| float | smoothingAlpha (float dtSec, float tauSec) noexcept |
| LocomotionSelection | selectLocomotion (const LocalVelocity &local, bool crouching) noexcept |
| TransitionIntent | updateTransitionTracker (TransitionTracker &tracker, const LocalVelocity &local, float dtSec) noexcept |
| float | transitionWeight (TransitionKind kind, float elapsedSec, float durationSec, float peakWeight) noexcept |
| float | transitionPlaybackRatio (float elapsedSec, float durationSec) noexcept |
| ClipId | fallbackTransitionClip (TransitionKind kind, ClipId preferredClip) noexcept |
Variables | |
| constexpr float | k_idleCutoff = 10.0f |
| constexpr float | k_moveThreshold = 45.0f |
| constexpr float | k_walkSpeedRef = tms::k_walkStrafeSpeed |
| constexpr float | k_runSpeedRef = tms::k_walkForwardSpeed |
|
strong |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
nodiscardnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |