| 26 | } |
| 27 | |
| 28 | void SetNormal(float nx, float ny, float nz) |
| 29 | { |
| 30 | int inx = clamp(int(nx * 512), -512, 511); |
| 31 | int iny = clamp(int(ny * 512), -512, 511); |
| 32 | int inz = clamp(int(nz * 512), -512, 511); |
| 33 | int inw = 0; |
| 34 | packedNormal = (inw << 30) | ((inz & 1023) << 20) | ((iny & 1023) << 10) | (inx & 1023); |
| 35 | } |
| 36 | |
| 37 | void SetBoneSelector(int x, int y, int z, int w) |
| 38 | { |
no test coverage detected