Warning fixes
This commit is contained in:
@@ -61,7 +61,7 @@ protected:
|
||||
}
|
||||
|
||||
bool contains(unsigned int v1) const {
|
||||
return subvertices.count(v1);
|
||||
return subvertices.count(v1)!=0;
|
||||
}
|
||||
|
||||
void addTriangle(unsigned int v1, unsigned int v2, unsigned v3) {
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace glesUtil {
|
||||
_geometry = target.getGeometry();
|
||||
_geometry->setPrimitiveSetList(morph.getPrimitiveSetList());
|
||||
|
||||
_hasTexCoord = _geometry->getTexCoordArrayList().size();
|
||||
_hasTexCoord = !_geometry->getTexCoordArrayList().empty();
|
||||
if(!_hasTexCoord) {
|
||||
_geometry->setTexCoordArrayList(morph.getTexCoordArrayList());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user