From 05c5971d25df846603037b37f909284a0a70384f Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Wed, 12 Dec 2018 18:16:06 -0800 Subject: [PATCH] fixed renderable schema and test --- src/mol-gl/renderable/schema.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mol-gl/renderable/schema.ts b/src/mol-gl/renderable/schema.ts index 35a90f85d..b170f5b88 100644 --- a/src/mol-gl/renderable/schema.ts +++ b/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'), -- GitLab