Unvanquished icon indicating copy to clipboard operation
Unvanquished copied to clipboard

cg_players: implement `trap_R_BatchInPVS` to test if a bunch of entities are in PVS in one call

Open illwieckz opened this issue 2 years ago • 1 comments

Use trap_R_inPVSArray to test array of entities in PVS in one call.

Game sidecar of:

  • https://github.com/DaemonEngine/Daemon/pull/852

illwieckz avatar May 06 '23 10:05 illwieckz

I added a commit removing an useless vec3 copy and an useless function call:

Sometime I find things that are very meh:

20240510-112028-000 unvanquished-orbit

20240510-112030-000 unvanquished-orbit

Edit: On screenshot is an optimized build but without LTO, I guess LTO could optimize that, but really, that made no sense.

illwieckz avatar May 10 '24 09:05 illwieckz

Las change just modified some comment/spacing and moved a comment to a separate commit (no functional change).

illwieckz avatar Jun 01 '24 13:06 illwieckz

LGTM

slipher avatar Jun 01 '24 17:06 slipher