These operate on vectors as vectors, not component-wise.
More...
Functions |
template<typename valType > |
detail::tvec3< valType > | cross (detail::tvec3< valType > const &x, detail::tvec3< valType > 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
These operate on vectors as vectors, not component-wise.
Function Documentation
detail::tvec3<valType> glm::cross |
( |
detail::tvec3< valType > const & |
x, |
|
|
detail::tvec3< valType > const & |
y |
|
) |
| |
genType::value_type glm::distance |
( |
genType const & |
p0, |
|
|
genType const & |
p1 |
|
) |
| |
genType::value_type glm::dot |
( |
genType const & |
x, |
|
|
genType const & |
y |
|
) |
| |
genType glm::faceforward |
( |
genType const & |
N, |
|
|
genType const & |
I, |
|
|
genType const & |
Nref |
|
) |
| |
genType::value_type glm::length |
( |
genType const & |
x | ) |
|
genType glm::normalize |
( |
genType const & |
x | ) |
|
genType glm::reflect |
( |
genType const & |
I, |
|
|
genType const & |
N |
|
) |
| |
genType glm::refract |
( |
genType const & |
I, |
|
|
genType const & |
N, |
|
|
typename genType::value_type const & |
eta |
|
) |
| |