Functions
glm::core::function::geometric Namespace Reference

Define all geometric functions from Section 8.4 of GLSL 1.30.8 specification. Included in glm namespace. More...

Functions

template<typename T >
detail::tvec3< T > cross (detail::tvec3< T > const &x, detail::tvec3< T > const &y)
template<typename genType >
genType::value_type distance (genType const &p0, genType const &p1)
template<typename genType >
genType::value_type dot (genType const &x, genType const &y)
template<typename genType >
genType faceforward (genType const &N, genType const &I, genType const &Nref)
template<typename genType >
genType::value_type length (genType const &x)
template<typename genType >
genType normalize (genType const &x)
template<typename genType >
genType reflect (genType const &I, genType const &N)
template<typename genType >
genType refract (genType const &I, genType const &N, typename genType::value_type const &eta)

Detailed Description

Define all geometric functions from Section 8.4 of GLSL 1.30.8 specification. Included in glm namespace.