mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 11:00:33 +00:00
engine: ref: remove direction vectors from Ref API, renderers calculate them from viewangles to local data anyway
This commit is contained in:
parent
f7d4e5a2ea
commit
d7af50ea6c
@ -55,7 +55,6 @@ void GL_RenderFrame( const ref_viewpass_t *rvp )
|
||||
|
||||
VectorCopy( rvp->vieworigin, refState.vieworg );
|
||||
VectorCopy( rvp->viewangles, refState.viewangles );
|
||||
AngleVectors( refState.viewangles, refState.vforward, refState.vright, refState.vup );
|
||||
|
||||
ref.dllFuncs.GL_RenderFrame( rvp );
|
||||
}
|
||||
|
@ -102,7 +102,6 @@ typedef struct ref_globals_s
|
||||
|
||||
vec3_t vieworg;
|
||||
vec3_t viewangles;
|
||||
vec3_t vforward, vright, vup;
|
||||
|
||||
// todo: fill this without engine help
|
||||
// move to local
|
||||
|
Loading…
x
Reference in New Issue
Block a user