lighting.h 528 B

123456789101112131415161718
  1. // Copyright 2017 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <tuple>
  6. #include "common/quaternion.h"
  7. #include "common/vector_math.h"
  8. #include "video_core/pica_state.h"
  9. namespace Pica {
  10. std::tuple<Math::Vec4<u8>, Math::Vec4<u8>> ComputeFragmentsColors(
  11. const Pica::LightingRegs& lighting, const Pica::State::Lighting& lighting_state,
  12. const Math::Quaternion<float>& normquat, const Math::Vec3<float>& view);
  13. } // namespace Pica