Vulkan Schnee
0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
GltfNodeTransforms.h
1
#pragma once
2
3
#include <glm/mat4x4.hpp>
4
#include <tiny_gltf.h>
5
6
#include <vector>
7
8
namespace
Engine::Assets::Gltf
9
{
15
[[nodiscard]] glm::mat4
parseNodeMatrix
(
const
tinygltf::Node & node );
16
26
[[nodiscard]] std::vector<glm::mat4>
calculateNodeWorldTransforms
(
const
tinygltf::Model & model );
27
}
// namespace Engine::Assets::Gltf
Engine::Assets::Gltf
Definition
GltfNodeTransforms.h:9
Engine::Assets::Gltf::parseNodeMatrix
glm::mat4 parseNodeMatrix(const tinygltf::Node &node)
Converts a glTF node matrix or TRS fields into a local transform matrix.
Engine::Assets::Gltf::calculateNodeWorldTransforms
std::vector< glm::mat4 > calculateNodeWorldTransforms(const tinygltf::Model &model)
Calculates world transforms for every glTF node.
workspace
magerbeton
gl3-vulkan
code
Engine
include
Engine
Mesh
GltfNodeTransforms.h
Generated by
1.14.0