34 [[
nodiscard]] std::expected<engine::World3DLighting, std::string>
36 void reset()
noexcept;
41 void beginSpotlight(std::uint64_t
tick)
noexcept;
44 [[
nodiscard]] std::array<float, 3> interpolatedTarget(
45 std::uint64_t
tick)
const noexcept;
48 bool spotlightActive_{};
49 bool ascendingX_{
true};
50 bool ascendingZ_{
true};
52 float fixedRatioValue_{};
53 std::array<float, 3> startTarget_{240.0F, 300.0F, 240.0F};
54 std::array<float, 3> endTarget_{240.0F, 300.0F, 240.0F};
55 std::array<float, 3> currentTarget_{240.0F, 300.0F, 240.0F};
56 std::array<float, 3> currentColour_{1.0F, 1.0F, 1.0F};
57 std::uint64_t moveStartTick_{};
58 std::uint64_t moveEndTick_{};