MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / parseV

Function parseV

engine/3rdparty/tinyobjloader/tiny_obj_loader.h:1037–1046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1035}
1036
1037static inline void parseV(real_t *x, real_t *y, real_t *z, real_t *w,
1038 const char **token, const double default_x = 0.0,
1039 const double default_y = 0.0,
1040 const double default_z = 0.0,
1041 const double default_w = 1.0) {
1042 (*x) = parseReal(token, default_x);
1043 (*y) = parseReal(token, default_y);
1044 (*z) = parseReal(token, default_z);
1045 (*w) = parseReal(token, default_w);
1046}
1047
1048// Extension: parse vertex with colors(6 items)
1049static inline bool parseVertexWithColor(real_t *x, real_t *y, real_t *z,

Callers 1

LoadObjWithCallbackFunction · 0.85

Calls 1

parseRealFunction · 0.85

Tested by

no test coverage detected