21 Tempest::Vec3 c[4] = {};
22 zenkit::CameraMotion motionType = zenkit::CameraMotion::LINEAR;
24 auto position(
float u)
const -> Tempest::Vec3;
25 float arcLength()
const;
30 KbSpline(
const std::vector<std::shared_ptr<zenkit::VCameraTrajectoryFrame>>& frames,
const float duration, std::string_view
vobName);
32 std::vector<KeyFrame> keyframe;
33 size_t size()
const {
return keyframe.size(); }
34 auto position(
const uint64_t time)
const -> Tempest::Vec3;
39 void tick(uint64_t dt)
override;
41 auto position() -> Tempest::Vec3;
42 auto spin(Tempest::Vec3& d) -> Tempest::PointF;
44 KbSpline posSpline = {};
45 KbSpline targetSpline = {};
47 uint64_t duration = 0;
49 uint64_t timeTrigger = 0;
51 bool playerMovable =
false;
52 bool autoUntrigger =
false;