Commits

German Larrain committed 121dba0

graphics.base.Body: renamed method 'update_position_rotation' to 'set_pose'.

  • Participants
  • Parent commits daab603

Comments (0)

Files changed (2)

ars/graphics/base.py

 		self._color = None
 		self._actor = None
 
-	def update_position_rotation(self, pos, rot):
+	def set_pose(self, pos, rot):
 		self._position = pos
 		self._rotation = rot
 		self.adapter._update_pose(self._actor, pos, rot)

ars/model/simulator/__init__.py

 		if self.has_actor() and self._updatable:
 			pos = self.get_position()
 			rot = self.get_rotation()
-			self._actor.update_position_rotation(pos, rot)
+			self._actor.set_pose(pos, rot)
 
 	@abstractmethod
 	def get_position(self):