|
group2 0.1.0
CSE 125 Group 2
|
Per-frame snapshot written to the recording CSV. More...
#include <FrameRecorder.hpp>
Public Attributes | |
| uint64_t | frameNumber = 0 |
| double | timestamp = 0.0 |
| Seconds since recording started. | |
| int | tickCount = 0 |
| Physics-tick counter at this render frame. | |
| glm::vec3 | physPos {0.0f} |
| pos.value — what physics says. | |
| glm::vec3 | physVel {0.0f} |
| vel.value — current velocity. | |
| float | yaw = 0.0f |
| input.yaw (accumulated mouse X). | |
| float | pitch = 0.0f |
| input.pitch (accumulated mouse Y). | |
| glm::vec3 | renderEye {0.0f} |
| float | renderYaw = 0.0f |
| float | renderPitch = 0.0f |
| glm::vec2 | cubeScreen {0.0f} |
| Cube centre (0, 32, 400). | |
| glm::vec2 | modelScreen {0.0f} |
| Wraith model centre (200, 0, 400). | |
| std::string | screenshotPath |
| Absolute PNG path, or empty if unavailable. | |
Per-frame snapshot written to the recording CSV.
Every field that is relevant to diagnosing camera/position jitter is captured:
| glm::vec2 FrameState::cubeScreen {0.0f} |
Cube centre (0, 32, 400).
| uint64_t FrameState::frameNumber = 0 |
| glm::vec2 FrameState::modelScreen {0.0f} |
Wraith model centre (200, 0, 400).
| glm::vec3 FrameState::physPos {0.0f} |
pos.value — what physics says.
| glm::vec3 FrameState::physVel {0.0f} |
vel.value — current velocity.
| float FrameState::pitch = 0.0f |
input.pitch (accumulated mouse Y).
| glm::vec3 FrameState::renderEye {0.0f} |
| float FrameState::renderPitch = 0.0f |
| float FrameState::renderYaw = 0.0f |
| std::string FrameState::screenshotPath |
Absolute PNG path, or empty if unavailable.
| int FrameState::tickCount = 0 |
Physics-tick counter at this render frame.
| double FrameState::timestamp = 0.0 |
Seconds since recording started.
| float FrameState::yaw = 0.0f |
input.yaw (accumulated mouse X).