SwRasterizer: Flip the vertex quaternions before clipping (if necessary).
This commit is contained in:
parent
2a75837bc3
commit
73566ff7a9
3 changed files with 16 additions and 21 deletions
|
@ -462,7 +462,7 @@ public:
|
|||
z -= other.z;
|
||||
w -= other.w;
|
||||
}
|
||||
template <typename Q = T, class = typename std::enable_if<std::is_signed<Q>::value>::type>
|
||||
template <typename Q = T>
|
||||
Vec4<decltype(-T{})> operator-() const {
|
||||
return MakeVec(-x, -y, -z, -w);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue