Comment Comment by unsafecast That applies to GLSL in general. I tried once to emulate that using C unions, but quickly realized that there's no solution for v.xz, v.xw, v.yw, etc.You can write functions like xyz(v) and that works well enough. Even better if you have ufcs or methods. parent unsafecast 3 years ago
You can write functions like xyz(v) and that works well enough. Even better if you have ufcs or methods.