Alexander Rose 1 tahun lalu
induk
melakukan
f543fd5683
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/mol-model-formats/structure/property/assembly.ts

+ 2 - 2
src/mol-model-formats/structure/property/assembly.ts

@@ -49,7 +49,7 @@ function createAssembly(pdbx_struct_assembly: StructAssembly, pdbx_struct_assemb
     return Assembly.create(id, details, operatorGroupsProvider(generators, matrices));
 }
 
-function operatorGroupsProvider(generators: Generator[], matrices: Matrices): () => OperatorGroups {
+export function operatorGroupsProvider(generators: Generator[], matrices: Matrices): () => OperatorGroups {
     return () => {
         const groups: OperatorGroup[] = [];
 
@@ -71,7 +71,7 @@ function operatorGroupsProvider(generators: Generator[], matrices: Matrices): ()
     };
 }
 
-function getMatrices(pdbx_struct_oper_list: StructOperList): Matrices {
+export function getMatrices(pdbx_struct_oper_list: StructOperList): Matrices {
     const { id, matrix, vector, _schema } = pdbx_struct_oper_list;
     const matrices = new Map<string, Mat4>();
     const t = Vec3();