! Read Vec2f from a string. */
| 74 | |
| 75 | /*! Read Vec2f from a string. */ |
| 76 | static inline Vec2f getVec2f(const char*& token) { |
| 77 | float x = getFloat(token); |
| 78 | float y = getFloat(token); |
| 79 | return Vec2f(x,y); |
| 80 | } |
| 81 | |
| 82 | /*! Read Vec3f from a string. */ |
| 83 | static inline Vec3f getVec3f(const char*& token) { |