[core] Replace auto with actual types

This commit is contained in:
John Firebaugh
2016-05-11 13:08:05 -07:00
parent e79858558d
commit 00a86ba03f

View File

@@ -86,8 +86,8 @@ float CollisionTile::placeFeature(const CollisionFeature& feature, const bool al
if (!allowOverlap) {
for (auto it = tree.qbegin(bgi::intersects(getTreeBox(anchor, box))); it != tree.qend(); ++it) {
const auto& blocking = std::get<1>(*it);
auto blockingAnchor = util::matrixMultiply(rotationMatrix, blocking.anchor);
const CollisionBox& blocking = std::get<1>(*it);
Point<float> blockingAnchor = util::matrixMultiply(rotationMatrix, blocking.anchor);
minPlacementScale = findPlacementScale(minPlacementScale, anchor, box, blockingAnchor, blocking);
if (minPlacementScale >= maxScale) return minPlacementScale;