12#ifndef FOOLSENGINE_UTIL_H
13#define FOOLSENGINE_UTIL_H
27 glm::mat4
buildModelMatrix(glm::vec4 position, glm::quat orientation, glm::vec3 scale = glm::vec3{1.f, 1.f, 1.f});
63 double inputLowerBound,
double inputUpperBound,
64 double outputLowerBound,
double outputUpperBound
double mInputUpperBound
The end of the input range.
Definition util.hpp:84
double mOutputLowerBound
The start of the output range.
Definition util.hpp:90
double mInputLowerBound
The start of the input range.
Definition util.hpp:79
RangeMapperLinear(double inputLowerBound, double inputUpperBound, double outputLowerBound, double outputUpperBound)
Constructs a range mapper with a fixed pair of input and output ranges.
Definition util.cpp:17
double mOutputUpperBound
The end of the output range.
Definition util.hpp:96
double operator()(double value) const
The operation that actually converts a value from its input range into its output range.
Definition util.cpp:29
glm::mat4 buildModelMatrix(glm::vec4 position, glm::quat orientation, glm::vec3 scale=glm::vec3{1.f, 1.f, 1.f})
Converts a position, orientation and scale into its model matrix equivalent.
Definition util.cpp:10
Namespace containing all class definitions and functions related to the ToyMaker engine.
Definition camera_system.hpp:20