Added declarations
This commit is contained in:
parent
a511553d8e
commit
4721dbeb4a
@ -120,10 +120,37 @@ namespace glm
|
|||||||
{
|
{
|
||||||
typedef detail::fvec4SIMD simd_vec4;
|
typedef detail::fvec4SIMD simd_vec4;
|
||||||
|
|
||||||
detail::fvec4SIMD cross(
|
detail::fvec4SIMD simd_length(
|
||||||
|
detail::fvec4SIMD const & v);
|
||||||
|
|
||||||
|
detail::fvec4SIMD simd_cross(
|
||||||
detail::fvec4SIMD const & a,
|
detail::fvec4SIMD const & a,
|
||||||
detail::fvec4SIMD const & b);
|
detail::fvec4SIMD const & b);
|
||||||
|
|
||||||
|
detail::fvec4SIMD simd_distance(
|
||||||
|
detail::fvec4SIMD const & v);
|
||||||
|
|
||||||
|
detail::fvec4SIMD simd_dot(
|
||||||
|
detail::fvec4SIMD const & a,
|
||||||
|
detail::fvec4SIMD const & b);
|
||||||
|
|
||||||
|
detail::fvec4SIMD simd_normalize(
|
||||||
|
detail::fvec4SIMD const & v);
|
||||||
|
|
||||||
|
detail::fvec4SIMD simd_faceforward(
|
||||||
|
detail::fvec4SIMD const & N,
|
||||||
|
detail::fvec4SIMD const & I,
|
||||||
|
detail::fvec4SIMD const & Nref);
|
||||||
|
|
||||||
|
detail::fvec4SIMD simd_reflect(
|
||||||
|
detail::fvec4SIMD const & I,
|
||||||
|
detail::fvec4SIMD const & N);
|
||||||
|
|
||||||
|
detail::fvec4SIMD simd_refract(
|
||||||
|
detail::fvec4SIMD const & I,
|
||||||
|
detail::fvec4SIMD const & N,
|
||||||
|
float const & eta);
|
||||||
|
|
||||||
}//namespace simd_vec4
|
}//namespace simd_vec4
|
||||||
}//namespace gtx
|
}//namespace gtx
|
||||||
}//namespace glm
|
}//namespace glm
|
||||||
|
@ -267,7 +267,7 @@ namespace glm
|
|||||||
namespace simd_vec4
|
namespace simd_vec4
|
||||||
{
|
{
|
||||||
# if(GLM_INSTRUCTION_SET & GLM_INSTRUCTION_SET_SSE)
|
# if(GLM_INSTRUCTION_SET & GLM_INSTRUCTION_SET_SSE)
|
||||||
inline detail::fvec4SIMD cross
|
inline detail::fvec4SIMD simd_cross
|
||||||
(
|
(
|
||||||
detail::fvec4SIMD const & a,
|
detail::fvec4SIMD const & a,
|
||||||
detail::fvec4SIMD const & b
|
detail::fvec4SIMD const & b
|
||||||
@ -276,7 +276,7 @@ namespace glm
|
|||||||
return detail::sse_xpd_ps(a.Data, b.Data);
|
return detail::sse_xpd_ps(a.Data, b.Data);
|
||||||
}
|
}
|
||||||
# else//(GLM_INSTRUCTION_SET & GLM_INSTRUCTION_SET_PURE)
|
# else//(GLM_INSTRUCTION_SET & GLM_INSTRUCTION_SET_PURE)
|
||||||
inline detail::fvec4SIMD cross
|
inline detail::fvec4SIMD simd_cross
|
||||||
(
|
(
|
||||||
detail::fvec4SIMD const & a,
|
detail::fvec4SIMD const & a,
|
||||||
detail::fvec4SIMD const & b
|
detail::fvec4SIMD const & b
|
||||||
|
Loading…
x
Reference in New Issue
Block a user