DRW: Remove screen_vecs

These were only a normalized copy of the XY axes of the inverse viewmat.
But since the viewmatrix is always normalized we can use it directly.
This commit is contained in:
2022-10-07 00:16:25 +02:00
parent a945cf4d0f
commit 126d485b83
14 changed files with 13 additions and 35 deletions

View File

@@ -598,7 +598,6 @@ typedef struct DRWManager {
struct GPUFrameBuffer *default_framebuffer;
float size[2];
float inv_size[2];
float screenvecs[2][3];
float pixsize;
struct {