4
Reply

Advisable or not: properties for structs

ssswamii

ssswamii

Jan 1 2004 7:50 PM
2.6k
I have a struct type, Vector, that contains 3 float variables which the user can get and set. My question is, would it be overkill to create a get/set property for each of the variables? Or would it be better performance-wise to make the 3 floats as public variables?

Answers (4)