MCPcopy Create free account
hub / github.com/RenderKit/embree / getVec2f

Function getVec2f

tutorials/common/scenegraph/obj_loader.cpp:76–80  ·  view source on GitHub ↗

! Read Vec2f from a string. */

Source from the content-addressed store, hash-verified

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) {

Callers 1

OBJLoaderMethod · 0.85

Calls 1

getFloatFunction · 0.85

Tested by

no test coverage detected