Some Dolphin devs look at this thread and also happen to be the ones with GLSL experience, right?
Is there a built-in function/operator which converts homogeneous vec4 into a Cartesian vec3? I've got a really long vector name and need multiple things in the same line, so writing vecName.xyz / vecName.w makes things look ridiculous (with 270 character lines). I can work around the issue by splitting things into multiple lines, but doing things concisely should make the code much more readable.
Google seems to assume that any search with the word "homogeneous" included is someone who wants an explanation of what homogeneous coordinates are because they've never heard of them, so I get pages of irrelevant results based on that alone. (Has anyone else noticed that Google's spent the last couple of years getting increasingly shit at answering technical problems?)
Is there a built-in function/operator which converts homogeneous vec4 into a Cartesian vec3? I've got a really long vector name and need multiple things in the same line, so writing vecName.xyz / vecName.w makes things look ridiculous (with 270 character lines). I can work around the issue by splitting things into multiple lines, but doing things concisely should make the code much more readable.
Google seems to assume that any search with the word "homogeneous" included is someone who wants an explanation of what homogeneous coordinates are because they've never heard of them, so I get pages of irrelevant results based on that alone. (Has anyone else noticed that Google's spent the last couple of years getting increasingly shit at answering technical problems?)
OS: Windows 10 64 bit Professional
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
