Parse OBJ file with mixed data-types using Boost.Spirit?
问题 I do have an OBJ file that looks like this: # This file uses centimeters as units for non-parametric coordinates. # first element v -0.017050 -0.017928 0.005579 v -0.014504 -0.017928 0.010577 . . v -0.000000 -0.017928 0.017967 vt 0.397581 0.004762 vt 0.397544 0.034263 . . vt 0.397507 0.063764 vn -0.951057 0.000000 0.309016 vn -0.809017 0.000000 0.587785 . . vn -0.587785 0.000000 0.809017 f 1/1/1 2/2/2 21/4/3 f 21/4/3 2/2/2 22/3/4 . . f 3/5/5 4/7/7 23/6/6 # second element v -0.014504 0.017928