| 115 | } |
| 116 | |
| 117 | qboolean G_SpawnVector( const char *key, const char *defaultString, float *out ) { |
| 118 | char *s; |
| 119 | qboolean present; |
| 120 | |
| 121 | present = G_SpawnString( key, defaultString, &s ); |
| 122 | sscanf( s, "%f %f %f", &out[0], &out[1], &out[2] ); |
| 123 | return present; |
| 124 | } |
| 125 | |
| 126 | qboolean G_SpawnVector4( const char *key, const char *defaultString, float *out ) { |
| 127 | char *s; |
no test coverage detected