fix compiler warnings
This commit is contained in:
@@ -178,7 +178,7 @@ updateVertex(
|
|||||||
return it->second;
|
return it->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(in_positions.size() > (3*i.v_idx+2));
|
assert(in_positions.size() > (unsigned int) (3*i.v_idx+2));
|
||||||
|
|
||||||
positions.push_back(in_positions[3*i.v_idx+0]);
|
positions.push_back(in_positions[3*i.v_idx+0]);
|
||||||
positions.push_back(in_positions[3*i.v_idx+1]);
|
positions.push_back(in_positions[3*i.v_idx+1]);
|
||||||
@@ -721,4 +721,4 @@ std::string LoadObj(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|||||||
@@ -97,6 +97,6 @@ std::string LoadObj(
|
|||||||
std::string LoadMtl (
|
std::string LoadMtl (
|
||||||
std::map<std::string, material_t>& material_map,
|
std::map<std::string, material_t>& material_map,
|
||||||
std::istream& inStream);
|
std::istream& inStream);
|
||||||
};
|
}
|
||||||
|
|
||||||
#endif // _TINY_OBJ_LOADER_H
|
#endif // _TINY_OBJ_LOADER_H
|
||||||
|
|||||||
Reference in New Issue
Block a user