| 120 | } |
| 121 | |
| 122 | void deserialize_float2(FILE * file, char * name, float * v, bool use_float) |
| 123 | { |
| 124 | float f[4]; |
| 125 | fscanf(file, "#%s = %f %f; \n", name, &v[0], &v[1]); |
| 126 | |
| 127 | if (use_float) |
| 128 | { |
| 129 | deserialize_uint2(file, name, (uint *) f); |
| 130 | } |
| 131 | else |
| 132 | { |
| 133 | deserialize_uint2(file, name, (uint *) v); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | void deserialize_float3(FILE * file, char * name, float * v, bool use_float) |
| 138 | { |
nothing calls this directly
no test coverage detected