Skip to content

Commit

Permalink
wip: update pose_demo and fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
hanson-hschang committed Oct 18, 2024
1 parent 3c429b9 commit 509c73a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/bsr/geometry/primitives/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ def set_keyframe(self, keyframe: int) -> None:
"""
self.object.keyframe_insert(data_path="location", frame=keyframe)
self.material.keyframe_insert(data_path="diffuse_color", frame=keyframe)



class Cylinder(KeyFrameControlMixin):
Expand All @@ -229,7 +228,7 @@ class Cylinder(KeyFrameControlMixin):
position_1 : NDArray
The first endpoint position of the cylinder object. (3D)
position_2 : NDArray
The second enspoint position of the cylinder object. (3D)
The second endpoint position of the cylinder object. (3D)
radius : float
The radius of the cylinder object.
"""
Expand Down Expand Up @@ -395,7 +394,7 @@ def set_keyframe(self, keyframe: int) -> None:
self.object.keyframe_insert(data_path="rotation_euler", frame=keyframe)
self.object.keyframe_insert(data_path="scale", frame=keyframe)
self.material.keyframe_insert(data_path="diffuse_color", frame=keyframe)


# TODO: Will be implemented in the future
class Frustum(KeyFrameControlMixin): # pragma: no cover
Expand Down

0 comments on commit 509c73a

Please sign in to comment.