Skip to content
New issue

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

Update the sphere class to allow movement #1128

Closed
wants to merge 1 commit into from

Conversation

hollasch
Copy link
Collaborator

This change deprecates the moving_sphere class, and instead extends the existing sphere class to include this functionality.

Note that in TheRestOfYourLife, the PDF functions ignore the moving aspect, and assume a static sphere (which preserves existing behavior).

See issue #1125

This is the code portion only, shared for feedback.

This change deprecates the moving_sphere class, and instead extends the
existing sphere class to include this functionality.

Note that in TheRestOfYourLife, the PDF functions ignore the moving
aspect, and assume a static sphere (which preserves existing behavior).

See issue #1125
@hollasch hollasch added this to the v4.0.0 milestone May 11, 2023
@hollasch hollasch self-assigned this May 11, 2023
Copy link
Collaborator

@trevordblack trevordblack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'm okay with this.

It's not a complete refactoring with full support for time and SRTs.

But, it's not a massive increase in understanding for the user,
AND it's just objectively better than what exists at the moment.

I think the only potential gotcha is that previously a "moving sphere" represented a completely different geometric object than a regular sphere. Here, there is no true distinction between the two. A "moving sphere" is just a sphere.

This is definitely a change in mental model. I think it's an improvement. But it's a change in mental model and I might need a few days to simmer to make sure.

Feel free to ship, but I may come back with concerns

@hollasch
Copy link
Collaborator Author

hollasch commented Jun 6, 2023

Final work is complete in the moving-sphere branch. This will be rebased once the classes-cleanup PR is approved and merged.

@hollasch hollasch closed this Jun 6, 2023
@hollasch hollasch deleted the spheres-can-move branch June 21, 2023 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants