glm namespace

GLM namespace.

Contents

Extensions to the GLM library.

This library depends on the GLM library and is built if WITH_GLM is enabled when building Magnum Integration. To use this library with CMake, you need to request the Glm component of the MagnumIntegration package and link to the MagnumIntegration::Glm target:

find_package(MagnumIntegration REQUIRED Glm)

# ...
target_link_libraries(your-app MagnumIntegration::Glm)

See also Downloading and building integration libraries and Integration library usage with CMake. See the Magnum::GlmIntegration namespace for license information.

Functions

template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tquat<T, q>& value) -> Corrade::Utility::Debug&
Debug output operator for GLM quaternion types.
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tdualquat<T, q>& value) -> Corrade::Utility::Debug&
Debug output operator for GLM dual quaternion types.
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tvec2<T, q>& value) -> Corrade::Utility::Debug&
Debug output operator for GLM vector types.
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tvec3<T, q>& value) -> Corrade::Utility::Debug&
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tvec4<T, q>& value) -> Corrade::Utility::Debug&
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tmat2x2<T, q>& value) -> Corrade::Utility::Debug&
Debug output operator for GLM matrix types.
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tmat2x3<T, q>& value) -> Corrade::Utility::Debug&
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tmat2x4<T, q>& value) -> Corrade::Utility::Debug&
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tmat3x2<T, q>& value) -> Corrade::Utility::Debug&
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tmat3x3<T, q>& value) -> Corrade::Utility::Debug&
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tmat3x4<T, q>& value) -> Corrade::Utility::Debug&
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tmat4x2<T, q>& value) -> Corrade::Utility::Debug&
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tmat4x3<T, q>& value) -> Corrade::Utility::Debug&
template<class T, glm::precision q>
auto operator<<(Corrade::Utility::Debug& debug, const tmat4x4<T, q>& value) -> Corrade::Utility::Debug&

Function documentation

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tquat<T, q>& value)

Debug output operator for GLM quaternion types.

Uses glm::to_string() internally. Available since GLM 0.9.7.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tdualquat<T, q>& value)

Debug output operator for GLM dual quaternion types.

Uses glm::to_string() internally. Available since GLM 0.9.7.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tvec2<T, q>& value)

Debug output operator for GLM vector types.

Uses glm::to_string() internally.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tvec3<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tvec4<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tmat2x2<T, q>& value)

Debug output operator for GLM matrix types.

Uses glm::to_string() internally.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tmat2x3<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tmat2x4<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tmat3x2<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tmat3x3<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tmat3x4<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tmat4x2<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tmat4x3<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

template<class T, glm::precision q>
Corrade::Utility::Debug& glm::operator<<(Corrade::Utility::Debug& debug, const tmat4x4<T, q>& value)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.