Commit 53e825d3 authored by Davis King's avatar Davis King

Added a convenient overload of translate_point.

parent dd43ba44
......@@ -783,6 +783,15 @@ namespace dlib
return point_transform_affine3d(identity_matrix<double>(3),delta);
}
inline point_transform_affine3d translate_point (
double x,
double y,
double z
)
{
return translate_point(vector<double>(x,y,z));
}
// ----------------------------------------------------------------------------------------
class camera_transform
......
......@@ -576,6 +576,16 @@ namespace dlib
point_transform_affine3d(identity_matrix<double>(3),delta);
!*/
point_transform_affine3d translate_point (
double x,
double y,
double z
);
/*!
ensures
- returns translate_point(vector<double>(x,y,z))
!*/
// ----------------------------------------------------------------------------------------
class camera_transform
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment