Skip to content
Snippets Groups Projects
Commit e5e245f4 authored by JonStargaryen's avatar JonStargaryen
Browse files

scale radius used for evaluation

parent c6073b89
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,7 @@ function initialize(structure: Structure, props: ANVILProps): ANVILContext { ...@@ -123,7 +123,7 @@ function initialize(structure: Structure, props: ANVILProps): ANVILContext {
Vec3.set(vec, x(l), y(l), z(l)); Vec3.set(vec, x(l), y(l), z(l));
centroidHelper.radiusStep(vec); centroidHelper.radiusStep(vec);
} }
const extent = Math.sqrt(centroidHelper.radiusSq); const extent = 1.2 * Math.sqrt(centroidHelper.radiusSq);
return { return {
...props, ...props,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment