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

Rename Basis get_axis to get_column, remove redundant methods #60727

Merged
merged 1 commit into from
May 3, 2022

Conversation

aaronfranke
Copy link
Member

@aaronfranke aaronfranke commented May 3, 2022

This is a follow-up to #60627 that was requested by @reduz when discussing it.

  • Basis: Unify get_axis and get_column to get_column (they do the same thing)
  • Basis: Unify set_axis and set_column to set_column (they do the same thing)
  • Basis: Rename set to set_columns
  • Basis: Remove get_row and set_row since it's not needed now that elements was renamed to rows
  • Transform2D: Remove get_axis (get_column) since it's not needed now that elements was renamed to columns

@aaronfranke aaronfranke added this to the 4.0 milestone May 3, 2022
@aaronfranke aaronfranke requested review from a team as code owners May 3, 2022 13:24
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Approved in PR review meeting. The p_axis arguments can be renamed to p_index, and get_row could be removed as rows is exposed as a property.

@aaronfranke aaronfranke requested a review from a team as a code owner May 3, 2022 13:37
@aaronfranke aaronfranke changed the title Rename Basis and Transform2D get_axis to get_column Rename Basis get_axis to get_column, remove redundant methods May 3, 2022
@aaronfranke aaronfranke requested a review from akien-mga May 3, 2022 14:35
@akien-mga akien-mga merged commit 1b29927 into godotengine:master May 3, 2022
@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.

2 participants