Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
TransformUtils.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <glm/glm.hpp>
4
7
9
10glm::mat4 getRotationMatrix(const TransformComponent& transform);
11glm::mat4 getTransformMatrix(const TransformComponent& transform);
12glm::mat4 getGlobalTransformMatrix(Entity entity, const RegistryViewer& viewer);
13glm::mat4 getCameraFacingModelMatrix(const glm::mat4& baseModelMatrix, const glm::vec3& cameraPosition,
14 const glm::mat4& viewMatrix);
15
16} // namespace shkyera::utils::transform
Definition TransformUtils.cpp:4
glm::mat4 getCameraFacingModelMatrix(const glm::mat4 &baseMatrix, const glm::vec3 &cameraPosition, const glm::mat4 &viewMatrix)
Definition TransformUtils.cpp:43
glm::mat4 getTransformMatrix(const TransformComponent &transform)
Definition TransformUtils.cpp:14
glm::mat4 getGlobalTransformMatrix(Entity entity, const RegistryViewer &viewer)
Definition TransformUtils.cpp:22
glm::mat4 getRotationMatrix(const TransformComponent &transform)
Definition TransformUtils.cpp:6
uint32_t Entity
Definition Entity.hpp:7