private OBJIndex parseOBJIndex(String token)
    {
        String[] values = token.split("/");

        OBJIndex result = new OBJIndex();
        result.vertexIndex = Integer.parseInt(values[0]) - 1;

        if(values.length > 1)
        {
            hasTexCoords = true;
            result.texCoordIndex = Integer.parseInt(values[1]) - 1;

            if(values.length > 2)
            {
                hasNormals = true;
                result.normalIndex = Integer.parseInt(values[2]) - 1;
            }
        }

        return result;
    }