载入中...
搜索中...
未找到
SkySolarOrbit.h
浏览该文件的文档.
1#pragma once
2#include <array>
3#include "common/Export.h"
4#include "common/Result.h"
5
6namespace eve::daynight {
13public:
18 [[nodiscard]] static Result<SkySolarOrbit> create(double pitchDegrees, double yawDegrees);
21 [[nodiscard]] Result<std::array<double, 3>> direction(double hour) const;
22
23private:
24 SkySolarOrbit(double pitch, double yaw);
25 double sinPitch_, cosPitch_, sinYaw_, cosYaw_;
26};
27} // namespace eve::daynight
#define EVENGINE_API_WORLD
Definition Export.h:109
Move-only, checked operation results for the common layer.
RoadLaneDirection direction
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Non-astronomical daily solar orbit, matching the reference's manual pitch/yaw mode.