mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-23 18:45:42 +01:00
Merge pull request #578 from linkmauve/math-typo
VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument was Vec2<T> instead
This commit is contained in:
commit
a78b8b1bc4
@ -631,7 +631,7 @@ static inline Vec4<T> MakeVec(const Vec3<T>& xyz, const T& w)
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
static inline Vec4<T> MakeVec(const T& x, const Vec2<T>& yzw)
|
static inline Vec4<T> MakeVec(const T& x, const Vec3<T>& yzw)
|
||||||
{
|
{
|
||||||
return MakeVec(x, yzw[0], yzw[1], yzw[2]);
|
return MakeVec(x, yzw[0], yzw[1], yzw[2]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user