Alexander Rose 6 jaren geleden
bovenliggende
commit
5f8c5ce691
3 gewijzigde bestanden met toevoegingen van 4 en 2 verwijderingen
  1. 1 1
      src/mol-geo/geometry/lines/lines.ts
  2. 2 0
      src/mol-gl/renderable/schema.ts
  3. 1 1
      src/mol-repr/structure/units-visual.ts

+ 1 - 1
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,

+ 2 - 0
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'),

+ 1 - 1
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)
             }