================= CM_SignbitsForNormal ================= */
| 131 | ================= |
| 132 | */ |
| 133 | static int CM_SignbitsForNormal( vec3_t normal ) { |
| 134 | int bits, j; |
| 135 | |
| 136 | bits = 0; |
| 137 | for (j=0 ; j<3 ; j++) { |
| 138 | if ( normal[j] < 0 ) { |
| 139 | bits |= 1<<j; |
| 140 | } |
| 141 | } |
| 142 | return bits; |
| 143 | } |
| 144 | |
| 145 | /* |
| 146 | ===================== |
no outgoing calls
no test coverage detected