We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Texture::GetSize()
struct Vector2
class Vector2
I've noticed that Texture::GetSize() returns struct not class.
struct
class
Because of that, we cannot use expressions like below which I was trying.
texture.Draw(position - texture.GetSize() / 2.0f)
I think this might be confusing.
The text was updated successfully, but these errors were encountered:
363d576
Didn't tested...
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I've noticed that
Texture::GetSize()
returnsstruct
notclass
.Because of that, we cannot use expressions like below which I was trying.
I think this might be confusing.
The text was updated successfully, but these errors were encountered: