Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
from tensorflow_graphics.geometry.transformation import rotation_matrix_3d
from tensorflow_graphics.util import export_api
from tensorflow_graphics.util import shape
from tensorflow_graphics.util import type_alias


def blend(points,
skinning_weights,
bone_rotations,
bone_translations,
name="linear_blend_skinning_blend"):
def blend(points: type_alias.TensorLike,
skinning_weights: type_alias.TensorLike,
bone_rotations: type_alias.TensorLike,
bone_translations: type_alias.TensorLike,
name: str = "linear_blend_skinning_blend") -> tf.Tensor:
"""Transforms the points using Linear Blend Skinning.

Note:
Expand Down
5 changes: 4 additions & 1 deletion tensorflow_graphics/geometry/transformation/look_at.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@
from tensorflow_graphics.math import vector
from tensorflow_graphics.util import export_api
from tensorflow_graphics.util import shape
from tensorflow_graphics.util import type_alias


def right_handed(camera_position, look_at, up_vector, name="right_handed"):
def right_handed(camera_position: type_alias.TensorLike,
look_at, up_vector: type_alias.TensorLike,
name: str = "right_handed") -> tf.Tensor:
"""Builds a right handed look at view matrix.

Note:
Expand Down