Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
KeyFrame.h
Go to the documentation of this file.
1/**
2 * @file KeyFrame.h
3 * @ingroup mnd_animation
4 * @brief Shared keyframe value types for transform-track animation.
5 */
6
7#pragma once
8
9#include <glm/gtc/quaternion.hpp>
10#include <glm/vec3.hpp>
11
12namespace mnd
13{
14
16{
17 float time = 0.0f;
18 glm::vec3 value = glm::vec3(0.0f);
19};
20
22{
23 float time = 0.0f;
24 glm::quat value = glm::quat(1.0f, 0.0f, 0.0f, 0.0f);
25};
26
27} // namespace mnd
glm::quat value
Definition KeyFrame.h:24
glm::vec3 value
Definition KeyFrame.h:18