diff options
| author | 2017-08-03 12:01:31 +0300 | |
|---|---|---|
| committer | 2017-08-03 13:51:22 +0300 | |
| commit | 2252a63f8036cdf2612243271ce29e6104f82825 (patch) | |
| tree | ca34b8b22a70abb0a5b172e1463dd2aac83d8a67 /src/video_core/swrasterizer/lighting.h | |
| parent | SwRasterizer/Lighting: move to its own file (diff) | |
| download | yuzu-2252a63f8036cdf2612243271ce29e6104f82825.tar.gz yuzu-2252a63f8036cdf2612243271ce29e6104f82825.tar.xz yuzu-2252a63f8036cdf2612243271ce29e6104f82825.zip | |
SwRasterizer/Lighting: shorten file name
Diffstat (limited to 'src/video_core/swrasterizer/lighting.h')
| -rw-r--r-- | src/video_core/swrasterizer/lighting.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/video_core/swrasterizer/lighting.h b/src/video_core/swrasterizer/lighting.h new file mode 100644 index 000000000..438dca926 --- /dev/null +++ b/src/video_core/swrasterizer/lighting.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | // Copyright 2017 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include <tuple> | ||
| 8 | #include "common/quaternion.h" | ||
| 9 | #include "common/vector_math.h" | ||
| 10 | #include "video_core/pica_state.h" | ||
| 11 | |||
| 12 | namespace Pica { | ||
| 13 | |||
| 14 | std::tuple<Math::Vec4<u8>, Math::Vec4<u8>> ComputeFragmentsColors( | ||
| 15 | const Pica::LightingRegs& lighting, const Pica::State::Lighting& lighting_state, | ||
| 16 | const Math::Quaternion<float>& normquat, const Math::Vec3<float>& view); | ||
| 17 | |||
| 18 | } // namespace Pica | ||