Created
February 26, 2015 19:30
-
-
Save FedericoV/6c6cf9dee3557e0fe9de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.rotation = rotation_matrix(np.array([0, 0, 1]), | |
self.model.stem_rotation) | |
self.axis = self.__get_axis() | |
self.rotation = np.dot(self.rotation, | |
rotation_matrix(self.axis, | |
self.model.tree_rotation)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment