| 135 | } |
| 136 | |
| 137 | void deserialize_float3(FILE * file, char * name, float * v, bool use_float) |
| 138 | { |
| 139 | float f[4]; |
| 140 | fscanf(file, "#%s = %f %f %f; \n", name, &v[0], &v[1], &v[2]); |
| 141 | |
| 142 | if (use_float) |
| 143 | { |
| 144 | deserialize_uint3(file, name, (uint *) f); |
| 145 | } |
| 146 | else |
| 147 | { |
| 148 | deserialize_uint3(file, name, (uint *) v); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | void deserialize_float4(FILE * file, char * name, float * v, bool use_float) |
| 153 | { |
nothing calls this directly
no test coverage detected