09-24-2024, 08:29 AM
Today I have a question.
While I was making Raylib I thought about something.
In Raylib all 2d position are in vector2 and 3d in vector3.
All was going till now good I use like this in method X-Y for vector2 whenever needed but we have another option.
I could also make method for creating vector2 and then we could use them directly and in this way it would be more easier to change value of vectors as Raylib work on a main while loop which got executed for every frame.
I can implement both options but I wanted to know which is easier for users.
While I was making Raylib I thought about something.
In Raylib all 2d position are in vector2 and 3d in vector3.
All was going till now good I use like this in method X-Y for vector2 whenever needed but we have another option.
I could also make method for creating vector2 and then we could use them directly and in this way it would be more easier to change value of vectors as Raylib work on a main while loop which got executed for every frame.
I can implement both options but I wanted to know which is easier for users.
ZS