We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
manim version: 0.18.0
0.18.0
class SectorArcCenterRotate(Scene): def construct(self): self.add(NumberPlane()) sector = Sector(outer_radius=2, start_angle=0, angle=PI / 6) sector.shift(LEFT * 3) self.add(sector) self.wait() self.add(sector.copy().set_color(RED).set_opacity(0.5)) sector.rotate(PI / 6, about_point=sector.get_arc_center()) # unexcepted # sector.rotate(PI / 6, about_point=deepcopy(sector.get_arc_center())) self.wait()
expected behavior:
the actual behavior:
I think the "problem" is get_arc_center return a reference of Sector's point:
get_arc_center
manim/manim/mobject/geometry/arc.py
Lines 381 to 392 in 3b496ea
The text was updated successfully, but these errors were encountered:
get_arc_center()
Successfully merging a pull request may close this issue.
Description of bug / unexpected behavior
manim version:
0.18.0
Expected behavior
expected behavior:
the actual behavior:
System specifications
System Details
- OS (MacOS 14.2.1 (23C71)): - RAM: - Python version 3.11.5 - Installed modules (provide output from `pip list`):I think the "problem" is
get_arc_center
return a reference of Sector's point:manim/manim/mobject/geometry/arc.py
Lines 381 to 392 in 3b496ea
But the other method, such as get_corner return a copy.
Not sure it's a feature or a bug. Thanks.
The text was updated successfully, but these errors were encountered: