char[][] words = split(line, " "); Vec3f vertex; for(int i; i < 3; i++) vertex[i] = std.conv.toFloat(words[i+1]); return vertex;