diff options
| author | 2016-09-18 18:01:46 -0700 | |
|---|---|---|
| committer | 2016-09-18 21:14:25 -0700 | |
| commit | 396a8d91a4423d9c793eeff0798d544613647511 (patch) | |
| tree | e0203961233db1ffcbbca2e15154d71d142c5822 /src/video_core/clipper.cpp | |
| parent | Tweak formatting settings (diff) | |
| download | yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.gz yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.xz yuzu-396a8d91a4423d9c793eeff0798d544613647511.zip | |
Manually tweak source formatting and then re-run clang-format
Diffstat (limited to 'src/video_core/clipper.cpp')
| -rw-r--r-- | src/video_core/clipper.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/clipper.cpp b/src/video_core/clipper.cpp index 747285866..82178d249 100644 --- a/src/video_core/clipper.cpp +++ b/src/video_core/clipper.cpp | |||
| @@ -30,8 +30,7 @@ public: | |||
| 30 | ClippingEdge(Math::Vec4<float24> coeffs, Math::Vec4<float24> bias = Math::Vec4<float24>( | 30 | ClippingEdge(Math::Vec4<float24> coeffs, Math::Vec4<float24> bias = Math::Vec4<float24>( |
| 31 | float24::FromFloat32(0), float24::FromFloat32(0), | 31 | float24::FromFloat32(0), float24::FromFloat32(0), |
| 32 | float24::FromFloat32(0), float24::FromFloat32(0))) | 32 | float24::FromFloat32(0), float24::FromFloat32(0))) |
| 33 | : coeffs(coeffs), bias(bias) { | 33 | : coeffs(coeffs), bias(bias) {} |
| 34 | } | ||
| 35 | 34 | ||
| 36 | bool IsInside(const OutputVertex& vertex) const { | 35 | bool IsInside(const OutputVertex& vertex) const { |
| 37 | return Math::Dot(vertex.pos + bias, coeffs) <= float24::FromFloat32(0); | 36 | return Math::Dot(vertex.pos + bias, coeffs) <= float24::FromFloat32(0); |