Przeglądaj źródła

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

David Sehnal 5 lat temu
rodzic
commit
02eda0a1e2
1 zmienionych plików z 1 dodań i 1 usunięć
  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;