Skip to content
Snippets Groups Projects
Commit 237cd288 authored by Alexander Rose's avatar Alexander Rose
Browse files

removed unused code

parent f15f2074
No related branches found
No related tags found
No related merge requests found
......@@ -59,11 +59,8 @@ export function createElementSphereImpostor(ctx: VisualContext, unit: Unit, stru
const v = Vec3.zero()
const pos = unit.conformation.invariantPosition
const l = StructureElement.create()
l.unit = unit
for (let i = 0; i < elementCount; i++) {
l.element = elements[i]
pos(elements[i], v)
builder.add(v[0], v[1], v[2], i)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment