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

Use real_t in 2D nodes #45571

Merged
merged 1 commit into from
Mar 22, 2021
Merged

Conversation

aaronfranke
Copy link
Member

This is similar to other recent real_t PRs I've made, but this PR specifically focuses on 2D nodes.

All code related to time was intentionally left unchanged. Code that works with time should be double, not real_t, but that would change behavior, so I think it's worth doing in a separate PR.

@aaronfranke aaronfranke added this to the 4.0 milestone Jan 30, 2021
@aaronfranke aaronfranke requested a review from a team January 30, 2021 05:50
@aaronfranke aaronfranke requested review from a team as code owners February 19, 2021 00:39
@aaronfranke aaronfranke changed the title Use real_t in non-physics 2D nodes Use real_t in 2D nodes Feb 21, 2021
@aaronfranke aaronfranke force-pushed the node2d-real_t branch 2 times, most recently from 1b7488e to d1aaa67 Compare February 24, 2021 19:25
scene/2d/tile_map.h Outdated Show resolved Hide resolved
Copy link
Member

@KoBeWi KoBeWi left a comment

Choose a reason for hiding this comment

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

As I mentioned in my last comment, it would be better if the TileMap changes were removed. This PR is only relevant for 4.0 and TileMap in 4.0 is getting a full rewrite, so doing changes in other PRs is rather useless. Unless you don't mind waiting and rebasing until the rework is merged.

@akien-mga akien-mga merged commit 6fa2472 into godotengine:master Mar 22, 2021
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants