From 1c233f6fd05502585928e058d5d2c0ff5e23881a Mon Sep 17 00:00:00 2001 From: Martin Miller Date: Sat, 25 Mar 2017 16:14:23 -0500 Subject: Add Feature::dx() This function allows an incremental update of the feature state where X += dx --- src/feature.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/feature.cpp') 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 ----- */ + -- cgit v1.1