MCPcopy Create free account
hub / github.com/demoth/jake2 / CM_ClusterPVS

Method CM_ClusterPVS

qcommon/src/main/java/jake2/qcommon/CM.java:1588–1595  ·  view source on GitHub ↗
(int cluster)

Source from the content-addressed store, hash-verified

1586 public byte[] phsrow = new byte[Defines.MAX_MAP_LEAFS / 8];
1587
1588 public byte[] CM_ClusterPVS(int cluster) {
1589 if (cluster == -1)
1590 Arrays.fill(pvsrow, 0, (numclusters + 7) >> 3, (byte) 0);
1591 else
1592 CM_DecompressVis(map_visibility,
1593 map_vis.bitofs[cluster][Defines.DVIS_PVS], pvsrow);
1594 return pvsrow;
1595 }
1596
1597 public byte[] CM_ClusterPHS(int cluster) {
1598 if (cluster == -1)

Callers 3

SV_FatPVSMethod · 0.95
PF_inPVSMethod · 0.80
SV_MulticastMethod · 0.80

Calls 1

CM_DecompressVisMethod · 0.95

Tested by

no test coverage detected