spearmint icon indicating copy to clipboard operation
spearmint copied to clipboard

Split up refEntity_t?

Open zturtleman opened this issue 11 years ago • 0 comments

Most of refEntity_t is only used by models. Currently sprite radius/rotation is in it, but only used in cgame.

Maybe let cgame have it's own generic refresh entity and have Renderer API can be more specific, though initially it will just be converted into a refent in renderer.

There is quite a bit of duplicated vars needed for shader system (for both model and poly refents), making storing the data in renderer a bit more complicated?

model entity struct and syscall
poly entity struct and syscall

syscall for adding portal sufaces (doesn't need to be a refent, API-wise or usage in cgame)

zturtleman avatar Mar 02 '14 03:03 zturtleman