Skip to content

Commit

Permalink
Update camera_model.h
Browse files Browse the repository at this point in the history
  • Loading branch information
strasdat committed Nov 8, 2023
1 parent c067ea2 commit d498e6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/sophus/sensor/camera_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,10 @@ class CameraModel {

CameraModel& operator=(CameraModel const& model) = default;

/// Constructs camera model from `CameraDistortionVariant`.
template <class TScalar, class TDistortion, class TProj>
CameraModel(CameraModelT<TScalar, TDistortion, TProj> const& cam)
: model_(cam) {}

/// Constructs camera model from `CameraDistortionVariant`.
CameraModel(CameraDistortionVariant const& variant) : model_(variant) {}

/// Constructs camera model from `frame_name`, `image_size`, `projection_type`
Expand Down

0 comments on commit d498e6b

Please sign in to comment.