mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
small fixes
Former-commit-id: 0ac2c4e058340d99709843b52fed4a06498ab500
This commit is contained in:
parent
dd607ba9a4
commit
265e8f243c
@ -24,9 +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