Fix call to getRelativeCenterPosition

This commit is contained in:
Ryan Huffman 2014-12-04 10:47:09 -08:00
parent acd5495b2a
commit 1f82831bcc

View file

@ -1016,7 +1016,8 @@ SelectionDisplay = (function () {
z: dimensions.z * registrationPoint.z,
};
center = getRelativeCenterPosition(position, dimensions, registrationPoint);
// Center of entity, relative to registration point
center = getRelativeCenterPosition(dimensions, registrationPoint);
// Distances in world coordinates relative to the registration point
var left = -registrationPointDimensions.x;