()
| 254 | } |
| 255 | |
| 256 | public float[] readDir() { |
| 257 | float[] dir = new float[3]; |
| 258 | int b = readByte(); |
| 259 | if (b >= Defines.NUMVERTEXNORMALS) |
| 260 | Com.Error(Defines.ERR_DROP, "MSF_ReadDir: out of range"); |
| 261 | Math3D.VectorCopy(Globals.bytedirs[b], dir); |
| 262 | return dir; |
| 263 | } |
| 264 | |
| 265 | /** |
| 266 | * Read 'len' bytes into 'data' |
no test coverage detected