mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 16:52:43 +08:00
fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user