This commit is contained in:
Leslie
2019-01-18 18:13:48 +08:00
parent 9793ef88b3
commit b1220d47d7
+1
View File
@@ -41,5 +41,6 @@ export function scale (geometry: IGeometry, value: { x?: number; y?: number; z?:
geometry.maxPos.x *= x;
geometry.maxPos.y *= y;
geometry.maxPos.z *= z;
geometry.boundingRadius = Math.max(Math.max(x, y), z);
return geometry;
}