Skip to content

Commit

Permalink
fixing few docstring grammatical errors
Browse files Browse the repository at this point in the history
  • Loading branch information
xtanion committed Oct 5, 2022
1 parent 0be4712 commit 5c980c7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions fury/gltf.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,11 @@ def generate_tmatrix(self, transf, prop):
prop : str
String that defines the type of array
(values: translation, rotation or scale).
Returns
-------
matrix : ndarray (4, 4)
ransformation matrix of shape (4, 4) with respective transforms.
"""
if prop == 'translation':
matrix = transform.translate(transf)
Expand Down Expand Up @@ -705,7 +710,7 @@ def initialize_skin(self, timeline, bones=False, length=0.2):
self.update_skin(timeline)

def apply_skin_matrix(self, vertices, joint_matrices, actor_index=0):
"""Applie the skinnig matrix, that transform the vertices.
"""Apply the skinnig matrix, that transform the vertices.
Parameters
----------
Expand All @@ -717,7 +722,7 @@ def apply_skin_matrix(self, vertices, joint_matrices, actor_index=0):
Returns
-------
vertices : ndarray
Modified vertices
Modified vertices.
"""
clone = np.copy(vertices)
weights = self.weights_0[actor_index]
Expand Down

0 comments on commit 5c980c7

Please sign in to comment.