❖
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
12
namespace
mnd
13
{
14
15
struct
KeyFrameVec3
16
{
17
float
time
= 0.0f;
18
glm::vec3
value
= glm::vec3(0.0f);
19
};
20
21
struct
KeyFrameQuat
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
mnd
Definition
IdleClip.cpp:13
mnd::KeyFrameQuat
Definition
KeyFrame.h:22
mnd::KeyFrameQuat::time
float time
Definition
KeyFrame.h:23
mnd::KeyFrameQuat::value
glm::quat value
Definition
KeyFrame.h:24
mnd::KeyFrameVec3
Definition
KeyFrame.h:16
mnd::KeyFrameVec3::time
float time
Definition
KeyFrame.h:17
mnd::KeyFrameVec3::value
glm::vec3 value
Definition
KeyFrame.h:18
engine
source
animation
KeyFrame.h
Generated by
1.9.8