esp/core/Utility.h file

Namespaces

namespace esp
Root namespace.
namespace esp::core
Core Habitat functionality.

Functions

auto randomRotation() -> Magnum::Quaternion
generate a random rotation
template<typename T>
auto quatRotFromTwoVectors(const Magnum::Math::Vector3<T>& rotFrom, const Magnum::Math::Vector3<T>& rotTo) -> Magnum::Math::Quaternion<T>
Build a Magnum Quaternion as a rotation from two vectors.
template<typename T>
auto orthonormalizeRotationShear(const Magnum::Math::Matrix4<T>& transformation) -> Magnum::Math::Matrix4<T>