| 428 | } |
| 429 | |
| 430 | Point3F BitStream::dumbDownNormal(const Point3F& vec, S32 bitCount) |
| 431 | { |
| 432 | U8 buffer[128]; |
| 433 | BitStream temp(buffer, 128); |
| 434 | |
| 435 | temp.writeNormalVector(vec, bitCount); |
| 436 | temp.setCurPos(0); |
| 437 | |
| 438 | Point3F ret; |
| 439 | temp.readNormalVector(&ret, bitCount); |
| 440 | return ret; |
| 441 | } |
| 442 | |
| 443 | void BitStream::writeVector( Point3F vec, F32 maxMag, S32 magBits, S32 normalBits ) |
| 444 | { |
nothing calls this directly
no test coverage detected