mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 16:50:54 +01:00
26 lines
551 B
C
26 lines
551 B
C
#pragma once
|
|
|
|
#ifndef TP_INTERNAL_COMPONENTS_GUARD
|
|
#error Include Components.h instead
|
|
#endif
|
|
|
|
#include <Structs/AnimationVariables.h>
|
|
|
|
struct InterpolationComponent
|
|
{
|
|
struct TimePoint
|
|
{
|
|
uint64_t Tick{};
|
|
glm::vec3 Position{};
|
|
glm::vec3 Rotation{};
|
|
AnimationVariables Variables{};
|
|
float Direction{};
|
|
|
|
TimePoint() = default;
|
|
TimePoint(const TimePoint&) = default;
|
|
TimePoint& operator=(const TimePoint&) = default;
|
|
};
|
|
|
|
List<TimePoint> TimePoints;
|
|
glm::vec3 Position;
|
|
};
|