Browse Source

fixed renderable schema and test

Alexander Rose 6 years ago
parent
commit
05c5971d25
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/mol-gl/renderable/schema.ts

+ 3 - 1
src/mol-gl/renderable/schema.ts

@@ -19,6 +19,8 @@ export type ValueKindType = {
     'boolean': string
     'any': any
 
+    'float32': Float32Array
+
     'sphere': Sphere3D
 }
 export type ValueKind = keyof ValueKindType
@@ -198,7 +200,7 @@ export const BaseSchema = {
 
     drawCount: ValueSpec('number'),
     instanceCount: ValueSpec('number'),
-    transform: AttributeSpec('float32', 16, 1),
+    transform: ValueSpec('float32'),
     boundingSphere: ValueSpec('sphere'),
     invariantBoundingSphere: ValueSpec('sphere'),