Fix typo in circle bounds

This commit is contained in:
James Lyne 2022-01-16 23:24:12 +00:00
parent f906264021
commit f9eb7b1fd2

View File

@ -441,12 +441,12 @@ export function buildCircle(id: string, circle: MarkerCircle): LiveAtlasCircleMa
max: { max: {
x: (circle.x || 0) + (circle.xr || 0), x: (circle.x || 0) + (circle.xr || 0),
y: circle.y || 0, y: circle.y || 0,
z: (circle.z || 0) + (circle.z || 0), z: (circle.z || 0) + (circle.zr || 0),
}, },
min: { min: {
x: (circle.x || 0) - (circle.xr || 0), x: (circle.x || 0) - (circle.xr || 0),
y: circle.y || 0, y: circle.y || 0,
z: (circle.z || 0) - (circle.z || 0), z: (circle.z || 0) - (circle.zr || 0),
} }
}, },
radius: [circle.xr || 0, circle.zr || 0], radius: [circle.xr || 0, circle.zr || 0],