mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
aux/tracking: Remove unused functions.
Use cv::norm instead.
This commit is contained in:
parent
09f984258f
commit
d7d12a69f8
|
@ -126,22 +126,6 @@ mkpath(char *path)
|
|||
return 0;
|
||||
}
|
||||
|
||||
//! @todo Templatise?
|
||||
XRT_MAYBE_UNUSED static float
|
||||
cv_dist3d_point(cv::Point3f &p, cv::Point3f &q)
|
||||
{
|
||||
cv::Point3f d = p - q;
|
||||
return cv::sqrt(d.x * d.x + d.y * d.y + d.z * d.z);
|
||||
}
|
||||
|
||||
//! @todo Templatise?
|
||||
XRT_MAYBE_UNUSED static float
|
||||
cv_dist3d_vec(cv::Vec3f &p, cv::Vec3f &q)
|
||||
{
|
||||
cv::Point3f d = p - q;
|
||||
return cv::sqrt(d.x * d.x + d.y * d.y + d.z * d.z);
|
||||
}
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue