sandbox
Loading...
Searching...
No Matches
global_transform.hpp
1// SPDX-License-Identifier: MIT
2#ifndef LIBSBX_SCENE_COMPONENTS_GLOBAL_TRANSFORM_HPP_
3#define LIBSBX_SCENE_COMPONENTS_GLOBAL_TRANSFORM_HPP_
4
5#include <libsbx/math/matrix4x4.hpp>
6
7namespace sbx::scenes {
8
10 math::matrix4x4 model{math::matrix4x4::identity};
11 math::matrix4x4 normal{math::matrix4x4::identity};
12 std::uint64_t version{1u};
13 std::uint64_t local_seen{0u};
14 std::uint64_t parent_seen{0u};
15}; // struct global_transform
16
17} // namespace sbx::scenes
18
19#endif // LIBSBX_SCENE_COMPONENTS_GLOBAL_TRANSFORM_HPP_
Definition: matrix4x4.hpp:26
Definition: global_transform.hpp:9