| 54 | } |
| 55 | |
| 56 | void OBJVert::read2(const char* t) { |
| 57 | sscanf(t, "%f %f", &x, &y); |
| 58 | } |
| 59 | |
| 60 | void OBJFace::draw(const std::vector<OBJVert> &vertList, const std::vector<OBJVert> &normList, const std::vector<OBJVert> &uvList) { |
| 61 | if (verts.size() == 3) { |