Replies: 2 comments 6 replies
-
That would make them no longer vectors but structs. See #7329 for a structs proposal |
Beta Was this translation helpful? Give feedback.
-
I think you mean right, up, backwards :P Sometimes I find myself wanting to alias the vectors. And I do mean alias them. Not new properties, not any change to the underlying type, nor custom vectors. Just syntactic sugar that let me call the vector type and its components something else in a particular script. The reason is that in lack of I have no idea how much trouble this would cause for the parser. And I'm not convinced alias as I imagine them should take any priority over existing proposals. |
Beta Was this translation helpful? Give feedback.
-
Vector types have x,y,z properties but that limits the readability of code when you want to hold things like:
Code jazz
I have found myself using Dictionaries or Classes instead because the properties are explicit and help me think. With Vectors it's all x,y,z even when those letters do not apply to the problem.
It would be even cooler if we could add properties to the Vectors, like:
Thought?
Beta Was this translation helpful? Give feedback.
All reactions