Posts by Paulo Victor • 31 points
1 post
-
3
votes2
answers103
viewsQ: How to create a vector2 in C?
I wonder if there’s a way I could create a class, to store 2 variables, for example, a Vector2, where I would instantiate and use it like this: Vector2 tile; int posX, posY; posX = tile.x; posY =…