Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
Utils.cpp File Reference
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/quaternion.hpp>
#include <glm/gtx/transform.hpp>
#include <Math/Utils.hpp>
#include <cmath>
Include dependency graph for Utils.cpp:

Namespaces

namespace  shkyera
 

Macros

#define GLM_ENABLE_EXPERIMENTAL
 

Functions

float shkyera::toRadians (float degrees)
 
float shkyera::toDegrees (float radians)
 
float shkyera::angleAroundAxis (const glm::vec3 &v1, const glm::vec3 &v2, const glm::vec3 &axis)
 
glm::vec3 shkyera::angleAxisRotation (const glm::vec3 &eulerAngles, const glm::vec3 &axis, float angle)
 
glm::vec3 shkyera::eulerAnglesFromRotationMatrix (const glm::mat3 &rotationMat)
 

Macro Definition Documentation

◆ GLM_ENABLE_EXPERIMENTAL

#define GLM_ENABLE_EXPERIMENTAL