From 57fe7eb1abcb756aa32d4b7417bcb7c2d03256c0 Mon Sep 17 00:00:00 2001 From: Oded Stein Date: Mon, 4 Sep 2017 17:07:42 -0700 Subject: [PATCH] Add set_R method to complement set_new_C --- mesh/deform.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mesh/deform.m b/mesh/deform.m index b60137d5..8e903fb9 100644 --- a/mesh/deform.m +++ b/mesh/deform.m @@ -435,6 +435,11 @@ this.new_C = new_C; this.update_positions(); end + + function this = set_R(this,R) + this.R = R; + this.update_positions(); + end function this = update_positions(this) % update mesh positions