summaryrefslogtreecommitdiffhomepage
path: root/logic/pipeline.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-04 20:14:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-04 20:14:16 +0200
commit538853d89547a101f2af7c7e193a0d05576e6247 (patch)
treedd208401caa8636087cf684ee44a2a9961435ee2 /logic/pipeline.hpp
parent85162f706e5c85c5dfe98d14c0096ed18670dcf8 (diff)
change awkward type name
Diffstat (limited to 'logic/pipeline.hpp')
-rw-r--r--logic/pipeline.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/logic/pipeline.hpp b/logic/pipeline.hpp
index 41ba7181..e6e9cc7e 100644
--- a/logic/pipeline.hpp
+++ b/logic/pipeline.hpp
@@ -33,7 +33,7 @@ using vec3_bool = Mat<bool, 6, 1>;
class reltrans
{
- euler_t interp_pos;
+ Pose_ interp_pos;
Timer interp_timer;
// this implements smooth transition into reltrans mode
@@ -49,8 +49,8 @@ public:
void on_center();
- euler_t rotate(const rmat& rmat, const euler_t& in, vec3_bool disable) const;
- euler_t apply_neck(const rmat& R, int nz, bool disable_tz) const;
+ Pose_ rotate(const rmat& rmat, const Pose_& in, vec3_bool disable) const;
+ Pose_ apply_neck(const rmat& R, int nz, bool disable_tz) const;
Pose apply_pipeline(reltrans_state state, const Pose& value,
const vec6_bool& disable, bool neck_enable, int neck_z);
};
@@ -100,7 +100,7 @@ class OTR_LOGIC_EXPORT pipeline : private QThread
struct {
rmat inv_R = rmat::eye();
- euler_t T;
+ Pose_ T;
} center;
time_units::ms backlog_time {};