diff options
author | Martin Miller | 2017-03-25 16:14:23 -0500 |
---|---|---|
committer | Martin Miller | 2017-03-25 16:14:23 -0500 |
commit | 1c233f6fd05502585928e058d5d2c0ff5e23881a (patch) | |
tree | d2159930cc343820c29a265d322b94f5245e2c5c /src/feature.cpp | |
parent | 5cefa66fd4782e2ecf50770888e9ae043b79c1b9 (diff) | |
download | refslam-1c233f6fd05502585928e058d5d2c0ff5e23881a.zip refslam-1c233f6fd05502585928e058d5d2c0ff5e23881a.tar.gz |
Add Feature::dx()
This function allows an incremental update of the feature state where
X += dx
Diffstat (limited to 'src/feature.cpp')
-rw-r--r-- | src/feature.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/feature.cpp b/src/feature.cpp index 49a6262..136f820 100644 --- a/src/feature.cpp +++ b/src/feature.cpp @@ -506,3 +506,10 @@ Feature::sane ( ) return rv ; } /* ----- end of method Feature::sane ----- */ +void +Feature::dx ( const Vector3d &del ) +{ + X += del; + return ; +} /* ----- end of method Feature::dx ----- */ + |