mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Fixed bug on the faceforward function.
This commit is contained in:
parent
773389c400
commit
9f0958e40d
@ -67,7 +67,7 @@ namespace detail
|
|||||||
GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const& N, tvec4<float, P> const& I, tvec4<float, P> const& Nref)
|
GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const& N, tvec4<float, P> const& I, tvec4<float, P> const& Nref)
|
||||||
{
|
{
|
||||||
tvec4<float, P> result(uninitialize);
|
tvec4<float, P> result(uninitialize);
|
||||||
result.data = glm_vec4_faceforward(N.data. I.data, Nref.data);
|
result.data = glm_vec4_faceforward(N.data, I.data, Nref.data);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user