Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
TransformUtils.hpp File Reference
#include <glm/glm.hpp>
#include <Components/TransformComponent.hpp>
#include <ECS/RegistryViewer.hpp>
Include dependency graph for TransformUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shkyera
 
namespace  shkyera::utils
 
namespace  shkyera::utils::transform
 

Functions

glm::mat4 shkyera::utils::transform::getRotationMatrix (const TransformComponent &transform)
 
glm::mat4 shkyera::utils::transform::getTransformMatrix (const TransformComponent &transform)
 
glm::mat4 shkyera::utils::transform::getGlobalTransformMatrix (Entity entity, const RegistryViewer &viewer)
 
glm::mat4 shkyera::utils::transform::getCameraFacingModelMatrix (const glm::mat4 &baseMatrix, const glm::vec3 &cameraPosition, const glm::mat4 &viewMatrix)