Function glm::builtin::faceforward
[−]
[src]
pub fn faceforward<S: BaseFloat, T: GenFloatVec<S>>(N: T, I: T, Nref: T) -> T
If dot(Nref, I) < 0
return N, otherwise return -N.