mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Reverted parenthesis removal
This commit is contained in:
parent
5aed7db800
commit
744f69e271
@ -24,7 +24,7 @@ void main() {
|
||||
|
||||
if (w_pos.w == 1.0) {
|
||||
// In-game element
|
||||
gl_Position = proj_mat * view_mat * w_pos + vec4(v_pos, 0.0, 0.0);
|
||||
gl_Position = proj_mat * (view_mat * w_pos + vec4(v_pos, 0.0, 0.0));
|
||||
} else {
|
||||
// Interface element
|
||||
gl_Position = vec4(v_pos, 0.0, 1.0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user