Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add vector zero constructor clarification#3574

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
MyreMylar merged 2 commits intopygame:mainfromandrewhong04:vectorzero
Nov 20, 2022

Conversation

@andrewhong04
Copy link
Contributor

@andrewhong04andrewhong04 commentedNov 18, 2022
edited
Loading

Fixes:#3573

I am not entirely sure if this is a good solution or not since I cannot find any other documentation methods similar to this. But sinceVector2() will consistently always returnVector2(0, 0), I think this is a good implementation.

Copy link
Contributor

@ankith26ankith26 left a comment

Choose a reason for hiding this comment

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

This is just a personal preference thing, but I think this can be clarified in the doc body instead. But I'm also fine with what this PR does so I'll go ahead and approve, thankies 🥳

Copy link
Contributor

@MyreMylarMyreMylar left a comment

Choose a reason for hiding this comment

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

Seems fairly clear to me, so I think we can add this.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

2 more reviewers

@MyreMylarMyreMylarMyreMylar approved these changes

@ankith26ankith26ankith26 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

docsmathpygame.math

Projects

None yet

Milestone

2.2.0

Development

Successfully merging this pull request may close these issues.

pygame.Vector2() does not specify that it returns a Vector with the values (0, 0) in the documentation

3 participants

@andrewhong04@MyreMylar@ankith26

[8]ページ先頭

©2009-2025 Movatter.jp