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

Image.get_size() should return a Vector2i #62856

Closed
alazifk opened this issue Jul 9, 2022 · 0 comments · Fixed by #62861
Closed

Image.get_size() should return a Vector2i #62856

alazifk opened this issue Jul 9, 2022 · 0 comments · Fixed by #62861

Comments

@alazifk
Copy link

alazifk commented Jul 9, 2022

Godot version

4.x

System information

Any

Issue description

Vector2 Image::get_size() const {
	return Vector2(width, height);
}

Returning a Vector2i would probably make more sense, since width and height are integers.

Steps to reproduce

Minimal reproduction project

No response

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

Successfully merging a pull request may close this issue.

2 participants