Fix comparison warning

This commit is contained in:
luiscuenca 2019-04-08 11:24:59 -07:00
parent d9eaa2076d
commit 0d92ec1f5b
No known key found for this signature in database
GPG key ID: 2387ECD129A6961D

View file

@ -166,7 +166,7 @@ void HFMModel::computeKdops() {
glm::vec3(INV_SQRT_3, INV_SQRT_3, -INV_SQRT_3), glm::vec3(INV_SQRT_3, INV_SQRT_3, -INV_SQRT_3),
glm::vec3(INV_SQRT_3, -INV_SQRT_3, -INV_SQRT_3) glm::vec3(INV_SQRT_3, -INV_SQRT_3, -INV_SQRT_3)
}; };
if (joints.size() != shapeVertices.size()) { if (joints.size() != (int)shapeVertices.size()) {
return; return;
} }
// now that all joints have been scanned compute a k-Dop bounding volume of mesh // now that all joints have been scanned compute a k-Dop bounding volume of mesh