Sfoglia il codice sorgente

Merge branch 'master' of https://github.com/molstar/molstar

David Sehnal 5 anni fa
parent
commit
02eda0a1e2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/mol-model/structure/model/model.ts

+ 1 - 1
src/mol-model/structure/model/model.ts

@@ -160,7 +160,7 @@ export namespace Model {
         );
     }
 
-    const tmpAngles90 = Vec3.create(1.5708, 1.5708, 1.5708); // in radians
+    const tmpAngles90 = Vec3.create(1.5707963, 1.5707963, 1.5707963); // in radians
     const tmpLengths1 = Vec3.create(1, 1, 1);
     export function hasCrystalSymmetry(model: Model) {
         const spacegroup = ModelSymmetry.Provider.get(model)?.spacegroup;