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
8abfd2e10f
commit
783e8dbfc0
@ -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…
Reference in New Issue
Block a user