chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:05:14 +08:00
commit 2a547be7fe
7904 changed files with 1000926 additions and 0 deletions
@@ -0,0 +1,16 @@
#include <rerun.hpp>
#include <cmath>
int main(int argc, char* argv[]) {
const auto rec =
rerun::RecordingStream("rerun_example_getting_started", "run-1");
rec.save("run-1.rrd").exit_on_failure();
for (int t = 0; t < 10; ++t) {
rec.set_time_sequence("step", t);
const auto tf = static_cast<double>(t);
rec.log("/arm/shoulder", rerun::Scalars(std::sin(tf * 0.5)));
rec.log("/arm/elbow", rerun::Scalars(std::cos(tf * 0.5)));
}
}