Initial commit
This commit is contained in:
parent
0889e4de0d
commit
10bc916711
456 changed files with 119668 additions and 0 deletions
16
vendor/include/glm/ext/matrix_common.inl
vendored
Normal file
16
vendor/include/glm/ext/matrix_common.inl
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include "../matrix.hpp"
|
||||
|
||||
namespace glm
|
||||
{
|
||||
template<length_t C, length_t R, typename T, typename U, qualifier Q>
|
||||
GLM_FUNC_QUALIFIER mat<C, R, T, Q> mix(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, U a)
|
||||
{
|
||||
return mat<C, R, U, Q>(x) * (static_cast<U>(1) - a) + mat<C, R, U, Q>(y) * a;
|
||||
}
|
||||
|
||||
template<length_t C, length_t R, typename T, typename U, qualifier Q>
|
||||
GLM_FUNC_QUALIFIER mat<C, R, T, Q> mix(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, mat<C, R, U, Q> const& a)
|
||||
{
|
||||
return matrixCompMult(mat<C, R, U, Q>(x), static_cast<U>(1) - a) + matrixCompMult(mat<C, R, U, Q>(y), a);
|
||||
}
|
||||
}//namespace glm
|
Loading…
Add table
Add a link
Reference in a new issue