Returns a tag that describes the content of the point.
(float[] p, int headnode)
| 1010 | |
| 1011 | /** Returns a tag that describes the content of the point. */ |
| 1012 | public int PointContents(float[] p, int headnode) { |
| 1013 | int l; |
| 1014 | |
| 1015 | if (numnodes == 0) // map not loaded |
| 1016 | return 0; |
| 1017 | |
| 1018 | l = CM_PointLeafnum_r(p, headnode); |
| 1019 | |
| 1020 | return map_leafs[l].contents; |
| 1021 | } |
| 1022 | |
| 1023 | /* |
| 1024 | * ================== CM_TransformedPointContents |
no test coverage detected