Prechádzať zdrojové kódy

Merge pull request #6 from molstar/dev-yv-alignment-example

Fix visualization for alignment example
valasatava 2 rokov pred
rodič
commit
0b55de5187
2 zmenil súbory, kde vykonal 20 pridanie a 4 odobranie
  1. 4 0
      CHANGELOG.md
  2. 16 4
      src/viewer/index.html

+ 4 - 0
CHANGELOG.md

@@ -2,6 +2,10 @@
 
 [Semantic Versioning](https://semver.org/)
 
+## [version] - date
+### Bug fixes
+- Change transformation matrix for alignment example
+
 ## [2.5.11] - 2023-02-03
 ### Improvement
 - Return trajectory-provider object in loading methods

+ 16 - 4
src/viewer/index.html

@@ -865,10 +865,22 @@
                                     }]
                                 },
                                 matrix: [
-                                    -0.6263111483773867, -0.38259812283613237, -0.6792297268380318, 0.0,
-                                    0.3014888059527303, 0.6846150421427817, -0.6636314820418288, 0.0,
-                                    0.7189150473480135, -0.6204199549290021, -0.313432982027257, 0.0,
-                                    -30.829713890311414, 24.04442469172666, 55.437150645037654, 1.0
+                                    -0.7236020813550785,
+                                    -0.3321785910455749,
+                                    -0.6050267857785929,
+                                    0,
+                                    0.35577249097276376,
+                                    0.5716506226719034,
+                                    -0.7393520813968539,
+                                    0,
+                                    0.591460871508533,
+                                    -0.7502485916346675,
+                                    -0.2954675755892089,
+                                    0,
+                                    -12.537202230256351,
+                                    46.79163586574549,
+                                    94.5047139772708,
+                                    1
                                 ]
                             }
                         }]);