From 5f8c5ce691a9015812be7c0e0ea3e6214747263b Mon Sep 17 00:00:00 2001 From: Alexander Rose <alex.rose@rcsb.org> Date: Fri, 11 Jan 2019 16:30:31 -0800 Subject: [PATCH] cleanup --- src/mol-geo/geometry/lines/lines.ts | 2 +- src/mol-gl/renderable/schema.ts | 2 ++ src/mol-repr/structure/units-visual.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mol-geo/geometry/lines/lines.ts b/src/mol-geo/geometry/lines/lines.ts index d9d377cef..3648e8490 100644 --- a/src/mol-geo/geometry/lines/lines.ts +++ b/src/mol-geo/geometry/lines/lines.ts @@ -108,7 +108,7 @@ export namespace Lines { const { boundingSphere, invariantBoundingSphere } = getBoundingSphere(lines.startBuffer.ref.value, lines.endBuffer.ref.value, lines.lineCount, transform.aTransform.ref.value, transform.instanceCount.ref.value) - + return { aMapping: lines.mappingBuffer, aGroup: lines.groupBuffer, diff --git a/src/mol-gl/renderable/schema.ts b/src/mol-gl/renderable/schema.ts index b170f5b88..195aad5a6 100644 --- a/src/mol-gl/renderable/schema.ts +++ b/src/mol-gl/renderable/schema.ts @@ -165,6 +165,7 @@ export type InternalSchema = typeof InternalSchema export type InternalValues = { [k in keyof InternalSchema]: ValueCell<any> } export const ColorSchema = { + // aColor: AttributeSpec('float32', 3, 0), // TODO uColor: UniformSpec('v3'), uColorTexDim: UniformSpec('v2'), tColor: TextureSpec('image-uint8', 'rgb', 'ubyte', 'nearest'), @@ -174,6 +175,7 @@ export type ColorSchema = typeof ColorSchema export type ColorValues = Values<ColorSchema> export const SizeSchema = { + // aSize: AttributeSpec('float32', 1, 0), // TODO uSize: UniformSpec('f'), uSizeTexDim: UniformSpec('v2'), tSize: TextureSpec('image-uint8', 'alpha', 'ubyte', 'nearest'), diff --git a/src/mol-repr/structure/units-visual.ts b/src/mol-repr/structure/units-visual.ts index 715008417..01e10cc28 100644 --- a/src/mol-repr/structure/units-visual.ts +++ b/src/mol-repr/structure/units-visual.ts @@ -170,7 +170,7 @@ export function UnitsVisual<P extends UnitsParams>(builder: UnitsVisualGeometryB } if (updateState.updateTransform || updateState.createGeometry) { - console.log('UnitsVisual.updateBoundingSphere') + // console.log('UnitsVisual.updateBoundingSphere') updateBoundingSphere(renderObject.values, newGeometry || geometry) } -- GitLab