| 53 | |
| 54 | template <int NumVectors, int VectorSize> |
| 55 | void deserializeFloatVectors(std::istream &stream, embree::vfloat<VectorSize> *vectors) |
| 56 | { |
| 57 | for (int i = 0; i < NumVectors; i++) |
| 58 | { |
| 59 | for (int j = 0; j < VectorSize; j++) |
| 60 | { |
| 61 | stream.read(reinterpret_cast<char *>(&vectors[i][j]), sizeof(float)); |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | template <int NumVectors, int VectorSize> |
| 67 | void serializeVec2Vectors(std::ostream &stream, const embree::Vec2<embree::vfloat<VectorSize> > *vectors) |
nothing calls this directly
no outgoing calls
no test coverage detected