| 398 | } |
| 399 | |
| 400 | Point3F BitStream::dumbDownNormal(const Point3F& vec, S32 bitCount) |
| 401 | { |
| 402 | U8 buffer[128]; |
| 403 | BitStream temp(buffer, 128); |
| 404 | |
| 405 | temp.writeNormalVector(vec, bitCount); |
| 406 | temp.setCurPos(0); |
| 407 | |
| 408 | Point3F ret; |
| 409 | temp.readNormalVector(&ret, bitCount); |
| 410 | return ret; |
| 411 | } |
| 412 | |
| 413 | void BitStream::writeVector( Point3F vec, F32 maxMag, S32 magBits, S32 normalBits ) |
| 414 | { |
nothing calls this directly
no test coverage detected