MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / extrapolate

Method extrapolate

ogsr_engine/xrGame/pose_extrapolation.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void points::extrapolate(Fmatrix& m, float time) const
44{
45 pose p;
46 spline_linear(m_points[0], m_points[1], time, p);
47 p.get(m);
48}
49
50pose::pose() : p(Fvector().set(-FLT_MAX, -FLT_MAX, -FLT_MAX)), r(Fquaternion().set(0, 0, 0, 0)) {}
51pose& pose::set(const Fmatrix& m)

Callers 2

dbg_drawMethod · 0.80
step_predictMethod · 0.80

Calls 2

spline_linearFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected