Open gim-hangil opened 1 month ago
I've noticed that Texture::GetSize() returns struct not class.
Texture::GetSize()
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.
363d576e4a126942a2c99df2beb91b7a1d9592db
Didn't tested...
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.