molstar 2.3.9 → 3.0.0-dev.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3701) hide show
  1. package/README.md +18 -0
  2. package/build/viewer/embedded.html +5 -5
  3. package/build/viewer/index.html +29 -17
  4. package/build/viewer/molstar.css +1 -1
  5. package/build/viewer/molstar.js +1 -1
  6. package/lib/apps/docking-viewer/index.d.ts +2 -1
  7. package/lib/apps/docking-viewer/index.html +8 -8
  8. package/lib/apps/docking-viewer/index.js +87 -74
  9. package/lib/apps/docking-viewer/viewport.d.ts +2 -2
  10. package/lib/apps/docking-viewer/viewport.js +18 -15
  11. package/lib/apps/viewer/app.d.ts +230 -0
  12. package/lib/apps/viewer/app.js +515 -0
  13. package/lib/apps/viewer/embedded.html +5 -5
  14. package/lib/apps/viewer/index.d.ts +2 -403
  15. package/lib/apps/viewer/index.html +29 -17
  16. package/lib/apps/viewer/index.js +2 -420
  17. package/lib/cli/chem-comp-dict/util.d.ts +4 -4
  18. package/lib/cli/cifschema/index.d.ts +1 -1
  19. package/lib/cli/cifschema/index.js +15 -35
  20. package/lib/cli/cifschema/util/cif-dic.js +1 -0
  21. package/lib/commonjs/apps/docking-viewer/index.d.ts +2 -1
  22. package/lib/commonjs/apps/docking-viewer/index.js +86 -73
  23. package/lib/commonjs/apps/docking-viewer/viewport.d.ts +2 -2
  24. package/lib/commonjs/apps/docking-viewer/viewport.js +18 -15
  25. package/lib/commonjs/apps/viewer/app.d.ts +230 -0
  26. package/lib/commonjs/apps/viewer/app.js +521 -0
  27. package/lib/commonjs/apps/viewer/index.d.ts +2 -403
  28. package/lib/commonjs/apps/viewer/index.js +2 -423
  29. package/lib/commonjs/cli/chem-comp-dict/util.d.ts +4 -4
  30. package/lib/commonjs/cli/cifschema/index.d.ts +1 -1
  31. package/lib/commonjs/cli/cifschema/index.js +15 -35
  32. package/lib/commonjs/cli/cifschema/util/cif-dic.js +1 -0
  33. package/lib/commonjs/examples/alpha-orbitals/index.js +3 -4
  34. package/lib/commonjs/examples/basic-wrapper/index.js +30 -14
  35. package/lib/commonjs/examples/lighting/index.d.ts +1 -1
  36. package/lib/commonjs/examples/lighting/index.js +58 -41
  37. package/lib/commonjs/examples/proteopedia-wrapper/index.js +33 -15
  38. package/lib/commonjs/extensions/alpha-orbitals/transforms.d.ts +0 -1
  39. package/lib/commonjs/extensions/alpha-orbitals/transforms.js +1 -14
  40. package/lib/commonjs/extensions/anvil/behavior.d.ts +13 -2
  41. package/lib/commonjs/extensions/anvil/representation.d.ts +88 -5
  42. package/lib/commonjs/extensions/anvil/representation.js +1 -1
  43. package/lib/commonjs/extensions/cellpack/model.d.ts +1 -1
  44. package/lib/commonjs/extensions/cellpack/representation.d.ts +19 -2
  45. package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -1
  46. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +57 -6
  47. package/lib/commonjs/extensions/geo-export/controls.js +16 -18
  48. package/lib/commonjs/extensions/geo-export/glb-exporter.d.ts +5 -3
  49. package/lib/commonjs/extensions/geo-export/glb-exporter.js +49 -27
  50. package/lib/commonjs/extensions/geo-export/mesh-exporter.d.ts +31 -2
  51. package/lib/commonjs/extensions/geo-export/mesh-exporter.js +91 -19
  52. package/lib/commonjs/extensions/geo-export/obj-exporter.d.ts +1 -0
  53. package/lib/commonjs/extensions/geo-export/obj-exporter.js +24 -15
  54. package/lib/commonjs/extensions/geo-export/ui.js +24 -20
  55. package/lib/commonjs/extensions/geo-export/usdz-exporter.d.ts +3 -5
  56. package/lib/commonjs/extensions/geo-export/usdz-exporter.js +39 -30
  57. package/lib/commonjs/extensions/model-archive/quality-assessment/behavior.d.ts +68 -0
  58. package/lib/commonjs/extensions/model-archive/quality-assessment/behavior.js +236 -0
  59. package/lib/commonjs/extensions/model-archive/quality-assessment/color/plddt.d.ts +14 -0
  60. package/lib/commonjs/extensions/model-archive/quality-assessment/color/plddt.js +125 -0
  61. package/lib/commonjs/extensions/model-archive/quality-assessment/color/qmean.d.ts +12 -0
  62. package/lib/commonjs/extensions/model-archive/quality-assessment/color/qmean.js +111 -0
  63. package/lib/commonjs/extensions/model-archive/quality-assessment/prop.d.ts +28 -0
  64. package/lib/commonjs/extensions/model-archive/quality-assessment/prop.js +130 -0
  65. package/lib/commonjs/extensions/mp4-export/controls.d.ts +1 -0
  66. package/lib/commonjs/extensions/mp4-export/controls.js +10 -8
  67. package/lib/commonjs/extensions/mp4-export/encoder.js +1 -1
  68. package/lib/commonjs/extensions/mp4-export/ui.js +7 -6
  69. package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js +1 -1
  70. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +17 -6
  71. package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.d.ts +12 -12
  72. package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js +1 -1
  73. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +18 -1
  74. package/lib/commonjs/extensions/rcsb/graphql/types.d.ts +24 -23
  75. package/lib/commonjs/extensions/rcsb/validation-report/behavior.d.ts +3 -3
  76. package/lib/commonjs/extensions/rcsb/validation-report/prop.js +1 -1
  77. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +95 -10
  78. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +39 -27
  79. package/lib/commonjs/mol-canvas3d/canvas3d.js +37 -25
  80. package/lib/commonjs/mol-canvas3d/controls/trackball.d.ts +9 -4
  81. package/lib/commonjs/mol-canvas3d/controls/trackball.js +50 -11
  82. package/lib/commonjs/mol-canvas3d/helper/bounding-sphere-helper.js +3 -2
  83. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +14 -3
  84. package/lib/commonjs/mol-canvas3d/helper/camera-helper.js +2 -2
  85. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +12 -1
  86. package/lib/commonjs/mol-canvas3d/helper/handle-helper.js +2 -2
  87. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +8 -0
  88. package/lib/commonjs/mol-canvas3d/passes/draw.d.ts +13 -1
  89. package/lib/commonjs/mol-canvas3d/passes/draw.js +19 -26
  90. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +7 -2
  91. package/lib/commonjs/mol-canvas3d/passes/image.js +3 -2
  92. package/lib/commonjs/mol-canvas3d/passes/marking.js +1 -1
  93. package/lib/commonjs/mol-canvas3d/passes/multi-sample.d.ts +10 -2
  94. package/lib/commonjs/mol-canvas3d/passes/multi-sample.js +18 -14
  95. package/lib/commonjs/mol-canvas3d/passes/pick.js +12 -12
  96. package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  97. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +6 -4
  98. package/lib/commonjs/mol-canvas3d/passes/smaa.js +1 -1
  99. package/lib/commonjs/mol-data/int/impl/sorted-array.d.ts +1 -1
  100. package/lib/commonjs/mol-geo/geometry/base.d.ts +46 -6
  101. package/lib/commonjs/mol-geo/geometry/base.js +69 -7
  102. package/lib/commonjs/mol-geo/geometry/clipping-data.d.ts +1 -3
  103. package/lib/commonjs/mol-geo/geometry/clipping-data.js +3 -8
  104. package/lib/commonjs/mol-geo/geometry/color-data.d.ts +1 -1
  105. package/lib/commonjs/mol-geo/geometry/color-data.js +22 -0
  106. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +18 -1
  107. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +7 -3
  108. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +21 -39
  109. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js +24 -68
  110. package/lib/commonjs/mol-geo/geometry/direct-volume/transfer-function.d.ts +2 -4
  111. package/lib/commonjs/mol-geo/geometry/direct-volume/transfer-function.js +4 -7
  112. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +16 -1
  113. package/lib/commonjs/mol-geo/geometry/image/image.js +3 -1
  114. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +17 -1
  115. package/lib/commonjs/mol-geo/geometry/lines/lines.js +3 -1
  116. package/lib/commonjs/mol-geo/geometry/marker-data.d.ts +0 -1
  117. package/lib/commonjs/mol-geo/geometry/marker-data.js +13 -9
  118. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js +18 -8
  119. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.d.ts +10 -2
  120. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +188 -35
  121. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +18 -1
  122. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +7 -3
  123. package/lib/commonjs/mol-geo/geometry/overpaint-data.d.ts +7 -2
  124. package/lib/commonjs/mol-geo/geometry/overpaint-data.js +10 -1
  125. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +18 -3
  126. package/lib/commonjs/mol-geo/geometry/points/points.js +3 -1
  127. package/lib/commonjs/mol-geo/geometry/size-data.js +5 -5
  128. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +18 -2
  129. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +7 -3
  130. package/lib/commonjs/mol-geo/geometry/substance-data.d.ts +23 -0
  131. package/lib/commonjs/mol-geo/geometry/substance-data.js +68 -0
  132. package/lib/commonjs/mol-geo/geometry/text/text.d.ts +16 -1
  133. package/lib/commonjs/mol-geo/geometry/text/text.js +3 -1
  134. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +8 -3
  135. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +194 -27
  136. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +21 -2
  137. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +8 -3
  138. package/lib/commonjs/mol-geo/geometry/transparency-data.d.ts +7 -2
  139. package/lib/commonjs/mol-geo/geometry/transparency-data.js +10 -1
  140. package/lib/commonjs/mol-gl/compute/histogram-pyramid/sum.js +2 -2
  141. package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.d.ts +2 -2
  142. package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.js +13 -12
  143. package/lib/commonjs/mol-gl/compute/util.d.ts +25 -6
  144. package/lib/commonjs/mol-gl/compute/util.js +76 -21
  145. package/lib/commonjs/mol-gl/render-object.d.ts +2 -1
  146. package/lib/commonjs/mol-gl/render-object.js +10 -10
  147. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +51 -24
  148. package/lib/commonjs/mol-gl/renderable/cylinders.js +4 -4
  149. package/lib/commonjs/mol-gl/renderable/direct-volume.d.ts +34 -14
  150. package/lib/commonjs/mol-gl/renderable/direct-volume.js +3 -3
  151. package/lib/commonjs/mol-gl/renderable/image.d.ts +29 -4
  152. package/lib/commonjs/mol-gl/renderable/image.js +2 -2
  153. package/lib/commonjs/mol-gl/renderable/lines.d.ts +48 -23
  154. package/lib/commonjs/mol-gl/renderable/lines.js +3 -3
  155. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +48 -21
  156. package/lib/commonjs/mol-gl/renderable/mesh.js +4 -4
  157. package/lib/commonjs/mol-gl/renderable/points.d.ts +29 -4
  158. package/lib/commonjs/mol-gl/renderable/points.js +3 -4
  159. package/lib/commonjs/mol-gl/renderable/schema.d.ts +51 -16
  160. package/lib/commonjs/mol-gl/renderable/schema.js +26 -20
  161. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +51 -24
  162. package/lib/commonjs/mol-gl/renderable/spheres.js +4 -4
  163. package/lib/commonjs/mol-gl/renderable/text.d.ts +29 -4
  164. package/lib/commonjs/mol-gl/renderable/text.js +2 -2
  165. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +46 -19
  166. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +3 -3
  167. package/lib/commonjs/mol-gl/renderable.d.ts +0 -1
  168. package/lib/commonjs/mol-gl/renderer.d.ts +20 -26
  169. package/lib/commonjs/mol-gl/renderer.js +76 -150
  170. package/lib/commonjs/mol-gl/scene.d.ts +2 -2
  171. package/lib/commonjs/mol-gl/scene.js +7 -5
  172. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +3 -3
  173. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +3 -3
  174. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  175. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  176. package/lib/commonjs/mol-gl/shader/chunks/assign-group.glsl.d.ts +1 -1
  177. package/lib/commonjs/mol-gl/shader/chunks/assign-group.glsl.js +1 -1
  178. package/lib/commonjs/mol-gl/shader/chunks/assign-marker-varying.glsl.d.ts +1 -1
  179. package/lib/commonjs/mol-gl/shader/chunks/assign-marker-varying.glsl.js +1 -1
  180. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  181. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  182. package/lib/commonjs/mol-gl/shader/chunks/assign-position.glsl.d.ts +1 -1
  183. package/lib/commonjs/mol-gl/shader/chunks/assign-position.glsl.js +1 -1
  184. package/lib/commonjs/mol-gl/shader/chunks/assign-size.glsl.d.ts +1 -1
  185. package/lib/commonjs/mol-gl/shader/chunks/assign-size.glsl.js +1 -1
  186. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  187. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  188. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  189. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  190. package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.d.ts +1 -1
  191. package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.js +1 -1
  192. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  193. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  194. package/lib/commonjs/mol-gl/shader/chunks/common-vert-params.glsl.d.ts +1 -1
  195. package/lib/commonjs/mol-gl/shader/chunks/common-vert-params.glsl.js +1 -1
  196. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  197. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js +1 -1
  198. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +3 -3
  199. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.js +3 -3
  200. package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.d.ts +1 -1
  201. package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.js +1 -1
  202. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.frag.d.ts +1 -1
  203. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.frag.js +1 -1
  204. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.vert.d.ts +1 -1
  205. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.vert.js +1 -1
  206. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/normalize.frag.d.ts +1 -1
  207. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/normalize.frag.js +1 -1
  208. package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +1 -1
  209. package/lib/commonjs/mol-gl/shader/cylinders.frag.js +1 -1
  210. package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  211. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
  212. package/lib/commonjs/mol-gl/shader/gaussian-density.frag.d.ts +1 -1
  213. package/lib/commonjs/mol-gl/shader/gaussian-density.frag.js +1 -1
  214. package/lib/commonjs/mol-gl/shader/histogram-pyramid/reduction.frag.d.ts +1 -1
  215. package/lib/commonjs/mol-gl/shader/histogram-pyramid/reduction.frag.js +1 -1
  216. package/lib/commonjs/mol-gl/shader/image.frag.d.ts +1 -1
  217. package/lib/commonjs/mol-gl/shader/image.frag.js +1 -1
  218. package/lib/commonjs/mol-gl/shader/marching-cubes/isosurface.frag.d.ts +1 -1
  219. package/lib/commonjs/mol-gl/shader/marching-cubes/isosurface.frag.js +1 -1
  220. package/lib/commonjs/mol-gl/shader/mesh.frag.d.ts +1 -1
  221. package/lib/commonjs/mol-gl/shader/mesh.frag.js +1 -1
  222. package/lib/commonjs/mol-gl/shader/mesh.vert.d.ts +1 -1
  223. package/lib/commonjs/mol-gl/shader/mesh.vert.js +1 -1
  224. package/lib/commonjs/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  225. package/lib/commonjs/mol-gl/shader/postprocessing.frag.js +1 -1
  226. package/lib/commonjs/mol-gl/shader/spheres.frag.d.ts +1 -1
  227. package/lib/commonjs/mol-gl/shader/spheres.frag.js +1 -1
  228. package/lib/commonjs/mol-gl/shader-code.d.ts +3 -2
  229. package/lib/commonjs/mol-gl/shader-code.js +70 -23
  230. package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
  231. package/lib/commonjs/mol-gl/webgl/extensions.js +3 -9
  232. package/lib/commonjs/mol-gl/webgl/render-item.d.ts +7 -6
  233. package/lib/commonjs/mol-gl/webgl/render-item.js +10 -8
  234. package/lib/commonjs/mol-gl/webgl/resources.js +9 -2
  235. package/lib/commonjs/mol-gl/webgl/vertex-array.d.ts +3 -2
  236. package/lib/commonjs/mol-gl/webgl/vertex-array.js +9 -2
  237. package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +2 -2
  238. package/lib/commonjs/mol-io/reader/cif/schema/bird.js +1 -1
  239. package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +3 -3
  240. package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +1 -1
  241. package/lib/commonjs/mol-io/reader/cif/schema/cif-core.d.ts +8 -5
  242. package/lib/commonjs/mol-io/reader/cif/schema/cif-core.js +15 -5
  243. package/lib/commonjs/mol-io/reader/cif/schema/density-server.d.ts +3 -3
  244. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +3 -3
  245. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +341 -16
  246. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +326 -1
  247. package/lib/commonjs/mol-io/reader/mol/parser.d.ts +23 -1
  248. package/lib/commonjs/mol-io/reader/mol/parser.js +116 -4
  249. package/lib/commonjs/mol-io/reader/mol2/parser.d.ts +1 -1
  250. package/lib/commonjs/mol-io/reader/mol2/parser.js +33 -3
  251. package/lib/commonjs/mol-io/reader/mol2/schema.d.ts +12 -1
  252. package/lib/commonjs/mol-io/reader/mol2/schema.js +1 -1
  253. package/lib/commonjs/mol-io/reader/ply/schema.d.ts +1 -1
  254. package/lib/commonjs/mol-io/reader/sdf/parser-v3-util.d.ts +15 -0
  255. package/lib/commonjs/mol-io/reader/sdf/parser-v3-util.js +100 -0
  256. package/lib/commonjs/mol-io/reader/sdf/parser.d.ts +4 -2
  257. package/lib/commonjs/mol-io/reader/sdf/parser.js +23 -6
  258. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +2 -2
  259. package/lib/commonjs/mol-math/geometry/symmetry-operator.js +3 -2
  260. package/lib/commonjs/mol-math/linear-algebra/3d/quat.d.ts +9 -1
  261. package/lib/commonjs/mol-math/linear-algebra/3d/quat.js +20 -1
  262. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.d.ts +6 -0
  263. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js +9 -0
  264. package/lib/commonjs/mol-model/loci.d.ts +30 -30
  265. package/lib/commonjs/mol-model/shape/shape.d.ts +1 -1
  266. package/lib/commonjs/mol-model/structure/model/model.d.ts +1 -0
  267. package/lib/commonjs/mol-model/structure/model/model.js +15 -5
  268. package/lib/commonjs/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -1
  269. package/lib/commonjs/mol-model/structure/model/properties/atomic/hierarchy.js +1 -1
  270. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-derived.d.ts +1 -1
  271. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-derived.js +4 -1
  272. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.d.ts +1 -1
  273. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js +12 -1
  274. package/lib/commonjs/mol-model/structure/model/types.js +9 -0
  275. package/lib/commonjs/mol-model/structure/query/utils/structure-distance.d.ts +54 -5
  276. package/lib/commonjs/mol-model/structure/structure/element/stats.js +8 -0
  277. package/lib/commonjs/mol-model/structure/structure/properties.d.ts +2 -2
  278. package/lib/commonjs/mol-model/structure/structure/properties.js +5 -5
  279. package/lib/commonjs/mol-model/structure/structure/symmetry.js +1 -3
  280. package/lib/commonjs/mol-model/structure/structure/unit/bonds/common.d.ts +2 -1
  281. package/lib/commonjs/mol-model/structure/structure/unit/bonds/common.js +11 -2
  282. package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.d.ts +1 -1
  283. package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +20 -10
  284. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.d.ts +1 -1
  285. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +21 -11
  286. package/lib/commonjs/mol-model/structure/structure/unit/rings.js +2 -0
  287. package/lib/commonjs/mol-model/structure/structure/unit.d.ts +2 -2
  288. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +40 -6
  289. package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +6 -6
  290. package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +8 -8
  291. package/lib/commonjs/mol-model-formats/structure/mol.d.ts +2 -1
  292. package/lib/commonjs/mol-model-formats/structure/mol.js +19 -5
  293. package/lib/commonjs/mol-model-formats/structure/mol2.d.ts +1 -1
  294. package/lib/commonjs/mol-model-formats/structure/mol2.js +37 -7
  295. package/lib/commonjs/mol-model-formats/structure/property/bonds/index-pair.d.ts +18 -1
  296. package/lib/commonjs/mol-model-formats/structure/property/bonds/index-pair.js +18 -5
  297. package/lib/commonjs/mol-model-props/common/custom-property.d.ts +1 -1
  298. package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.d.ts +1 -1
  299. package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.js +1 -7
  300. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +19 -2
  301. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +19 -2
  302. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +57 -6
  303. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +76 -8
  304. package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.d.ts +12 -12
  305. package/lib/commonjs/mol-plugin/animation-loop.d.ts +2 -0
  306. package/lib/commonjs/mol-plugin/animation-loop.js +1 -1
  307. package/lib/commonjs/mol-plugin/behavior/behavior.d.ts +1 -1
  308. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
  309. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js +4 -6
  310. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +17 -1
  311. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +6 -2
  312. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +2 -2
  313. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +3 -3
  314. package/lib/commonjs/mol-plugin/commands.d.ts +23 -13
  315. package/lib/commonjs/mol-plugin/config.d.ts +2 -1
  316. package/lib/commonjs/mol-plugin/config.js +4 -18
  317. package/lib/commonjs/mol-plugin/features.d.ts +9 -0
  318. package/lib/commonjs/mol-plugin/features.js +38 -0
  319. package/lib/commonjs/mol-plugin/layout.d.ts +4 -4
  320. package/lib/commonjs/mol-plugin/spec.d.ts +1 -1
  321. package/lib/commonjs/mol-plugin/spec.js +5 -1
  322. package/lib/commonjs/mol-plugin/state.d.ts +8 -0
  323. package/lib/commonjs/mol-plugin/state.js +27 -17
  324. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +42 -9
  325. package/lib/commonjs/mol-plugin-state/actions/file.js +4 -2
  326. package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +9 -2
  327. package/lib/commonjs/mol-plugin-state/actions/structure.js +183 -72
  328. package/lib/commonjs/mol-plugin-state/animation/built-in/camera-rock.d.ts +16 -0
  329. package/lib/commonjs/mol-plugin-state/animation/built-in/camera-rock.js +62 -0
  330. package/lib/commonjs/mol-plugin-state/animation/built-in/camera-spin.d.ts +1 -1
  331. package/lib/commonjs/mol-plugin-state/animation/built-in/camera-spin.js +9 -8
  332. package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.d.ts +2 -2
  333. package/lib/commonjs/mol-plugin-state/animation/helpers.d.ts +5 -5
  334. package/lib/commonjs/mol-plugin-state/animation/model.d.ts +4 -0
  335. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +14 -364
  336. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.js +13 -8
  337. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.d.ts +5 -75
  338. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +44 -22
  339. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js +74 -2
  340. package/lib/commonjs/mol-plugin-state/builder/structure/representation.d.ts +1 -1
  341. package/lib/commonjs/mol-plugin-state/formats/volume.d.ts +6 -6
  342. package/lib/commonjs/mol-plugin-state/formats/volume.js +1 -0
  343. package/lib/commonjs/mol-plugin-state/helpers/root-structure.d.ts +3 -3
  344. package/lib/commonjs/mol-plugin-state/helpers/structure-clipping.d.ts +1 -1
  345. package/lib/commonjs/mol-plugin-state/helpers/structure-clipping.js +1 -1
  346. package/lib/commonjs/mol-plugin-state/helpers/structure-component.d.ts +2 -2
  347. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
  348. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +47 -22
  349. package/lib/commonjs/mol-plugin-state/helpers/structure-substance.d.ts +13 -0
  350. package/lib/commonjs/mol-plugin-state/helpers/structure-substance.js +126 -0
  351. package/lib/commonjs/mol-plugin-state/manager/animation.d.ts +5 -1
  352. package/lib/commonjs/mol-plugin-state/manager/animation.js +5 -5
  353. package/lib/commonjs/mol-plugin-state/manager/interactivity.d.ts +1 -1
  354. package/lib/commonjs/mol-plugin-state/manager/snapshots.js +2 -1
  355. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +26 -3
  356. package/lib/commonjs/mol-plugin-state/manager/structure/component.js +50 -23
  357. package/lib/commonjs/mol-plugin-state/manager/structure/selection.d.ts +2 -2
  358. package/lib/commonjs/mol-plugin-state/manager/structure/selection.js +3 -1
  359. package/lib/commonjs/mol-plugin-state/transforms/data.d.ts +1 -1
  360. package/lib/commonjs/mol-plugin-state/transforms/model.d.ts +5 -5
  361. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +129 -19
  362. package/lib/commonjs/mol-plugin-state/transforms/representation.js +162 -17
  363. package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +9 -2
  364. package/lib/commonjs/mol-plugin-ui/controls/parameters.js +22 -5
  365. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  366. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js +8 -17
  367. package/lib/commonjs/mol-plugin-ui/index.d.ts +4 -4
  368. package/lib/commonjs/mol-plugin-ui/index.js +13 -16
  369. package/lib/commonjs/mol-plugin-ui/plugin.d.ts +1 -1
  370. package/lib/commonjs/mol-plugin-ui/plugin.js +76 -10
  371. package/lib/commonjs/mol-plugin-ui/state/common.js +10 -9
  372. package/lib/commonjs/mol-plugin-ui/state/snapshots.js +10 -8
  373. package/lib/commonjs/mol-plugin-ui/structure/measurements.d.ts +1 -1
  374. package/lib/commonjs/mol-plugin-ui/structure/selection.js +2 -1
  375. package/lib/commonjs/mol-plugin-ui/viewport/simple-settings.d.ts +1 -1
  376. package/lib/commonjs/mol-plugin-ui/viewport/simple-settings.js +8 -19
  377. package/lib/commonjs/mol-repr/representation.d.ts +12 -0
  378. package/lib/commonjs/mol-repr/representation.js +50 -5
  379. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +19 -2
  380. package/lib/commonjs/mol-repr/shape/loci/common.d.ts +17 -2
  381. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +19 -2
  382. package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +17 -2
  383. package/lib/commonjs/mol-repr/shape/loci/label.d.ts +17 -2
  384. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +19 -2
  385. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +18 -1
  386. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +19 -2
  387. package/lib/commonjs/mol-repr/shape/representation.js +8 -0
  388. package/lib/commonjs/mol-repr/structure/complex-representation.js +18 -5
  389. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +110 -32
  390. package/lib/commonjs/mol-repr/structure/complex-visual.js +15 -5
  391. package/lib/commonjs/mol-repr/structure/params.d.ts +141 -31
  392. package/lib/commonjs/mol-repr/structure/registry.d.ts +271 -59
  393. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +57 -6
  394. package/lib/commonjs/mol-repr/structure/representation/backbone.js +2 -1
  395. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +60 -9
  396. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.js +2 -1
  397. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +57 -6
  398. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.js +2 -1
  399. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +57 -6
  400. package/lib/commonjs/mol-repr/structure/representation/cartoon.js +2 -1
  401. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +60 -9
  402. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.js +2 -1
  403. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +63 -12
  404. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.js +3 -2
  405. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +55 -64
  406. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.js +2 -7
  407. package/lib/commonjs/mol-repr/structure/representation/label.d.ts +60 -15
  408. package/lib/commonjs/mol-repr/structure/representation/label.js +1 -1
  409. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +57 -12
  410. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +63 -12
  411. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.js +3 -2
  412. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +57 -6
  413. package/lib/commonjs/mol-repr/structure/representation/orientation.js +2 -1
  414. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +54 -9
  415. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +57 -6
  416. package/lib/commonjs/mol-repr/structure/representation/putty.js +2 -1
  417. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +57 -6
  418. package/lib/commonjs/mol-repr/structure/representation/spacefill.js +2 -1
  419. package/lib/commonjs/mol-repr/structure/units-representation.js +24 -18
  420. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +147 -37
  421. package/lib/commonjs/mol-repr/structure/units-visual.js +15 -5
  422. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +40 -6
  423. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +18 -3
  424. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +40 -6
  425. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -2
  426. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +18 -3
  427. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js +2 -2
  428. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +19 -2
  429. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +19 -2
  430. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +19 -2
  431. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +17 -2
  432. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +18 -3
  433. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +38 -4
  434. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +19 -2
  435. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +36 -42
  436. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +8 -6
  437. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +84 -16
  438. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +25 -20
  439. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +17 -2
  440. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +1 -1
  441. package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +21 -6
  442. package/lib/commonjs/mol-repr/structure/visual/label-text.js +3 -4
  443. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +21 -4
  444. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +6 -5
  445. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +17 -2
  446. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +1 -1
  447. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +19 -2
  448. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +19 -2
  449. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +19 -2
  450. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +38 -4
  451. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +38 -4
  452. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +19 -2
  453. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +19 -2
  454. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +19 -2
  455. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js +1 -1
  456. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +19 -2
  457. package/lib/commonjs/mol-repr/structure/visual/util/bond.d.ts +10 -10
  458. package/lib/commonjs/mol-repr/structure/visual/util/bond.js +1 -1
  459. package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +5 -4
  460. package/lib/commonjs/mol-repr/structure/visual/util/common.js +2 -5
  461. package/lib/commonjs/mol-repr/structure/visual/util/element.d.ts +4 -4
  462. package/lib/commonjs/mol-repr/structure/visual/util/gaussian.d.ts +7 -6
  463. package/lib/commonjs/mol-repr/structure/visual/util/gaussian.js +12 -12
  464. package/lib/commonjs/mol-repr/structure/visual/util/molecular-surface.d.ts +2 -1
  465. package/lib/commonjs/mol-repr/structure/visual/util/molecular-surface.js +4 -4
  466. package/lib/commonjs/mol-repr/structure/visual/util/polymer.d.ts +2 -2
  467. package/lib/commonjs/mol-repr/visual.d.ts +24 -13
  468. package/lib/commonjs/mol-repr/visual.js +114 -12
  469. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +54 -63
  470. package/lib/commonjs/mol-repr/volume/direct-volume.js +8 -12
  471. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +112 -12
  472. package/lib/commonjs/mol-repr/volume/isosurface.js +13 -3
  473. package/lib/commonjs/mol-repr/volume/registry.d.ts +54 -25
  474. package/lib/commonjs/mol-repr/volume/representation.d.ts +17 -2
  475. package/lib/commonjs/mol-repr/volume/representation.js +15 -3
  476. package/lib/commonjs/mol-repr/volume/slice.d.ts +51 -6
  477. package/lib/commonjs/mol-repr/volume/slice.js +2 -2
  478. package/lib/commonjs/mol-repr/volume/util.js +2 -2
  479. package/lib/commonjs/mol-state/state.js +7 -5
  480. package/lib/commonjs/mol-state/tree/immutable.d.ts +18 -0
  481. package/lib/commonjs/mol-state/tree/transient.d.ts +3 -4
  482. package/lib/commonjs/mol-task/execution/observable.js +1 -5
  483. package/lib/commonjs/mol-theme/clipping.d.ts +7 -15
  484. package/lib/commonjs/mol-theme/clipping.js +5 -12
  485. package/lib/commonjs/mol-theme/color/atom-id.d.ts +12 -12
  486. package/lib/commonjs/mol-theme/color/chain-id.d.ts +12 -12
  487. package/lib/commonjs/mol-theme/color/element-index.d.ts +12 -12
  488. package/lib/commonjs/mol-theme/color/element-symbol.d.ts +16 -16
  489. package/lib/commonjs/mol-theme/color/entity-id.d.ts +12 -12
  490. package/lib/commonjs/mol-theme/color/entity-source.d.ts +12 -12
  491. package/lib/commonjs/mol-theme/color/illustrative.d.ts +104 -29
  492. package/lib/commonjs/mol-theme/color/illustrative.js +27 -8
  493. package/lib/commonjs/mol-theme/color/model-index.d.ts +12 -12
  494. package/lib/commonjs/mol-theme/color/molecule-type.d.ts +25 -13
  495. package/lib/commonjs/mol-theme/color/molecule-type.js +46 -27
  496. package/lib/commonjs/mol-theme/color/operator-hkl.d.ts +12 -12
  497. package/lib/commonjs/mol-theme/color/operator-name.d.ts +12 -12
  498. package/lib/commonjs/mol-theme/color/polymer-id.d.ts +12 -12
  499. package/lib/commonjs/mol-theme/color/polymer-index.d.ts +12 -12
  500. package/lib/commonjs/mol-theme/color/unit-index.d.ts +12 -12
  501. package/lib/commonjs/mol-theme/color/volume-value.d.ts +17 -0
  502. package/lib/commonjs/mol-theme/color/volume-value.js +57 -0
  503. package/lib/commonjs/mol-theme/color.d.ts +137 -87
  504. package/lib/commonjs/mol-theme/color.js +2 -0
  505. package/lib/commonjs/mol-theme/overpaint.js +1 -1
  506. package/lib/commonjs/mol-theme/substance.d.ts +43 -0
  507. package/lib/commonjs/mol-theme/substance.js +141 -0
  508. package/lib/commonjs/mol-util/clip.d.ts +49 -0
  509. package/lib/commonjs/mol-util/clip.js +97 -0
  510. package/lib/commonjs/mol-util/color/names.d.ts +1 -1
  511. package/lib/commonjs/mol-util/color/palette.d.ts +12 -12
  512. package/lib/commonjs/mol-util/color/scale.d.ts +1 -1
  513. package/lib/commonjs/mol-util/material.d.ts +33 -0
  514. package/lib/commonjs/mol-util/material.js +43 -0
  515. package/lib/commonjs/mol-util/number-packing.d.ts +11 -0
  516. package/lib/commonjs/mol-util/number-packing.js +36 -0
  517. package/lib/commonjs/mol-util/number.d.ts +1 -0
  518. package/lib/commonjs/mol-util/number.js +5 -1
  519. package/lib/commonjs/mol-util/param-definition.d.ts +2 -0
  520. package/lib/commonjs/mol-util/param-definition.js +2 -0
  521. package/lib/examples/alpha-orbitals/index.html +1 -0
  522. package/lib/examples/alpha-orbitals/index.js +4 -5
  523. package/lib/examples/basic-wrapper/index.html +3 -2
  524. package/lib/examples/basic-wrapper/index.js +31 -15
  525. package/lib/examples/lighting/index.d.ts +1 -1
  526. package/lib/examples/lighting/index.html +4 -2
  527. package/lib/examples/lighting/index.js +59 -42
  528. package/lib/examples/proteopedia-wrapper/index.html +4 -3
  529. package/lib/examples/proteopedia-wrapper/index.js +34 -16
  530. package/lib/extensions/alpha-orbitals/transforms.d.ts +0 -1
  531. package/lib/extensions/alpha-orbitals/transforms.js +1 -14
  532. package/lib/extensions/anvil/behavior.d.ts +13 -2
  533. package/lib/extensions/anvil/representation.d.ts +88 -5
  534. package/lib/extensions/anvil/representation.js +1 -1
  535. package/lib/extensions/cellpack/representation.d.ts +19 -2
  536. package/lib/extensions/dnatco/confal-pyramids/behavior.d.ts +1 -1
  537. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +54 -3
  538. package/lib/extensions/geo-export/controls.js +16 -18
  539. package/lib/extensions/geo-export/glb-exporter.d.ts +5 -3
  540. package/lib/extensions/geo-export/glb-exporter.js +49 -27
  541. package/lib/extensions/geo-export/mesh-exporter.d.ts +31 -2
  542. package/lib/extensions/geo-export/mesh-exporter.js +91 -19
  543. package/lib/extensions/geo-export/obj-exporter.d.ts +1 -0
  544. package/lib/extensions/geo-export/obj-exporter.js +24 -15
  545. package/lib/extensions/geo-export/ui.js +24 -20
  546. package/lib/extensions/geo-export/usdz-exporter.d.ts +3 -5
  547. package/lib/extensions/geo-export/usdz-exporter.js +39 -30
  548. package/lib/extensions/model-archive/quality-assessment/behavior.d.ts +68 -0
  549. package/lib/extensions/model-archive/quality-assessment/behavior.js +233 -0
  550. package/lib/extensions/model-archive/quality-assessment/color/plddt.d.ts +14 -0
  551. package/lib/extensions/model-archive/quality-assessment/color/plddt.js +120 -0
  552. package/lib/extensions/model-archive/quality-assessment/color/qmean.d.ts +12 -0
  553. package/lib/extensions/model-archive/quality-assessment/color/qmean.js +106 -0
  554. package/lib/extensions/model-archive/quality-assessment/prop.d.ts +28 -0
  555. package/lib/extensions/model-archive/quality-assessment/prop.js +127 -0
  556. package/lib/extensions/mp4-export/controls.d.ts +1 -0
  557. package/lib/extensions/mp4-export/controls.js +10 -8
  558. package/lib/extensions/mp4-export/encoder.js +1 -1
  559. package/lib/extensions/mp4-export/ui.js +7 -6
  560. package/lib/extensions/pdbe/structure-quality-report/prop.js +1 -1
  561. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +16 -5
  562. package/lib/extensions/rcsb/assembly-symmetry/prop.js +1 -1
  563. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +18 -1
  564. package/lib/extensions/rcsb/graphql/types.d.ts +24 -23
  565. package/lib/extensions/rcsb/validation-report/behavior.d.ts +3 -3
  566. package/lib/extensions/rcsb/validation-report/prop.js +1 -1
  567. package/lib/extensions/rcsb/validation-report/representation.d.ts +90 -5
  568. package/lib/mol-canvas3d/canvas3d.d.ts +39 -27
  569. package/lib/mol-canvas3d/canvas3d.js +37 -25
  570. package/lib/mol-canvas3d/controls/trackball.d.ts +9 -4
  571. package/lib/mol-canvas3d/controls/trackball.js +51 -12
  572. package/lib/mol-canvas3d/helper/bounding-sphere-helper.js +3 -2
  573. package/lib/mol-canvas3d/helper/camera-helper.d.ts +14 -3
  574. package/lib/mol-canvas3d/helper/camera-helper.js +2 -2
  575. package/lib/mol-canvas3d/helper/handle-helper.d.ts +12 -1
  576. package/lib/mol-canvas3d/helper/handle-helper.js +2 -2
  577. package/lib/mol-canvas3d/helper/helper.d.ts +8 -0
  578. package/lib/mol-canvas3d/passes/draw.d.ts +13 -1
  579. package/lib/mol-canvas3d/passes/draw.js +19 -26
  580. package/lib/mol-canvas3d/passes/image.d.ts +7 -2
  581. package/lib/mol-canvas3d/passes/image.js +3 -2
  582. package/lib/mol-canvas3d/passes/marking.js +1 -1
  583. package/lib/mol-canvas3d/passes/multi-sample.d.ts +10 -2
  584. package/lib/mol-canvas3d/passes/multi-sample.js +18 -14
  585. package/lib/mol-canvas3d/passes/pick.js +11 -11
  586. package/lib/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  587. package/lib/mol-canvas3d/passes/postprocessing.js +6 -4
  588. package/lib/mol-canvas3d/passes/smaa.js +1 -1
  589. package/lib/mol-data/int/impl/sorted-array.d.ts +1 -1
  590. package/lib/mol-geo/geometry/base.d.ts +46 -6
  591. package/lib/mol-geo/geometry/base.js +66 -6
  592. package/lib/mol-geo/geometry/clipping-data.d.ts +1 -3
  593. package/lib/mol-geo/geometry/clipping-data.js +3 -8
  594. package/lib/mol-geo/geometry/color-data.d.ts +1 -1
  595. package/lib/mol-geo/geometry/color-data.js +22 -0
  596. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +18 -1
  597. package/lib/mol-geo/geometry/cylinders/cylinders.js +7 -3
  598. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +21 -39
  599. package/lib/mol-geo/geometry/direct-volume/direct-volume.js +25 -69
  600. package/lib/mol-geo/geometry/direct-volume/transfer-function.d.ts +2 -4
  601. package/lib/mol-geo/geometry/direct-volume/transfer-function.js +4 -7
  602. package/lib/mol-geo/geometry/image/image.d.ts +18 -3
  603. package/lib/mol-geo/geometry/image/image.js +3 -1
  604. package/lib/mol-geo/geometry/lines/lines.d.ts +17 -1
  605. package/lib/mol-geo/geometry/lines/lines.js +3 -1
  606. package/lib/mol-geo/geometry/marker-data.d.ts +0 -1
  607. package/lib/mol-geo/geometry/marker-data.js +13 -9
  608. package/lib/mol-geo/geometry/mesh/builder/tube.js +19 -9
  609. package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +11 -3
  610. package/lib/mol-geo/geometry/mesh/color-smoothing.js +183 -34
  611. package/lib/mol-geo/geometry/mesh/mesh.d.ts +18 -1
  612. package/lib/mol-geo/geometry/mesh/mesh.js +7 -3
  613. package/lib/mol-geo/geometry/overpaint-data.d.ts +7 -2
  614. package/lib/mol-geo/geometry/overpaint-data.js +11 -2
  615. package/lib/mol-geo/geometry/points/points.d.ts +18 -3
  616. package/lib/mol-geo/geometry/points/points.js +3 -1
  617. package/lib/mol-geo/geometry/size-data.js +5 -5
  618. package/lib/mol-geo/geometry/spheres/spheres.d.ts +18 -2
  619. package/lib/mol-geo/geometry/spheres/spheres.js +7 -3
  620. package/lib/mol-geo/geometry/substance-data.d.ts +23 -0
  621. package/lib/mol-geo/geometry/substance-data.js +61 -0
  622. package/lib/mol-geo/geometry/text/text.d.ts +16 -1
  623. package/lib/mol-geo/geometry/text/text.js +3 -1
  624. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +8 -3
  625. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +189 -26
  626. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +21 -2
  627. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +8 -3
  628. package/lib/mol-geo/geometry/transparency-data.d.ts +7 -2
  629. package/lib/mol-geo/geometry/transparency-data.js +11 -2
  630. package/lib/mol-gl/compute/histogram-pyramid/sum.js +2 -2
  631. package/lib/mol-gl/compute/marching-cubes/isosurface.d.ts +2 -2
  632. package/lib/mol-gl/compute/marching-cubes/isosurface.js +13 -12
  633. package/lib/mol-gl/compute/util.d.ts +25 -6
  634. package/lib/mol-gl/compute/util.js +74 -21
  635. package/lib/mol-gl/render-object.d.ts +2 -1
  636. package/lib/mol-gl/render-object.js +10 -10
  637. package/lib/mol-gl/renderable/cylinders.d.ts +51 -24
  638. package/lib/mol-gl/renderable/cylinders.js +5 -5
  639. package/lib/mol-gl/renderable/direct-volume.d.ts +34 -14
  640. package/lib/mol-gl/renderable/direct-volume.js +3 -3
  641. package/lib/mol-gl/renderable/image.d.ts +29 -4
  642. package/lib/mol-gl/renderable/image.js +2 -2
  643. package/lib/mol-gl/renderable/lines.d.ts +48 -23
  644. package/lib/mol-gl/renderable/lines.js +4 -4
  645. package/lib/mol-gl/renderable/mesh.d.ts +48 -21
  646. package/lib/mol-gl/renderable/mesh.js +5 -5
  647. package/lib/mol-gl/renderable/points.d.ts +29 -4
  648. package/lib/mol-gl/renderable/points.js +3 -4
  649. package/lib/mol-gl/renderable/schema.d.ts +51 -16
  650. package/lib/mol-gl/renderable/schema.js +25 -19
  651. package/lib/mol-gl/renderable/spheres.d.ts +51 -24
  652. package/lib/mol-gl/renderable/spheres.js +5 -5
  653. package/lib/mol-gl/renderable/text.d.ts +29 -4
  654. package/lib/mol-gl/renderable/text.js +2 -2
  655. package/lib/mol-gl/renderable/texture-mesh.d.ts +46 -19
  656. package/lib/mol-gl/renderable/texture-mesh.js +4 -4
  657. package/lib/mol-gl/renderable.d.ts +0 -1
  658. package/lib/mol-gl/renderer.d.ts +20 -26
  659. package/lib/mol-gl/renderer.js +76 -149
  660. package/lib/mol-gl/scene.d.ts +2 -2
  661. package/lib/mol-gl/scene.js +7 -5
  662. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +3 -3
  663. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +3 -3
  664. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  665. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  666. package/lib/mol-gl/shader/chunks/assign-group.glsl.d.ts +1 -1
  667. package/lib/mol-gl/shader/chunks/assign-group.glsl.js +1 -1
  668. package/lib/mol-gl/shader/chunks/assign-marker-varying.glsl.d.ts +1 -1
  669. package/lib/mol-gl/shader/chunks/assign-marker-varying.glsl.js +1 -1
  670. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  671. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  672. package/lib/mol-gl/shader/chunks/assign-position.glsl.d.ts +1 -1
  673. package/lib/mol-gl/shader/chunks/assign-position.glsl.js +1 -1
  674. package/lib/mol-gl/shader/chunks/assign-size.glsl.d.ts +1 -1
  675. package/lib/mol-gl/shader/chunks/assign-size.glsl.js +1 -1
  676. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  677. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  678. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  679. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  680. package/lib/mol-gl/shader/chunks/common-clip.glsl.d.ts +1 -1
  681. package/lib/mol-gl/shader/chunks/common-clip.glsl.js +1 -1
  682. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  683. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  684. package/lib/mol-gl/shader/chunks/common-vert-params.glsl.d.ts +1 -1
  685. package/lib/mol-gl/shader/chunks/common-vert-params.glsl.js +1 -1
  686. package/lib/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  687. package/lib/mol-gl/shader/chunks/common.glsl.js +1 -1
  688. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +3 -3
  689. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.js +3 -3
  690. package/lib/mol-gl/shader/chunks/wboit-write.glsl.d.ts +1 -1
  691. package/lib/mol-gl/shader/chunks/wboit-write.glsl.js +1 -1
  692. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.frag.d.ts +1 -1
  693. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.frag.js +1 -1
  694. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.vert.d.ts +1 -1
  695. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.vert.js +1 -1
  696. package/lib/mol-gl/shader/compute/color-smoothing/normalize.frag.d.ts +1 -1
  697. package/lib/mol-gl/shader/compute/color-smoothing/normalize.frag.js +1 -1
  698. package/lib/mol-gl/shader/cylinders.frag.d.ts +1 -1
  699. package/lib/mol-gl/shader/cylinders.frag.js +1 -1
  700. package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  701. package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
  702. package/lib/mol-gl/shader/gaussian-density.frag.d.ts +1 -1
  703. package/lib/mol-gl/shader/gaussian-density.frag.js +1 -1
  704. package/lib/mol-gl/shader/histogram-pyramid/reduction.frag.d.ts +1 -1
  705. package/lib/mol-gl/shader/histogram-pyramid/reduction.frag.js +1 -1
  706. package/lib/mol-gl/shader/image.frag.d.ts +1 -1
  707. package/lib/mol-gl/shader/image.frag.js +1 -1
  708. package/lib/mol-gl/shader/marching-cubes/isosurface.frag.d.ts +1 -1
  709. package/lib/mol-gl/shader/marching-cubes/isosurface.frag.js +1 -1
  710. package/lib/mol-gl/shader/mesh.frag.d.ts +1 -1
  711. package/lib/mol-gl/shader/mesh.frag.js +1 -1
  712. package/lib/mol-gl/shader/mesh.vert.d.ts +1 -1
  713. package/lib/mol-gl/shader/mesh.vert.js +1 -1
  714. package/lib/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  715. package/lib/mol-gl/shader/postprocessing.frag.js +1 -1
  716. package/lib/mol-gl/shader/spheres.frag.d.ts +1 -1
  717. package/lib/mol-gl/shader/spheres.frag.js +1 -1
  718. package/lib/mol-gl/shader-code.d.ts +3 -2
  719. package/lib/mol-gl/shader-code.js +70 -23
  720. package/lib/mol-gl/webgl/extensions.js +4 -10
  721. package/lib/mol-gl/webgl/render-item.d.ts +7 -6
  722. package/lib/mol-gl/webgl/render-item.js +8 -6
  723. package/lib/mol-gl/webgl/resources.js +9 -2
  724. package/lib/mol-gl/webgl/vertex-array.d.ts +3 -2
  725. package/lib/mol-gl/webgl/vertex-array.js +9 -2
  726. package/lib/mol-io/reader/cif/schema/bird.d.ts +2 -2
  727. package/lib/mol-io/reader/cif/schema/bird.js +1 -1
  728. package/lib/mol-io/reader/cif/schema/ccd.d.ts +3 -3
  729. package/lib/mol-io/reader/cif/schema/ccd.js +1 -1
  730. package/lib/mol-io/reader/cif/schema/cif-core.d.ts +8 -5
  731. package/lib/mol-io/reader/cif/schema/cif-core.js +15 -5
  732. package/lib/mol-io/reader/cif/schema/density-server.d.ts +3 -3
  733. package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +3 -3
  734. package/lib/mol-io/reader/cif/schema/mmcif.d.ts +338 -13
  735. package/lib/mol-io/reader/cif/schema/mmcif.js +326 -1
  736. package/lib/mol-io/reader/mol/parser.d.ts +23 -1
  737. package/lib/mol-io/reader/mol/parser.js +112 -3
  738. package/lib/mol-io/reader/mol2/parser.d.ts +1 -1
  739. package/lib/mol-io/reader/mol2/parser.js +33 -3
  740. package/lib/mol-io/reader/mol2/schema.d.ts +12 -1
  741. package/lib/mol-io/reader/mol2/schema.js +1 -1
  742. package/lib/mol-io/reader/ply/schema.d.ts +1 -1
  743. package/lib/mol-io/reader/sdf/parser-v3-util.d.ts +15 -0
  744. package/lib/mol-io/reader/sdf/parser-v3-util.js +93 -0
  745. package/lib/mol-io/reader/sdf/parser.d.ts +4 -2
  746. package/lib/mol-io/reader/sdf/parser.js +24 -7
  747. package/lib/mol-math/geometry/gaussian-density/gpu.js +2 -2
  748. package/lib/mol-math/geometry/symmetry-operator.js +3 -2
  749. package/lib/mol-math/linear-algebra/3d/quat.d.ts +9 -1
  750. package/lib/mol-math/linear-algebra/3d/quat.js +20 -1
  751. package/lib/mol-math/linear-algebra/3d/vec3.d.ts +6 -0
  752. package/lib/mol-math/linear-algebra/3d/vec3.js +9 -0
  753. package/lib/mol-model/loci.d.ts +20 -20
  754. package/lib/mol-model/shape/shape.d.ts +1 -1
  755. package/lib/mol-model/structure/model/model.d.ts +1 -0
  756. package/lib/mol-model/structure/model/model.js +15 -5
  757. package/lib/mol-model/structure/model/properties/atomic/hierarchy.d.ts +6 -1
  758. package/lib/mol-model/structure/model/properties/atomic/hierarchy.js +1 -1
  759. package/lib/mol-model/structure/model/properties/utils/atomic-derived.d.ts +1 -1
  760. package/lib/mol-model/structure/model/properties/utils/atomic-derived.js +5 -2
  761. package/lib/mol-model/structure/model/properties/utils/atomic-index.d.ts +1 -1
  762. package/lib/mol-model/structure/model/properties/utils/atomic-index.js +12 -1
  763. package/lib/mol-model/structure/model/types.js +9 -0
  764. package/lib/mol-model/structure/structure/element/stats.js +8 -0
  765. package/lib/mol-model/structure/structure/properties.d.ts +2 -2
  766. package/lib/mol-model/structure/structure/properties.js +5 -5
  767. package/lib/mol-model/structure/structure/symmetry.js +1 -3
  768. package/lib/mol-model/structure/structure/unit/bonds/common.d.ts +2 -1
  769. package/lib/mol-model/structure/structure/unit/bonds/common.js +9 -1
  770. package/lib/mol-model/structure/structure/unit/bonds/inter-compute.d.ts +1 -1
  771. package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +21 -11
  772. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.d.ts +1 -1
  773. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +22 -12
  774. package/lib/mol-model/structure/structure/unit/rings.js +2 -0
  775. package/lib/mol-model-formats/shape/ply.d.ts +40 -6
  776. package/lib/mol-model-formats/structure/basic/schema.d.ts +6 -6
  777. package/lib/mol-model-formats/structure/common/component.d.ts +8 -8
  778. package/lib/mol-model-formats/structure/mol.d.ts +2 -1
  779. package/lib/mol-model-formats/structure/mol.js +17 -3
  780. package/lib/mol-model-formats/structure/mol2.d.ts +1 -1
  781. package/lib/mol-model-formats/structure/mol2.js +37 -7
  782. package/lib/mol-model-formats/structure/property/bonds/index-pair.d.ts +18 -1
  783. package/lib/mol-model-formats/structure/property/bonds/index-pair.js +18 -5
  784. package/lib/mol-model-props/common/custom-property.d.ts +1 -1
  785. package/lib/mol-model-props/computed/interactions/hydrogen-bonds.d.ts +1 -1
  786. package/lib/mol-model-props/computed/interactions/hydrogen-bonds.js +1 -7
  787. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +18 -1
  788. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +18 -1
  789. package/lib/mol-model-props/computed/representations/interactions.d.ts +54 -3
  790. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +72 -4
  791. package/lib/mol-plugin/animation-loop.d.ts +2 -0
  792. package/lib/mol-plugin/animation-loop.js +1 -1
  793. package/lib/mol-plugin/behavior/behavior.d.ts +1 -1
  794. package/lib/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
  795. package/lib/mol-plugin/behavior/dynamic/representation.js +4 -6
  796. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +16 -0
  797. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +6 -2
  798. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.d.ts +8 -8
  799. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.d.ts +4 -4
  800. package/lib/mol-plugin/commands.d.ts +23 -13
  801. package/lib/mol-plugin/config.d.ts +2 -1
  802. package/lib/mol-plugin/config.js +4 -18
  803. package/lib/mol-plugin/features.d.ts +9 -0
  804. package/lib/mol-plugin/features.js +35 -0
  805. package/lib/mol-plugin/spec.d.ts +1 -1
  806. package/lib/mol-plugin/spec.js +5 -1
  807. package/lib/mol-plugin/state.d.ts +8 -0
  808. package/lib/mol-plugin/state.js +27 -17
  809. package/lib/mol-plugin/util/viewport-screenshot.d.ts +42 -9
  810. package/lib/mol-plugin/version.js +2 -2
  811. package/lib/mol-plugin-state/actions/file.js +4 -2
  812. package/lib/mol-plugin-state/actions/structure.d.ts +9 -2
  813. package/lib/mol-plugin-state/actions/structure.js +183 -72
  814. package/lib/mol-plugin-state/animation/built-in/camera-rock.d.ts +16 -0
  815. package/lib/mol-plugin-state/animation/built-in/camera-rock.js +59 -0
  816. package/lib/mol-plugin-state/animation/built-in/camera-spin.d.ts +1 -1
  817. package/lib/mol-plugin-state/animation/built-in/camera-spin.js +9 -8
  818. package/lib/mol-plugin-state/animation/helpers.d.ts +5 -5
  819. package/lib/mol-plugin-state/animation/model.d.ts +4 -0
  820. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.d.ts +14 -364
  821. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.js +14 -9
  822. package/lib/mol-plugin-state/builder/structure/hierarchy.d.ts +5 -75
  823. package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +35 -13
  824. package/lib/mol-plugin-state/builder/structure/representation-preset.js +74 -2
  825. package/lib/mol-plugin-state/builder/structure/representation.d.ts +1 -1
  826. package/lib/mol-plugin-state/formats/volume.d.ts +6 -6
  827. package/lib/mol-plugin-state/formats/volume.js +1 -0
  828. package/lib/mol-plugin-state/helpers/root-structure.d.ts +3 -3
  829. package/lib/mol-plugin-state/helpers/structure-clipping.d.ts +1 -1
  830. package/lib/mol-plugin-state/helpers/structure-clipping.js +1 -1
  831. package/lib/mol-plugin-state/helpers/structure-component.d.ts +1 -1
  832. package/lib/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
  833. package/lib/mol-plugin-state/helpers/structure-selection-query.js +48 -23
  834. package/lib/mol-plugin-state/helpers/structure-substance.d.ts +13 -0
  835. package/lib/mol-plugin-state/helpers/structure-substance.js +121 -0
  836. package/lib/mol-plugin-state/manager/animation.d.ts +5 -1
  837. package/lib/mol-plugin-state/manager/animation.js +5 -5
  838. package/lib/mol-plugin-state/manager/interactivity.d.ts +1 -1
  839. package/lib/mol-plugin-state/manager/snapshots.js +2 -1
  840. package/lib/mol-plugin-state/manager/structure/component.d.ts +27 -4
  841. package/lib/mol-plugin-state/manager/structure/component.js +51 -24
  842. package/lib/mol-plugin-state/manager/structure/selection.js +3 -1
  843. package/lib/mol-plugin-state/transforms/data.d.ts +1 -1
  844. package/lib/mol-plugin-state/transforms/model.d.ts +5 -5
  845. package/lib/mol-plugin-state/transforms/representation.d.ts +128 -18
  846. package/lib/mol-plugin-state/transforms/representation.js +162 -17
  847. package/lib/mol-plugin-ui/controls/parameters.d.ts +11 -4
  848. package/lib/mol-plugin-ui/controls/parameters.js +23 -6
  849. package/lib/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  850. package/lib/mol-plugin-ui/hooks/use-behavior.js +9 -18
  851. package/lib/mol-plugin-ui/index.d.ts +4 -4
  852. package/lib/mol-plugin-ui/index.js +11 -13
  853. package/lib/mol-plugin-ui/plugin.d.ts +1 -1
  854. package/lib/mol-plugin-ui/plugin.js +76 -10
  855. package/lib/mol-plugin-ui/skin/base/components/misc.scss +27 -0
  856. package/lib/mol-plugin-ui/state/common.js +10 -9
  857. package/lib/mol-plugin-ui/state/snapshots.js +10 -8
  858. package/lib/mol-plugin-ui/structure/measurements.d.ts +1 -1
  859. package/lib/mol-plugin-ui/structure/selection.js +2 -1
  860. package/lib/mol-plugin-ui/viewport/simple-settings.d.ts +1 -1
  861. package/lib/mol-plugin-ui/viewport/simple-settings.js +8 -19
  862. package/lib/mol-repr/representation.d.ts +12 -0
  863. package/lib/mol-repr/representation.js +50 -5
  864. package/lib/mol-repr/shape/loci/angle.d.ts +19 -2
  865. package/lib/mol-repr/shape/loci/common.d.ts +17 -2
  866. package/lib/mol-repr/shape/loci/dihedral.d.ts +19 -2
  867. package/lib/mol-repr/shape/loci/distance.d.ts +18 -3
  868. package/lib/mol-repr/shape/loci/label.d.ts +17 -2
  869. package/lib/mol-repr/shape/loci/orientation.d.ts +18 -1
  870. package/lib/mol-repr/shape/loci/plane.d.ts +18 -1
  871. package/lib/mol-repr/shape/model/unitcell.d.ts +18 -1
  872. package/lib/mol-repr/shape/representation.js +8 -0
  873. package/lib/mol-repr/structure/complex-representation.js +18 -5
  874. package/lib/mol-repr/structure/complex-visual.d.ts +104 -26
  875. package/lib/mol-repr/structure/complex-visual.js +15 -5
  876. package/lib/mol-repr/structure/params.d.ts +139 -29
  877. package/lib/mol-repr/structure/registry.d.ts +257 -45
  878. package/lib/mol-repr/structure/representation/backbone.d.ts +54 -3
  879. package/lib/mol-repr/structure/representation/backbone.js +2 -1
  880. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +57 -6
  881. package/lib/mol-repr/structure/representation/ball-and-stick.js +2 -1
  882. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +54 -3
  883. package/lib/mol-repr/structure/representation/carbohydrate.js +2 -1
  884. package/lib/mol-repr/structure/representation/cartoon.d.ts +54 -3
  885. package/lib/mol-repr/structure/representation/cartoon.js +2 -1
  886. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +57 -6
  887. package/lib/mol-repr/structure/representation/ellipsoid.js +2 -1
  888. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +60 -9
  889. package/lib/mol-repr/structure/representation/gaussian-surface.js +3 -2
  890. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +52 -61
  891. package/lib/mol-repr/structure/representation/gaussian-volume.js +2 -7
  892. package/lib/mol-repr/structure/representation/label.d.ts +57 -12
  893. package/lib/mol-repr/structure/representation/label.js +1 -1
  894. package/lib/mol-repr/structure/representation/line.d.ts +54 -9
  895. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +60 -9
  896. package/lib/mol-repr/structure/representation/molecular-surface.js +3 -2
  897. package/lib/mol-repr/structure/representation/orientation.d.ts +54 -3
  898. package/lib/mol-repr/structure/representation/orientation.js +2 -1
  899. package/lib/mol-repr/structure/representation/point.d.ts +51 -6
  900. package/lib/mol-repr/structure/representation/putty.d.ts +54 -3
  901. package/lib/mol-repr/structure/representation/putty.js +2 -1
  902. package/lib/mol-repr/structure/representation/spacefill.d.ts +54 -3
  903. package/lib/mol-repr/structure/representation/spacefill.js +2 -1
  904. package/lib/mol-repr/structure/units-representation.js +24 -18
  905. package/lib/mol-repr/structure/units-visual.d.ts +139 -29
  906. package/lib/mol-repr/structure/units-visual.js +15 -5
  907. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +38 -4
  908. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +17 -2
  909. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +38 -4
  910. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -2
  911. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +17 -2
  912. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js +2 -2
  913. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +18 -1
  914. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +18 -1
  915. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +18 -1
  916. package/lib/mol-repr/structure/visual/element-cross.d.ts +16 -1
  917. package/lib/mol-repr/structure/visual/element-point.d.ts +17 -2
  918. package/lib/mol-repr/structure/visual/element-sphere.d.ts +36 -2
  919. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +18 -1
  920. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +34 -40
  921. package/lib/mol-repr/structure/visual/gaussian-density-volume.js +8 -6
  922. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +80 -12
  923. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +20 -15
  924. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +16 -1
  925. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js +1 -1
  926. package/lib/mol-repr/structure/visual/label-text.d.ts +20 -5
  927. package/lib/mol-repr/structure/visual/label-text.js +3 -4
  928. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +20 -3
  929. package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +4 -3
  930. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +16 -1
  931. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js +1 -1
  932. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +18 -1
  933. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +18 -1
  934. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +18 -1
  935. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +36 -2
  936. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +36 -2
  937. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +18 -1
  938. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +18 -1
  939. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +18 -1
  940. package/lib/mol-repr/structure/visual/polymer-trace-mesh.js +1 -1
  941. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +18 -1
  942. package/lib/mol-repr/structure/visual/util/bond.d.ts +6 -6
  943. package/lib/mol-repr/structure/visual/util/bond.js +1 -1
  944. package/lib/mol-repr/structure/visual/util/common.d.ts +3 -2
  945. package/lib/mol-repr/structure/visual/util/common.js +2 -5
  946. package/lib/mol-repr/structure/visual/util/gaussian.d.ts +7 -6
  947. package/lib/mol-repr/structure/visual/util/gaussian.js +12 -12
  948. package/lib/mol-repr/structure/visual/util/molecular-surface.d.ts +2 -1
  949. package/lib/mol-repr/structure/visual/util/molecular-surface.js +4 -4
  950. package/lib/mol-repr/visual.d.ts +24 -13
  951. package/lib/mol-repr/visual.js +114 -12
  952. package/lib/mol-repr/volume/direct-volume.d.ts +54 -63
  953. package/lib/mol-repr/volume/direct-volume.js +8 -12
  954. package/lib/mol-repr/volume/isosurface.d.ts +112 -12
  955. package/lib/mol-repr/volume/isosurface.js +13 -3
  956. package/lib/mol-repr/volume/registry.d.ts +55 -26
  957. package/lib/mol-repr/volume/representation.d.ts +17 -2
  958. package/lib/mol-repr/volume/representation.js +15 -3
  959. package/lib/mol-repr/volume/slice.d.ts +54 -9
  960. package/lib/mol-repr/volume/slice.js +2 -2
  961. package/lib/mol-repr/volume/util.js +2 -2
  962. package/lib/mol-state/state.js +7 -5
  963. package/lib/mol-state/tree/immutable.d.ts +18 -0
  964. package/lib/mol-state/tree/transient.d.ts +3 -4
  965. package/lib/mol-task/execution/observable.js +1 -5
  966. package/lib/mol-theme/clipping.d.ts +7 -15
  967. package/lib/mol-theme/clipping.js +5 -12
  968. package/lib/mol-theme/color/illustrative.d.ts +104 -29
  969. package/lib/mol-theme/color/illustrative.js +27 -8
  970. package/lib/mol-theme/color/molecule-type.d.ts +25 -13
  971. package/lib/mol-theme/color/molecule-type.js +46 -27
  972. package/lib/mol-theme/color/volume-value.d.ts +17 -0
  973. package/lib/mol-theme/color/volume-value.js +52 -0
  974. package/lib/mol-theme/color.d.ts +64 -14
  975. package/lib/mol-theme/color.js +2 -0
  976. package/lib/mol-theme/overpaint.js +1 -1
  977. package/lib/mol-theme/substance.d.ts +43 -0
  978. package/lib/mol-theme/substance.js +137 -0
  979. package/lib/mol-util/clip.d.ts +49 -0
  980. package/lib/mol-util/clip.js +93 -0
  981. package/lib/mol-util/color/names.d.ts +1 -1
  982. package/lib/mol-util/material.d.ts +33 -0
  983. package/lib/mol-util/material.js +39 -0
  984. package/lib/mol-util/number-packing.d.ts +11 -0
  985. package/lib/mol-util/number-packing.js +30 -0
  986. package/lib/mol-util/number.d.ts +1 -0
  987. package/lib/mol-util/number.js +3 -0
  988. package/lib/mol-util/param-definition.d.ts +2 -0
  989. package/lib/mol-util/param-definition.js +2 -0
  990. package/lib/servers/model/config.d.ts +2 -2
  991. package/package.json +45 -40
  992. package/lib/apps/docking-viewer/index.js.map +0 -1
  993. package/lib/apps/docking-viewer/viewport.js.map +0 -1
  994. package/lib/apps/viewer/index.js.map +0 -1
  995. package/lib/cli/chem-comp-dict/create-ions.js.map +0 -1
  996. package/lib/cli/chem-comp-dict/create-table.js.map +0 -1
  997. package/lib/cli/chem-comp-dict/util.js.map +0 -1
  998. package/lib/cli/cif2bcif/converter.js.map +0 -1
  999. package/lib/cli/cif2bcif/index.js.map +0 -1
  1000. package/lib/cli/cifschema/index.js.map +0 -1
  1001. package/lib/cli/cifschema/util/cif-dic.js.map +0 -1
  1002. package/lib/cli/cifschema/util/generate.js.map +0 -1
  1003. package/lib/cli/cifschema/util/helper.js.map +0 -1
  1004. package/lib/cli/cifschema/util/schema.js.map +0 -1
  1005. package/lib/cli/lipid-params/index.js.map +0 -1
  1006. package/lib/cli/state-docs/index.js.map +0 -1
  1007. package/lib/cli/state-docs/pd-to-md.js.map +0 -1
  1008. package/lib/cli/structure-info/helpers.js.map +0 -1
  1009. package/lib/cli/structure-info/model.js.map +0 -1
  1010. package/lib/cli/structure-info/volume.js.map +0 -1
  1011. package/lib/commonjs/apps/docking-viewer/index.js.map +0 -1
  1012. package/lib/commonjs/apps/docking-viewer/viewport.js.map +0 -1
  1013. package/lib/commonjs/apps/viewer/index.js.map +0 -1
  1014. package/lib/commonjs/cli/chem-comp-dict/create-ions.js.map +0 -1
  1015. package/lib/commonjs/cli/chem-comp-dict/create-table.js.map +0 -1
  1016. package/lib/commonjs/cli/chem-comp-dict/util.js.map +0 -1
  1017. package/lib/commonjs/cli/cif2bcif/converter.js.map +0 -1
  1018. package/lib/commonjs/cli/cif2bcif/index.js.map +0 -1
  1019. package/lib/commonjs/cli/cifschema/index.js.map +0 -1
  1020. package/lib/commonjs/cli/cifschema/util/cif-dic.js.map +0 -1
  1021. package/lib/commonjs/cli/cifschema/util/generate.js.map +0 -1
  1022. package/lib/commonjs/cli/cifschema/util/helper.js.map +0 -1
  1023. package/lib/commonjs/cli/cifschema/util/schema.js.map +0 -1
  1024. package/lib/commonjs/cli/lipid-params/index.js.map +0 -1
  1025. package/lib/commonjs/cli/state-docs/index.js.map +0 -1
  1026. package/lib/commonjs/cli/state-docs/pd-to-md.js.map +0 -1
  1027. package/lib/commonjs/cli/structure-info/helpers.js.map +0 -1
  1028. package/lib/commonjs/cli/structure-info/model.js.map +0 -1
  1029. package/lib/commonjs/cli/structure-info/volume.js.map +0 -1
  1030. package/lib/commonjs/examples/alpha-orbitals/controls.js.map +0 -1
  1031. package/lib/commonjs/examples/alpha-orbitals/example-data.js.map +0 -1
  1032. package/lib/commonjs/examples/alpha-orbitals/index.js.map +0 -1
  1033. package/lib/commonjs/examples/basic-wrapper/coloring.js.map +0 -1
  1034. package/lib/commonjs/examples/basic-wrapper/controls.js.map +0 -1
  1035. package/lib/commonjs/examples/basic-wrapper/custom-theme.js.map +0 -1
  1036. package/lib/commonjs/examples/basic-wrapper/index.js.map +0 -1
  1037. package/lib/commonjs/examples/basic-wrapper/superposition.js.map +0 -1
  1038. package/lib/commonjs/examples/domain-annotation-server/mapping.js.map +0 -1
  1039. package/lib/commonjs/examples/domain-annotation-server/schemas.js.map +0 -1
  1040. package/lib/commonjs/examples/domain-annotation-server/server.js.map +0 -1
  1041. package/lib/commonjs/examples/domain-annotation-server/test.js.map +0 -1
  1042. package/lib/commonjs/examples/lighting/index.js.map +0 -1
  1043. package/lib/commonjs/examples/proteopedia-wrapper/annotation.js.map +0 -1
  1044. package/lib/commonjs/examples/proteopedia-wrapper/coloring.js.map +0 -1
  1045. package/lib/commonjs/examples/proteopedia-wrapper/helpers.js.map +0 -1
  1046. package/lib/commonjs/examples/proteopedia-wrapper/index.js.map +0 -1
  1047. package/lib/commonjs/examples/proteopedia-wrapper/ui/controls.js.map +0 -1
  1048. package/lib/commonjs/examples/task.js.map +0 -1
  1049. package/lib/commonjs/extensions/alpha-orbitals/_spec/collocation.spec.d.ts +0 -6
  1050. package/lib/commonjs/extensions/alpha-orbitals/_spec/collocation.spec.js +0 -219
  1051. package/lib/commonjs/extensions/alpha-orbitals/_spec/collocation.spec.js.map +0 -1
  1052. package/lib/commonjs/extensions/alpha-orbitals/collocation.js.map +0 -1
  1053. package/lib/commonjs/extensions/alpha-orbitals/data-model.js.map +0 -1
  1054. package/lib/commonjs/extensions/alpha-orbitals/density.js.map +0 -1
  1055. package/lib/commonjs/extensions/alpha-orbitals/gpu/compute.js.map +0 -1
  1056. package/lib/commonjs/extensions/alpha-orbitals/gpu/shader.frag.js.map +0 -1
  1057. package/lib/commonjs/extensions/alpha-orbitals/orbitals.js.map +0 -1
  1058. package/lib/commonjs/extensions/alpha-orbitals/spherical-functions.js.map +0 -1
  1059. package/lib/commonjs/extensions/alpha-orbitals/transforms.js.map +0 -1
  1060. package/lib/commonjs/extensions/anvil/algorithm.js.map +0 -1
  1061. package/lib/commonjs/extensions/anvil/behavior.js.map +0 -1
  1062. package/lib/commonjs/extensions/anvil/prop.js.map +0 -1
  1063. package/lib/commonjs/extensions/anvil/representation.js.map +0 -1
  1064. package/lib/commonjs/extensions/cellpack/color/generate.js.map +0 -1
  1065. package/lib/commonjs/extensions/cellpack/color/provided.js.map +0 -1
  1066. package/lib/commonjs/extensions/cellpack/curve.js.map +0 -1
  1067. package/lib/commonjs/extensions/cellpack/data.js.map +0 -1
  1068. package/lib/commonjs/extensions/cellpack/index.js.map +0 -1
  1069. package/lib/commonjs/extensions/cellpack/model.js.map +0 -1
  1070. package/lib/commonjs/extensions/cellpack/preset.js.map +0 -1
  1071. package/lib/commonjs/extensions/cellpack/property.js.map +0 -1
  1072. package/lib/commonjs/extensions/cellpack/representation.js.map +0 -1
  1073. package/lib/commonjs/extensions/cellpack/state.js.map +0 -1
  1074. package/lib/commonjs/extensions/cellpack/util.js.map +0 -1
  1075. package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.js.map +0 -1
  1076. package/lib/commonjs/extensions/dnatco/confal-pyramids/color.js.map +0 -1
  1077. package/lib/commonjs/extensions/dnatco/confal-pyramids/property.js.map +0 -1
  1078. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.js.map +0 -1
  1079. package/lib/commonjs/extensions/dnatco/confal-pyramids/types.js.map +0 -1
  1080. package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js.map +0 -1
  1081. package/lib/commonjs/extensions/dnatco/index.js.map +0 -1
  1082. package/lib/commonjs/extensions/g3d/data.js.map +0 -1
  1083. package/lib/commonjs/extensions/g3d/format.js.map +0 -1
  1084. package/lib/commonjs/extensions/g3d/model.js.map +0 -1
  1085. package/lib/commonjs/extensions/geo-export/controls.js.map +0 -1
  1086. package/lib/commonjs/extensions/geo-export/glb-exporter.js.map +0 -1
  1087. package/lib/commonjs/extensions/geo-export/index.js.map +0 -1
  1088. package/lib/commonjs/extensions/geo-export/mesh-exporter.js.map +0 -1
  1089. package/lib/commonjs/extensions/geo-export/obj-exporter.js.map +0 -1
  1090. package/lib/commonjs/extensions/geo-export/render-object-exporter.js.map +0 -1
  1091. package/lib/commonjs/extensions/geo-export/stl-exporter.js.map +0 -1
  1092. package/lib/commonjs/extensions/geo-export/ui.js.map +0 -1
  1093. package/lib/commonjs/extensions/geo-export/usdz-exporter.js.map +0 -1
  1094. package/lib/commonjs/extensions/mp4-export/controls.js.map +0 -1
  1095. package/lib/commonjs/extensions/mp4-export/encoder.js.map +0 -1
  1096. package/lib/commonjs/extensions/mp4-export/index.js.map +0 -1
  1097. package/lib/commonjs/extensions/mp4-export/ui.js.map +0 -1
  1098. package/lib/commonjs/extensions/pdbe/index.js.map +0 -1
  1099. package/lib/commonjs/extensions/pdbe/preferred-assembly.js.map +0 -1
  1100. package/lib/commonjs/extensions/pdbe/struct-ref-domain.js.map +0 -1
  1101. package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js.map +0 -1
  1102. package/lib/commonjs/extensions/pdbe/structure-quality-report/color.js.map +0 -1
  1103. package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js.map +0 -1
  1104. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js.map +0 -1
  1105. package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js.map +0 -1
  1106. package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js.map +0 -1
  1107. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js.map +0 -1
  1108. package/lib/commonjs/extensions/rcsb/assembly-symmetry/ui.js.map +0 -1
  1109. package/lib/commonjs/extensions/rcsb/graphql/symmetry.gql.js.map +0 -1
  1110. package/lib/commonjs/extensions/rcsb/graphql/types.js.map +0 -1
  1111. package/lib/commonjs/extensions/rcsb/index.js.map +0 -1
  1112. package/lib/commonjs/extensions/rcsb/validation-report/behavior.js.map +0 -1
  1113. package/lib/commonjs/extensions/rcsb/validation-report/color/density-fit.js.map +0 -1
  1114. package/lib/commonjs/extensions/rcsb/validation-report/color/geometry-quality.js.map +0 -1
  1115. package/lib/commonjs/extensions/rcsb/validation-report/color/random-coil-index.js.map +0 -1
  1116. package/lib/commonjs/extensions/rcsb/validation-report/prop.js.map +0 -1
  1117. package/lib/commonjs/extensions/rcsb/validation-report/representation.js.map +0 -1
  1118. package/lib/commonjs/mol-canvas3d/camera/stereo.js.map +0 -1
  1119. package/lib/commonjs/mol-canvas3d/camera/transition.js.map +0 -1
  1120. package/lib/commonjs/mol-canvas3d/camera/util.js.map +0 -1
  1121. package/lib/commonjs/mol-canvas3d/camera.js.map +0 -1
  1122. package/lib/commonjs/mol-canvas3d/canvas3d.js.map +0 -1
  1123. package/lib/commonjs/mol-canvas3d/controls/object.js.map +0 -1
  1124. package/lib/commonjs/mol-canvas3d/controls/trackball.js.map +0 -1
  1125. package/lib/commonjs/mol-canvas3d/helper/bounding-sphere-helper.js.map +0 -1
  1126. package/lib/commonjs/mol-canvas3d/helper/camera-helper.js.map +0 -1
  1127. package/lib/commonjs/mol-canvas3d/helper/handle-helper.js.map +0 -1
  1128. package/lib/commonjs/mol-canvas3d/helper/helper.js.map +0 -1
  1129. package/lib/commonjs/mol-canvas3d/helper/interaction-events.js.map +0 -1
  1130. package/lib/commonjs/mol-canvas3d/passes/draw.js.map +0 -1
  1131. package/lib/commonjs/mol-canvas3d/passes/fxaa.js.map +0 -1
  1132. package/lib/commonjs/mol-canvas3d/passes/image.js.map +0 -1
  1133. package/lib/commonjs/mol-canvas3d/passes/marking.js.map +0 -1
  1134. package/lib/commonjs/mol-canvas3d/passes/multi-sample.js.map +0 -1
  1135. package/lib/commonjs/mol-canvas3d/passes/passes.js.map +0 -1
  1136. package/lib/commonjs/mol-canvas3d/passes/pick.js.map +0 -1
  1137. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js.map +0 -1
  1138. package/lib/commonjs/mol-canvas3d/passes/smaa.js.map +0 -1
  1139. package/lib/commonjs/mol-canvas3d/passes/wboit.js.map +0 -1
  1140. package/lib/commonjs/mol-canvas3d/util.js.map +0 -1
  1141. package/lib/commonjs/mol-data/_spec/equiv-index.spec.d.ts +0 -6
  1142. package/lib/commonjs/mol-data/_spec/equiv-index.spec.js +0 -19
  1143. package/lib/commonjs/mol-data/_spec/equiv-index.spec.js.map +0 -1
  1144. package/lib/commonjs/mol-data/_spec/iterators.spec.d.ts +0 -6
  1145. package/lib/commonjs/mol-data/_spec/iterators.spec.js +0 -30
  1146. package/lib/commonjs/mol-data/_spec/iterators.spec.js.map +0 -1
  1147. package/lib/commonjs/mol-data/_spec/sort.spec.d.ts +0 -6
  1148. package/lib/commonjs/mol-data/_spec/sort.spec.js +0 -90
  1149. package/lib/commonjs/mol-data/_spec/sort.spec.js.map +0 -1
  1150. package/lib/commonjs/mol-data/db/_spec/table.spec.d.ts +0 -7
  1151. package/lib/commonjs/mol-data/db/_spec/table.spec.js +0 -118
  1152. package/lib/commonjs/mol-data/db/_spec/table.spec.js.map +0 -1
  1153. package/lib/commonjs/mol-data/db/column-helpers.js.map +0 -1
  1154. package/lib/commonjs/mol-data/db/column.js.map +0 -1
  1155. package/lib/commonjs/mol-data/db/database.js.map +0 -1
  1156. package/lib/commonjs/mol-data/db/table.js.map +0 -1
  1157. package/lib/commonjs/mol-data/db.js.map +0 -1
  1158. package/lib/commonjs/mol-data/generic/_spec/linked-list.spec.d.ts +0 -6
  1159. package/lib/commonjs/mol-data/generic/_spec/linked-list.spec.js +0 -60
  1160. package/lib/commonjs/mol-data/generic/_spec/linked-list.spec.js.map +0 -1
  1161. package/lib/commonjs/mol-data/generic/hash-set.js.map +0 -1
  1162. package/lib/commonjs/mol-data/generic/linked-list.js.map +0 -1
  1163. package/lib/commonjs/mol-data/generic/unique-array.js.map +0 -1
  1164. package/lib/commonjs/mol-data/generic.js.map +0 -1
  1165. package/lib/commonjs/mol-data/index.js.map +0 -1
  1166. package/lib/commonjs/mol-data/int/_spec/interval.spec.d.ts +0 -6
  1167. package/lib/commonjs/mol-data/int/_spec/interval.spec.js +0 -67
  1168. package/lib/commonjs/mol-data/int/_spec/interval.spec.js.map +0 -1
  1169. package/lib/commonjs/mol-data/int/_spec/linked-index.spec.d.ts +0 -6
  1170. package/lib/commonjs/mol-data/int/_spec/linked-index.spec.js +0 -47
  1171. package/lib/commonjs/mol-data/int/_spec/linked-index.spec.js.map +0 -1
  1172. package/lib/commonjs/mol-data/int/_spec/ordered-set.spec.d.ts +0 -6
  1173. package/lib/commonjs/mol-data/int/_spec/ordered-set.spec.js +0 -172
  1174. package/lib/commonjs/mol-data/int/_spec/ordered-set.spec.js.map +0 -1
  1175. package/lib/commonjs/mol-data/int/_spec/segmentation.spec.d.ts +0 -6
  1176. package/lib/commonjs/mol-data/int/_spec/segmentation.spec.js +0 -112
  1177. package/lib/commonjs/mol-data/int/_spec/segmentation.spec.js.map +0 -1
  1178. package/lib/commonjs/mol-data/int/_spec/sorted-array.spec.d.ts +0 -6
  1179. package/lib/commonjs/mol-data/int/_spec/sorted-array.spec.js +0 -85
  1180. package/lib/commonjs/mol-data/int/_spec/sorted-array.spec.js.map +0 -1
  1181. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.d.ts +0 -6
  1182. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js +0 -43
  1183. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js.map +0 -1
  1184. package/lib/commonjs/mol-data/int/_spec/tuple.spec.d.ts +0 -6
  1185. package/lib/commonjs/mol-data/int/_spec/tuple.spec.js +0 -20
  1186. package/lib/commonjs/mol-data/int/_spec/tuple.spec.js.map +0 -1
  1187. package/lib/commonjs/mol-data/int/impl/interval.js.map +0 -1
  1188. package/lib/commonjs/mol-data/int/impl/ordered-set.js.map +0 -1
  1189. package/lib/commonjs/mol-data/int/impl/segmentation.js.map +0 -1
  1190. package/lib/commonjs/mol-data/int/impl/sorted-array.js.map +0 -1
  1191. package/lib/commonjs/mol-data/int/interval.js.map +0 -1
  1192. package/lib/commonjs/mol-data/int/linked-index.js.map +0 -1
  1193. package/lib/commonjs/mol-data/int/map.js.map +0 -1
  1194. package/lib/commonjs/mol-data/int/ordered-set.js.map +0 -1
  1195. package/lib/commonjs/mol-data/int/segmentation.js.map +0 -1
  1196. package/lib/commonjs/mol-data/int/sorted-array.js.map +0 -1
  1197. package/lib/commonjs/mol-data/int/sorted-ranges.js.map +0 -1
  1198. package/lib/commonjs/mol-data/int/tuple.js.map +0 -1
  1199. package/lib/commonjs/mol-data/int.js.map +0 -1
  1200. package/lib/commonjs/mol-data/iterator.js.map +0 -1
  1201. package/lib/commonjs/mol-data/util/_spec/buckets.spec.d.ts +0 -6
  1202. package/lib/commonjs/mol-data/util/_spec/buckets.spec.js +0 -40
  1203. package/lib/commonjs/mol-data/util/_spec/buckets.spec.js.map +0 -1
  1204. package/lib/commonjs/mol-data/util/_spec/chunked-array.spec.d.ts +0 -6
  1205. package/lib/commonjs/mol-data/util/_spec/chunked-array.spec.js +0 -48
  1206. package/lib/commonjs/mol-data/util/_spec/chunked-array.spec.js.map +0 -1
  1207. package/lib/commonjs/mol-data/util/_spec/combination.spec.d.ts +0 -6
  1208. package/lib/commonjs/mol-data/util/_spec/combination.spec.js +0 -27
  1209. package/lib/commonjs/mol-data/util/_spec/combination.spec.js.map +0 -1
  1210. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.d.ts +0 -6
  1211. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js +0 -28
  1212. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js.map +0 -1
  1213. package/lib/commonjs/mol-data/util/array.js.map +0 -1
  1214. package/lib/commonjs/mol-data/util/buckets.js.map +0 -1
  1215. package/lib/commonjs/mol-data/util/chunked-array.js.map +0 -1
  1216. package/lib/commonjs/mol-data/util/combination.js.map +0 -1
  1217. package/lib/commonjs/mol-data/util/equivalence-classes.js.map +0 -1
  1218. package/lib/commonjs/mol-data/util/grouping.js.map +0 -1
  1219. package/lib/commonjs/mol-data/util/hash-functions.js.map +0 -1
  1220. package/lib/commonjs/mol-data/util/interval-iterator.js.map +0 -1
  1221. package/lib/commonjs/mol-data/util/sort.js.map +0 -1
  1222. package/lib/commonjs/mol-data/util.js.map +0 -1
  1223. package/lib/commonjs/mol-geo/geometry/base.js.map +0 -1
  1224. package/lib/commonjs/mol-geo/geometry/clipping-data.js.map +0 -1
  1225. package/lib/commonjs/mol-geo/geometry/color-data.js.map +0 -1
  1226. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders-builder.js.map +0 -1
  1227. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js.map +0 -1
  1228. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js.map +0 -1
  1229. package/lib/commonjs/mol-geo/geometry/direct-volume/transfer-function.js.map +0 -1
  1230. package/lib/commonjs/mol-geo/geometry/geometry.js.map +0 -1
  1231. package/lib/commonjs/mol-geo/geometry/image/image.js.map +0 -1
  1232. package/lib/commonjs/mol-geo/geometry/lines/lines-builder.js.map +0 -1
  1233. package/lib/commonjs/mol-geo/geometry/lines/lines.js.map +0 -1
  1234. package/lib/commonjs/mol-geo/geometry/marker-data.js.map +0 -1
  1235. package/lib/commonjs/mol-geo/geometry/mesh/builder/axes.js.map +0 -1
  1236. package/lib/commonjs/mol-geo/geometry/mesh/builder/box.js.map +0 -1
  1237. package/lib/commonjs/mol-geo/geometry/mesh/builder/cylinder.js.map +0 -1
  1238. package/lib/commonjs/mol-geo/geometry/mesh/builder/ellipsoid.js.map +0 -1
  1239. package/lib/commonjs/mol-geo/geometry/mesh/builder/ribbon.js.map +0 -1
  1240. package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.js.map +0 -1
  1241. package/lib/commonjs/mol-geo/geometry/mesh/builder/sphere.js.map +0 -1
  1242. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js.map +0 -1
  1243. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js.map +0 -1
  1244. package/lib/commonjs/mol-geo/geometry/mesh/laplacian-smoothing.js.map +0 -1
  1245. package/lib/commonjs/mol-geo/geometry/mesh/mesh-builder.js.map +0 -1
  1246. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js.map +0 -1
  1247. package/lib/commonjs/mol-geo/geometry/overpaint-data.js.map +0 -1
  1248. package/lib/commonjs/mol-geo/geometry/picking.js.map +0 -1
  1249. package/lib/commonjs/mol-geo/geometry/points/points-builder.js.map +0 -1
  1250. package/lib/commonjs/mol-geo/geometry/points/points.js.map +0 -1
  1251. package/lib/commonjs/mol-geo/geometry/size-data.js.map +0 -1
  1252. package/lib/commonjs/mol-geo/geometry/spheres/spheres-builder.js.map +0 -1
  1253. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js.map +0 -1
  1254. package/lib/commonjs/mol-geo/geometry/text/font-atlas.js.map +0 -1
  1255. package/lib/commonjs/mol-geo/geometry/text/text-builder.js.map +0 -1
  1256. package/lib/commonjs/mol-geo/geometry/text/text.js.map +0 -1
  1257. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js.map +0 -1
  1258. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js.map +0 -1
  1259. package/lib/commonjs/mol-geo/geometry/transform-data.js.map +0 -1
  1260. package/lib/commonjs/mol-geo/geometry/transparency-data.js.map +0 -1
  1261. package/lib/commonjs/mol-geo/primitive/box.js.map +0 -1
  1262. package/lib/commonjs/mol-geo/primitive/cage.js.map +0 -1
  1263. package/lib/commonjs/mol-geo/primitive/circle.js.map +0 -1
  1264. package/lib/commonjs/mol-geo/primitive/cylinder.js.map +0 -1
  1265. package/lib/commonjs/mol-geo/primitive/dodecahedron.js.map +0 -1
  1266. package/lib/commonjs/mol-geo/primitive/icosahedron.js.map +0 -1
  1267. package/lib/commonjs/mol-geo/primitive/octahedron.js.map +0 -1
  1268. package/lib/commonjs/mol-geo/primitive/plane.js.map +0 -1
  1269. package/lib/commonjs/mol-geo/primitive/polygon.js.map +0 -1
  1270. package/lib/commonjs/mol-geo/primitive/polyhedron.js.map +0 -1
  1271. package/lib/commonjs/mol-geo/primitive/primitive.js.map +0 -1
  1272. package/lib/commonjs/mol-geo/primitive/prism.js.map +0 -1
  1273. package/lib/commonjs/mol-geo/primitive/pyramid.js.map +0 -1
  1274. package/lib/commonjs/mol-geo/primitive/sphere.js.map +0 -1
  1275. package/lib/commonjs/mol-geo/primitive/spiked-ball.js.map +0 -1
  1276. package/lib/commonjs/mol-geo/primitive/star.js.map +0 -1
  1277. package/lib/commonjs/mol-geo/primitive/tetrahedron.js.map +0 -1
  1278. package/lib/commonjs/mol-geo/primitive/torus.js.map +0 -1
  1279. package/lib/commonjs/mol-geo/primitive/wedge.js.map +0 -1
  1280. package/lib/commonjs/mol-geo/util/location-iterator.js.map +0 -1
  1281. package/lib/commonjs/mol-geo/util/marching-cubes/algorithm.js.map +0 -1
  1282. package/lib/commonjs/mol-geo/util/marching-cubes/builder.js.map +0 -1
  1283. package/lib/commonjs/mol-geo/util/marching-cubes/tables.js.map +0 -1
  1284. package/lib/commonjs/mol-geo/util.js.map +0 -1
  1285. package/lib/commonjs/mol-gl/_spec/cylinders.spec.d.ts +0 -6
  1286. package/lib/commonjs/mol-gl/_spec/cylinders.spec.js +0 -42
  1287. package/lib/commonjs/mol-gl/_spec/cylinders.spec.js.map +0 -1
  1288. package/lib/commonjs/mol-gl/_spec/direct-volume.spec.d.ts +0 -6
  1289. package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js +0 -42
  1290. package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js.map +0 -1
  1291. package/lib/commonjs/mol-gl/_spec/gl.d.ts +0 -9
  1292. package/lib/commonjs/mol-gl/_spec/gl.js +0 -33
  1293. package/lib/commonjs/mol-gl/_spec/gl.js.map +0 -1
  1294. package/lib/commonjs/mol-gl/_spec/gl.shim.d.ts +0 -6
  1295. package/lib/commonjs/mol-gl/_spec/gl.shim.js +0 -631
  1296. package/lib/commonjs/mol-gl/_spec/gl.shim.js.map +0 -1
  1297. package/lib/commonjs/mol-gl/_spec/image.spec.d.ts +0 -6
  1298. package/lib/commonjs/mol-gl/_spec/image.spec.js +0 -42
  1299. package/lib/commonjs/mol-gl/_spec/image.spec.js.map +0 -1
  1300. package/lib/commonjs/mol-gl/_spec/lines.spec.d.ts +0 -6
  1301. package/lib/commonjs/mol-gl/_spec/lines.spec.js +0 -42
  1302. package/lib/commonjs/mol-gl/_spec/lines.spec.js.map +0 -1
  1303. package/lib/commonjs/mol-gl/_spec/mesh.spec.d.ts +0 -6
  1304. package/lib/commonjs/mol-gl/_spec/mesh.spec.js +0 -42
  1305. package/lib/commonjs/mol-gl/_spec/mesh.spec.js.map +0 -1
  1306. package/lib/commonjs/mol-gl/_spec/points.spec.d.ts +0 -6
  1307. package/lib/commonjs/mol-gl/_spec/points.spec.js +0 -42
  1308. package/lib/commonjs/mol-gl/_spec/points.spec.js.map +0 -1
  1309. package/lib/commonjs/mol-gl/_spec/renderable.spec.d.ts +0 -6
  1310. package/lib/commonjs/mol-gl/_spec/renderable.spec.js +0 -38
  1311. package/lib/commonjs/mol-gl/_spec/renderable.spec.js.map +0 -1
  1312. package/lib/commonjs/mol-gl/_spec/renderer.spec.d.ts +0 -12
  1313. package/lib/commonjs/mol-gl/_spec/renderer.spec.js +0 -71
  1314. package/lib/commonjs/mol-gl/_spec/renderer.spec.js.map +0 -1
  1315. package/lib/commonjs/mol-gl/_spec/spheres.spec.d.ts +0 -6
  1316. package/lib/commonjs/mol-gl/_spec/spheres.spec.js +0 -42
  1317. package/lib/commonjs/mol-gl/_spec/spheres.spec.js.map +0 -1
  1318. package/lib/commonjs/mol-gl/_spec/text.spec.d.ts +0 -6
  1319. package/lib/commonjs/mol-gl/_spec/text.spec.js +0 -42
  1320. package/lib/commonjs/mol-gl/_spec/text.spec.js.map +0 -1
  1321. package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.d.ts +0 -6
  1322. package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js +0 -42
  1323. package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js.map +0 -1
  1324. package/lib/commonjs/mol-gl/commit-queue.js.map +0 -1
  1325. package/lib/commonjs/mol-gl/compute/grid3d.js.map +0 -1
  1326. package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js.map +0 -1
  1327. package/lib/commonjs/mol-gl/compute/histogram-pyramid/sum.js.map +0 -1
  1328. package/lib/commonjs/mol-gl/compute/marching-cubes/active-voxels.js.map +0 -1
  1329. package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.js.map +0 -1
  1330. package/lib/commonjs/mol-gl/compute/marching-cubes/tables.js.map +0 -1
  1331. package/lib/commonjs/mol-gl/compute/util.js.map +0 -1
  1332. package/lib/commonjs/mol-gl/object3d.js.map +0 -1
  1333. package/lib/commonjs/mol-gl/render-object.js.map +0 -1
  1334. package/lib/commonjs/mol-gl/renderable/cylinders.js.map +0 -1
  1335. package/lib/commonjs/mol-gl/renderable/direct-volume.js.map +0 -1
  1336. package/lib/commonjs/mol-gl/renderable/image.js.map +0 -1
  1337. package/lib/commonjs/mol-gl/renderable/lines.js.map +0 -1
  1338. package/lib/commonjs/mol-gl/renderable/mesh.js.map +0 -1
  1339. package/lib/commonjs/mol-gl/renderable/points.js.map +0 -1
  1340. package/lib/commonjs/mol-gl/renderable/schema.js.map +0 -1
  1341. package/lib/commonjs/mol-gl/renderable/spheres.js.map +0 -1
  1342. package/lib/commonjs/mol-gl/renderable/text.js.map +0 -1
  1343. package/lib/commonjs/mol-gl/renderable/texture-mesh.js.map +0 -1
  1344. package/lib/commonjs/mol-gl/renderable/util.js.map +0 -1
  1345. package/lib/commonjs/mol-gl/renderable.js.map +0 -1
  1346. package/lib/commonjs/mol-gl/renderer.js.map +0 -1
  1347. package/lib/commonjs/mol-gl/scene.js.map +0 -1
  1348. package/lib/commonjs/mol-gl/shader/chunks/apply-fog.glsl.js.map +0 -1
  1349. package/lib/commonjs/mol-gl/shader/chunks/apply-interior-color.glsl.js.map +0 -1
  1350. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js.map +0 -1
  1351. package/lib/commonjs/mol-gl/shader/chunks/apply-marker-color.glsl.js.map +0 -1
  1352. package/lib/commonjs/mol-gl/shader/chunks/assign-clipping-varying.glsl.js.map +0 -1
  1353. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js.map +0 -1
  1354. package/lib/commonjs/mol-gl/shader/chunks/assign-group.glsl.js.map +0 -1
  1355. package/lib/commonjs/mol-gl/shader/chunks/assign-marker-varying.glsl.js.map +0 -1
  1356. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js.map +0 -1
  1357. package/lib/commonjs/mol-gl/shader/chunks/assign-position.glsl.js.map +0 -1
  1358. package/lib/commonjs/mol-gl/shader/chunks/assign-size.glsl.js.map +0 -1
  1359. package/lib/commonjs/mol-gl/shader/chunks/check-picking-alpha.glsl.js.map +0 -1
  1360. package/lib/commonjs/mol-gl/shader/chunks/clip-instance.glsl.js.map +0 -1
  1361. package/lib/commonjs/mol-gl/shader/chunks/clip-pixel.glsl.js.map +0 -1
  1362. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js.map +0 -1
  1363. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js.map +0 -1
  1364. package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.js.map +0 -1
  1365. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js.map +0 -1
  1366. package/lib/commonjs/mol-gl/shader/chunks/common-vert-params.glsl.js.map +0 -1
  1367. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js.map +0 -1
  1368. package/lib/commonjs/mol-gl/shader/chunks/float-to-rgba.glsl.js.map +0 -1
  1369. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.js.map +0 -1
  1370. package/lib/commonjs/mol-gl/shader/chunks/matrix-scale.glsl.js.map +0 -1
  1371. package/lib/commonjs/mol-gl/shader/chunks/normal-frag-params.glsl.js.map +0 -1
  1372. package/lib/commonjs/mol-gl/shader/chunks/read-from-texture.glsl.js.map +0 -1
  1373. package/lib/commonjs/mol-gl/shader/chunks/rgba-to-float.glsl.js.map +0 -1
  1374. package/lib/commonjs/mol-gl/shader/chunks/size-vert-params.glsl.js.map +0 -1
  1375. package/lib/commonjs/mol-gl/shader/chunks/texture3d-from-1d-trilinear.glsl.js.map +0 -1
  1376. package/lib/commonjs/mol-gl/shader/chunks/texture3d-from-2d-linear.glsl.js.map +0 -1
  1377. package/lib/commonjs/mol-gl/shader/chunks/texture3d-from-2d-nearest.glsl.js.map +0 -1
  1378. package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.js.map +0 -1
  1379. package/lib/commonjs/mol-gl/shader/compose.frag.js.map +0 -1
  1380. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.frag.js.map +0 -1
  1381. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.vert.js.map +0 -1
  1382. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/normalize.frag.js.map +0 -1
  1383. package/lib/commonjs/mol-gl/shader/copy.frag.js.map +0 -1
  1384. package/lib/commonjs/mol-gl/shader/cylinders.frag.js.map +0 -1
  1385. package/lib/commonjs/mol-gl/shader/cylinders.vert.js.map +0 -1
  1386. package/lib/commonjs/mol-gl/shader/depth-merge.frag.js.map +0 -1
  1387. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js.map +0 -1
  1388. package/lib/commonjs/mol-gl/shader/direct-volume.vert.js.map +0 -1
  1389. package/lib/commonjs/mol-gl/shader/evaluate-wboit.frag.js.map +0 -1
  1390. package/lib/commonjs/mol-gl/shader/fxaa.frag.js.map +0 -1
  1391. package/lib/commonjs/mol-gl/shader/gaussian-density.frag.js.map +0 -1
  1392. package/lib/commonjs/mol-gl/shader/gaussian-density.vert.js.map +0 -1
  1393. package/lib/commonjs/mol-gl/shader/histogram-pyramid/reduction.frag.js.map +0 -1
  1394. package/lib/commonjs/mol-gl/shader/histogram-pyramid/sum.frag.js.map +0 -1
  1395. package/lib/commonjs/mol-gl/shader/image.frag.js.map +0 -1
  1396. package/lib/commonjs/mol-gl/shader/image.vert.js.map +0 -1
  1397. package/lib/commonjs/mol-gl/shader/lines.frag.js.map +0 -1
  1398. package/lib/commonjs/mol-gl/shader/lines.vert.js.map +0 -1
  1399. package/lib/commonjs/mol-gl/shader/marching-cubes/active-voxels.frag.js.map +0 -1
  1400. package/lib/commonjs/mol-gl/shader/marching-cubes/isosurface.frag.js.map +0 -1
  1401. package/lib/commonjs/mol-gl/shader/marking/edge.frag.js.map +0 -1
  1402. package/lib/commonjs/mol-gl/shader/marking/overlay.frag.js.map +0 -1
  1403. package/lib/commonjs/mol-gl/shader/mesh.frag.js.map +0 -1
  1404. package/lib/commonjs/mol-gl/shader/mesh.vert.js.map +0 -1
  1405. package/lib/commonjs/mol-gl/shader/outlines.frag.js.map +0 -1
  1406. package/lib/commonjs/mol-gl/shader/points.frag.js.map +0 -1
  1407. package/lib/commonjs/mol-gl/shader/points.vert.js.map +0 -1
  1408. package/lib/commonjs/mol-gl/shader/postprocessing.frag.js.map +0 -1
  1409. package/lib/commonjs/mol-gl/shader/quad.vert.js.map +0 -1
  1410. package/lib/commonjs/mol-gl/shader/smaa/blend.frag.js.map +0 -1
  1411. package/lib/commonjs/mol-gl/shader/smaa/blend.vert.js.map +0 -1
  1412. package/lib/commonjs/mol-gl/shader/smaa/edges.frag.js.map +0 -1
  1413. package/lib/commonjs/mol-gl/shader/smaa/edges.vert.js.map +0 -1
  1414. package/lib/commonjs/mol-gl/shader/smaa/weights.frag.js.map +0 -1
  1415. package/lib/commonjs/mol-gl/shader/smaa/weights.vert.js.map +0 -1
  1416. package/lib/commonjs/mol-gl/shader/spheres.frag.js.map +0 -1
  1417. package/lib/commonjs/mol-gl/shader/spheres.vert.js.map +0 -1
  1418. package/lib/commonjs/mol-gl/shader/ssao-blur.frag.js.map +0 -1
  1419. package/lib/commonjs/mol-gl/shader/ssao.frag.js.map +0 -1
  1420. package/lib/commonjs/mol-gl/shader/text.frag.js.map +0 -1
  1421. package/lib/commonjs/mol-gl/shader/text.vert.js.map +0 -1
  1422. package/lib/commonjs/mol-gl/shader/util/grid3d-template.frag.js.map +0 -1
  1423. package/lib/commonjs/mol-gl/shader-code.js.map +0 -1
  1424. package/lib/commonjs/mol-gl/webgl/buffer.js.map +0 -1
  1425. package/lib/commonjs/mol-gl/webgl/compat.js.map +0 -1
  1426. package/lib/commonjs/mol-gl/webgl/context.js.map +0 -1
  1427. package/lib/commonjs/mol-gl/webgl/extensions.js.map +0 -1
  1428. package/lib/commonjs/mol-gl/webgl/framebuffer.js.map +0 -1
  1429. package/lib/commonjs/mol-gl/webgl/program.js.map +0 -1
  1430. package/lib/commonjs/mol-gl/webgl/render-item.js.map +0 -1
  1431. package/lib/commonjs/mol-gl/webgl/render-target.js.map +0 -1
  1432. package/lib/commonjs/mol-gl/webgl/renderbuffer.js.map +0 -1
  1433. package/lib/commonjs/mol-gl/webgl/resources.js.map +0 -1
  1434. package/lib/commonjs/mol-gl/webgl/shader.js.map +0 -1
  1435. package/lib/commonjs/mol-gl/webgl/state.js.map +0 -1
  1436. package/lib/commonjs/mol-gl/webgl/texture.js.map +0 -1
  1437. package/lib/commonjs/mol-gl/webgl/uniform.js.map +0 -1
  1438. package/lib/commonjs/mol-gl/webgl/vertex-array.js.map +0 -1
  1439. package/lib/commonjs/mol-io/common/ascii.js.map +0 -1
  1440. package/lib/commonjs/mol-io/common/binary-cif/array-encoder.js.map +0 -1
  1441. package/lib/commonjs/mol-io/common/binary-cif/classifier.js.map +0 -1
  1442. package/lib/commonjs/mol-io/common/binary-cif/decoder.js.map +0 -1
  1443. package/lib/commonjs/mol-io/common/binary-cif/encoding.js.map +0 -1
  1444. package/lib/commonjs/mol-io/common/binary-cif.js.map +0 -1
  1445. package/lib/commonjs/mol-io/common/binary.js.map +0 -1
  1446. package/lib/commonjs/mol-io/common/file-handle.js.map +0 -1
  1447. package/lib/commonjs/mol-io/common/msgpack/decode.js.map +0 -1
  1448. package/lib/commonjs/mol-io/common/msgpack/encode.js.map +0 -1
  1449. package/lib/commonjs/mol-io/common/simple-buffer.js.map +0 -1
  1450. package/lib/commonjs/mol-io/common/typed-array.js.map +0 -1
  1451. package/lib/commonjs/mol-io/common/utf8.js.map +0 -1
  1452. package/lib/commonjs/mol-io/reader/_spec/ccp4.spec.d.ts +0 -6
  1453. package/lib/commonjs/mol-io/reader/_spec/ccp4.spec.js +0 -48
  1454. package/lib/commonjs/mol-io/reader/_spec/ccp4.spec.js.map +0 -1
  1455. package/lib/commonjs/mol-io/reader/_spec/cif.spec.d.ts +0 -7
  1456. package/lib/commonjs/mol-io/reader/_spec/cif.spec.js +0 -75
  1457. package/lib/commonjs/mol-io/reader/_spec/cif.spec.js.map +0 -1
  1458. package/lib/commonjs/mol-io/reader/_spec/column.spec.d.ts +0 -7
  1459. package/lib/commonjs/mol-io/reader/_spec/column.spec.js +0 -74
  1460. package/lib/commonjs/mol-io/reader/_spec/column.spec.js.map +0 -1
  1461. package/lib/commonjs/mol-io/reader/_spec/common.spec.d.ts +0 -6
  1462. package/lib/commonjs/mol-io/reader/_spec/common.spec.js +0 -39
  1463. package/lib/commonjs/mol-io/reader/_spec/common.spec.js.map +0 -1
  1464. package/lib/commonjs/mol-io/reader/_spec/csv.spec.d.ts +0 -6
  1465. package/lib/commonjs/mol-io/reader/_spec/csv.spec.js +0 -87
  1466. package/lib/commonjs/mol-io/reader/_spec/csv.spec.js.map +0 -1
  1467. package/lib/commonjs/mol-io/reader/_spec/dcd.spec.d.ts +0 -6
  1468. package/lib/commonjs/mol-io/reader/_spec/dcd.spec.js +0 -71
  1469. package/lib/commonjs/mol-io/reader/_spec/dcd.spec.js.map +0 -1
  1470. package/lib/commonjs/mol-io/reader/_spec/gro.spec.d.ts +0 -7
  1471. package/lib/commonjs/mol-io/reader/_spec/gro.spec.js +0 -81
  1472. package/lib/commonjs/mol-io/reader/_spec/gro.spec.js.map +0 -1
  1473. package/lib/commonjs/mol-io/reader/_spec/mol.spec.d.ts +0 -1
  1474. package/lib/commonjs/mol-io/reader/_spec/mol.spec.js +0 -33
  1475. package/lib/commonjs/mol-io/reader/_spec/mol.spec.js.map +0 -1
  1476. package/lib/commonjs/mol-io/reader/_spec/mol2.spec.d.ts +0 -1
  1477. package/lib/commonjs/mol-io/reader/_spec/mol2.spec.js +0 -163
  1478. package/lib/commonjs/mol-io/reader/_spec/mol2.spec.js.map +0 -1
  1479. package/lib/commonjs/mol-io/reader/_spec/ply.spec.d.ts +0 -6
  1480. package/lib/commonjs/mol-io/reader/_spec/ply.spec.js +0 -68
  1481. package/lib/commonjs/mol-io/reader/_spec/ply.spec.js.map +0 -1
  1482. package/lib/commonjs/mol-io/reader/_spec/psf.spec.d.ts +0 -6
  1483. package/lib/commonjs/mol-io/reader/_spec/psf.spec.js +0 -52
  1484. package/lib/commonjs/mol-io/reader/_spec/psf.spec.js.map +0 -1
  1485. package/lib/commonjs/mol-io/reader/_spec/sdf.spec.d.ts +0 -1
  1486. package/lib/commonjs/mol-io/reader/_spec/sdf.spec.js +0 -54
  1487. package/lib/commonjs/mol-io/reader/_spec/sdf.spec.js.map +0 -1
  1488. package/lib/commonjs/mol-io/reader/ccp4/parser.js.map +0 -1
  1489. package/lib/commonjs/mol-io/reader/ccp4/schema.js.map +0 -1
  1490. package/lib/commonjs/mol-io/reader/cif/binary/field.js.map +0 -1
  1491. package/lib/commonjs/mol-io/reader/cif/binary/parser.js.map +0 -1
  1492. package/lib/commonjs/mol-io/reader/cif/data-model.js.map +0 -1
  1493. package/lib/commonjs/mol-io/reader/cif/schema/bird.js.map +0 -1
  1494. package/lib/commonjs/mol-io/reader/cif/schema/ccd-extras.js.map +0 -1
  1495. package/lib/commonjs/mol-io/reader/cif/schema/ccd.js.map +0 -1
  1496. package/lib/commonjs/mol-io/reader/cif/schema/cif-core.js.map +0 -1
  1497. package/lib/commonjs/mol-io/reader/cif/schema/ddl.js.map +0 -1
  1498. package/lib/commonjs/mol-io/reader/cif/schema/density-server.js.map +0 -1
  1499. package/lib/commonjs/mol-io/reader/cif/schema/dic.js.map +0 -1
  1500. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.js.map +0 -1
  1501. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js.map +0 -1
  1502. package/lib/commonjs/mol-io/reader/cif/schema.js.map +0 -1
  1503. package/lib/commonjs/mol-io/reader/cif/text/parser.js.map +0 -1
  1504. package/lib/commonjs/mol-io/reader/cif.js.map +0 -1
  1505. package/lib/commonjs/mol-io/reader/common/binary/column.js.map +0 -1
  1506. package/lib/commonjs/mol-io/reader/common/text/column/fixed.js.map +0 -1
  1507. package/lib/commonjs/mol-io/reader/common/text/column/token.js.map +0 -1
  1508. package/lib/commonjs/mol-io/reader/common/text/number-parser.js.map +0 -1
  1509. package/lib/commonjs/mol-io/reader/common/text/tokenizer.js.map +0 -1
  1510. package/lib/commonjs/mol-io/reader/csv/data-model.js.map +0 -1
  1511. package/lib/commonjs/mol-io/reader/csv/field.js.map +0 -1
  1512. package/lib/commonjs/mol-io/reader/csv/parser.js.map +0 -1
  1513. package/lib/commonjs/mol-io/reader/csv/schema.js.map +0 -1
  1514. package/lib/commonjs/mol-io/reader/cube/parser.js.map +0 -1
  1515. package/lib/commonjs/mol-io/reader/dcd/parser.js.map +0 -1
  1516. package/lib/commonjs/mol-io/reader/dsn6/parser.js.map +0 -1
  1517. package/lib/commonjs/mol-io/reader/dsn6/schema.js.map +0 -1
  1518. package/lib/commonjs/mol-io/reader/dx/parser.js.map +0 -1
  1519. package/lib/commonjs/mol-io/reader/gro/parser.js.map +0 -1
  1520. package/lib/commonjs/mol-io/reader/mol/parser.js.map +0 -1
  1521. package/lib/commonjs/mol-io/reader/mol2/parser.js.map +0 -1
  1522. package/lib/commonjs/mol-io/reader/mol2/schema.js.map +0 -1
  1523. package/lib/commonjs/mol-io/reader/obj/parser.js.map +0 -1
  1524. package/lib/commonjs/mol-io/reader/pdb/parser.js.map +0 -1
  1525. package/lib/commonjs/mol-io/reader/pdb/schema.js.map +0 -1
  1526. package/lib/commonjs/mol-io/reader/ply/parser.js.map +0 -1
  1527. package/lib/commonjs/mol-io/reader/ply/schema.js.map +0 -1
  1528. package/lib/commonjs/mol-io/reader/psf/parser.js.map +0 -1
  1529. package/lib/commonjs/mol-io/reader/result.js.map +0 -1
  1530. package/lib/commonjs/mol-io/reader/sdf/parser.js.map +0 -1
  1531. package/lib/commonjs/mol-io/reader/xtc/parser.js.map +0 -1
  1532. package/lib/commonjs/mol-io/reader/xyz/parser.js.map +0 -1
  1533. package/lib/commonjs/mol-io/utils/short-string-pool.js.map +0 -1
  1534. package/lib/commonjs/mol-io/writer/_spec/cif.spec.d.ts +0 -1
  1535. package/lib/commonjs/mol-io/writer/_spec/cif.spec.js +0 -206
  1536. package/lib/commonjs/mol-io/writer/_spec/cif.spec.js.map +0 -1
  1537. package/lib/commonjs/mol-io/writer/cif/encoder/binary.js.map +0 -1
  1538. package/lib/commonjs/mol-io/writer/cif/encoder/text.js.map +0 -1
  1539. package/lib/commonjs/mol-io/writer/cif/encoder/util.js.map +0 -1
  1540. package/lib/commonjs/mol-io/writer/cif/encoder.js.map +0 -1
  1541. package/lib/commonjs/mol-io/writer/cif.js.map +0 -1
  1542. package/lib/commonjs/mol-io/writer/encoder.js.map +0 -1
  1543. package/lib/commonjs/mol-io/writer/ligand-encoder.js.map +0 -1
  1544. package/lib/commonjs/mol-io/writer/mol/encoder.js.map +0 -1
  1545. package/lib/commonjs/mol-io/writer/mol.js.map +0 -1
  1546. package/lib/commonjs/mol-io/writer/mol2/encoder.js.map +0 -1
  1547. package/lib/commonjs/mol-io/writer/mol2.js.map +0 -1
  1548. package/lib/commonjs/mol-io/writer/sdf.js.map +0 -1
  1549. package/lib/commonjs/mol-io/writer/writer.js.map +0 -1
  1550. package/lib/commonjs/mol-math/approx.js.map +0 -1
  1551. package/lib/commonjs/mol-math/easing.js.map +0 -1
  1552. package/lib/commonjs/mol-math/geometry/_spec/lookup3d.spec.d.ts +0 -6
  1553. package/lib/commonjs/mol-math/geometry/_spec/lookup3d.spec.js +0 -50
  1554. package/lib/commonjs/mol-math/geometry/_spec/lookup3d.spec.js.map +0 -1
  1555. package/lib/commonjs/mol-math/geometry/_spec/spacegroup.spec.d.ts +0 -6
  1556. package/lib/commonjs/mol-math/geometry/_spec/spacegroup.spec.js +0 -35
  1557. package/lib/commonjs/mol-math/geometry/_spec/spacegroup.spec.js.map +0 -1
  1558. package/lib/commonjs/mol-math/geometry/boundary-helper.js.map +0 -1
  1559. package/lib/commonjs/mol-math/geometry/boundary.js.map +0 -1
  1560. package/lib/commonjs/mol-math/geometry/centroid-helper.js.map +0 -1
  1561. package/lib/commonjs/mol-math/geometry/common.js.map +0 -1
  1562. package/lib/commonjs/mol-math/geometry/distance-transform.js.map +0 -1
  1563. package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.js.map +0 -1
  1564. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js.map +0 -1
  1565. package/lib/commonjs/mol-math/geometry/gaussian-density.js.map +0 -1
  1566. package/lib/commonjs/mol-math/geometry/lookup3d/common.js.map +0 -1
  1567. package/lib/commonjs/mol-math/geometry/lookup3d/grid.js.map +0 -1
  1568. package/lib/commonjs/mol-math/geometry/molecular-surface.js.map +0 -1
  1569. package/lib/commonjs/mol-math/geometry/primitives/axes3d.js.map +0 -1
  1570. package/lib/commonjs/mol-math/geometry/primitives/box3d.js.map +0 -1
  1571. package/lib/commonjs/mol-math/geometry/primitives/sphere3d.js.map +0 -1
  1572. package/lib/commonjs/mol-math/geometry/spacegroup/cell.js.map +0 -1
  1573. package/lib/commonjs/mol-math/geometry/spacegroup/construction.js.map +0 -1
  1574. package/lib/commonjs/mol-math/geometry/spacegroup/tables.js.map +0 -1
  1575. package/lib/commonjs/mol-math/geometry/symmetry-operator.js.map +0 -1
  1576. package/lib/commonjs/mol-math/geometry.js.map +0 -1
  1577. package/lib/commonjs/mol-math/graph/_spec/int-graph.spec.d.ts +0 -6
  1578. package/lib/commonjs/mol-math/graph/_spec/int-graph.spec.js +0 -40
  1579. package/lib/commonjs/mol-math/graph/_spec/int-graph.spec.js.map +0 -1
  1580. package/lib/commonjs/mol-math/graph/int-adjacency-graph.js.map +0 -1
  1581. package/lib/commonjs/mol-math/graph/inter-unit-graph.js.map +0 -1
  1582. package/lib/commonjs/mol-math/graph.js.map +0 -1
  1583. package/lib/commonjs/mol-math/histogram.js.map +0 -1
  1584. package/lib/commonjs/mol-math/interpolate.js.map +0 -1
  1585. package/lib/commonjs/mol-math/linear-algebra/3d/common.js.map +0 -1
  1586. package/lib/commonjs/mol-math/linear-algebra/3d/mat3.js.map +0 -1
  1587. package/lib/commonjs/mol-math/linear-algebra/3d/mat4.js.map +0 -1
  1588. package/lib/commonjs/mol-math/linear-algebra/3d/minimize-rmsd.js.map +0 -1
  1589. package/lib/commonjs/mol-math/linear-algebra/3d/quat.js.map +0 -1
  1590. package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js.map +0 -1
  1591. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js.map +0 -1
  1592. package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js.map +0 -1
  1593. package/lib/commonjs/mol-math/linear-algebra/3d.js.map +0 -1
  1594. package/lib/commonjs/mol-math/linear-algebra/_spec/approx.spec.d.ts +0 -6
  1595. package/lib/commonjs/mol-math/linear-algebra/_spec/approx.spec.js +0 -77
  1596. package/lib/commonjs/mol-math/linear-algebra/_spec/approx.spec.js.map +0 -1
  1597. package/lib/commonjs/mol-math/linear-algebra/_spec/mat3.spec.d.ts +0 -6
  1598. package/lib/commonjs/mol-math/linear-algebra/_spec/mat3.spec.js +0 -27
  1599. package/lib/commonjs/mol-math/linear-algebra/_spec/mat3.spec.js.map +0 -1
  1600. package/lib/commonjs/mol-math/linear-algebra/_spec/mat4.spec.d.ts +0 -6
  1601. package/lib/commonjs/mol-math/linear-algebra/_spec/mat4.spec.js +0 -23
  1602. package/lib/commonjs/mol-math/linear-algebra/_spec/mat4.spec.js.map +0 -1
  1603. package/lib/commonjs/mol-math/linear-algebra/_spec/tensor.spec.d.ts +0 -6
  1604. package/lib/commonjs/mol-math/linear-algebra/_spec/tensor.spec.js +0 -286
  1605. package/lib/commonjs/mol-math/linear-algebra/_spec/tensor.spec.js.map +0 -1
  1606. package/lib/commonjs/mol-math/linear-algebra/_spec/vec3.spec.d.ts +0 -6
  1607. package/lib/commonjs/mol-math/linear-algebra/_spec/vec3.spec.js +0 -20
  1608. package/lib/commonjs/mol-math/linear-algebra/_spec/vec3.spec.js.map +0 -1
  1609. package/lib/commonjs/mol-math/linear-algebra/matrix/evd.js.map +0 -1
  1610. package/lib/commonjs/mol-math/linear-algebra/matrix/matrix.js.map +0 -1
  1611. package/lib/commonjs/mol-math/linear-algebra/matrix/principal-axes.js.map +0 -1
  1612. package/lib/commonjs/mol-math/linear-algebra/matrix/svd.js.map +0 -1
  1613. package/lib/commonjs/mol-math/linear-algebra/tensor.js.map +0 -1
  1614. package/lib/commonjs/mol-math/linear-algebra.js.map +0 -1
  1615. package/lib/commonjs/mol-math/misc.js.map +0 -1
  1616. package/lib/commonjs/mol-model/custom-property.js.map +0 -1
  1617. package/lib/commonjs/mol-model/location.js.map +0 -1
  1618. package/lib/commonjs/mol-model/loci.js.map +0 -1
  1619. package/lib/commonjs/mol-model/sequence/alignment/_spec/alignment.spec.d.ts +0 -6
  1620. package/lib/commonjs/mol-model/sequence/alignment/_spec/alignment.spec.js +0 -25
  1621. package/lib/commonjs/mol-model/sequence/alignment/_spec/alignment.spec.js.map +0 -1
  1622. package/lib/commonjs/mol-model/sequence/alignment/alignment.js.map +0 -1
  1623. package/lib/commonjs/mol-model/sequence/alignment/sequence.js.map +0 -1
  1624. package/lib/commonjs/mol-model/sequence/alignment/substitution-matrix.js.map +0 -1
  1625. package/lib/commonjs/mol-model/sequence/alignment.js.map +0 -1
  1626. package/lib/commonjs/mol-model/sequence/constants.js.map +0 -1
  1627. package/lib/commonjs/mol-model/sequence/sequence.js.map +0 -1
  1628. package/lib/commonjs/mol-model/sequence.js.map +0 -1
  1629. package/lib/commonjs/mol-model/shape/provider.js.map +0 -1
  1630. package/lib/commonjs/mol-model/shape/shape.js.map +0 -1
  1631. package/lib/commonjs/mol-model/shape.js.map +0 -1
  1632. package/lib/commonjs/mol-model/structure/coordinates/coordinates.js.map +0 -1
  1633. package/lib/commonjs/mol-model/structure/coordinates.js.map +0 -1
  1634. package/lib/commonjs/mol-model/structure/export/categories/atom_site.js.map +0 -1
  1635. package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +0 -1
  1636. package/lib/commonjs/mol-model/structure/export/categories/misc.js.map +0 -1
  1637. package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js.map +0 -1
  1638. package/lib/commonjs/mol-model/structure/export/categories/sequence.js.map +0 -1
  1639. package/lib/commonjs/mol-model/structure/export/categories/utils.js.map +0 -1
  1640. package/lib/commonjs/mol-model/structure/export/mmcif.js.map +0 -1
  1641. package/lib/commonjs/mol-model/structure/model/indexing.js.map +0 -1
  1642. package/lib/commonjs/mol-model/structure/model/model.js.map +0 -1
  1643. package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js.map +0 -1
  1644. package/lib/commonjs/mol-model/structure/model/properties/atomic/conformation.js.map +0 -1
  1645. package/lib/commonjs/mol-model/structure/model/properties/atomic/hierarchy.js.map +0 -1
  1646. package/lib/commonjs/mol-model/structure/model/properties/atomic/measures.js.map +0 -1
  1647. package/lib/commonjs/mol-model/structure/model/properties/atomic/types.js.map +0 -1
  1648. package/lib/commonjs/mol-model/structure/model/properties/atomic.js.map +0 -1
  1649. package/lib/commonjs/mol-model/structure/model/properties/coarse/conformation.js.map +0 -1
  1650. package/lib/commonjs/mol-model/structure/model/properties/coarse/hierarchy.js.map +0 -1
  1651. package/lib/commonjs/mol-model/structure/model/properties/coarse.js.map +0 -1
  1652. package/lib/commonjs/mol-model/structure/model/properties/common.js.map +0 -1
  1653. package/lib/commonjs/mol-model/structure/model/properties/custom/indexed.js.map +0 -1
  1654. package/lib/commonjs/mol-model/structure/model/properties/global-transform.js.map +0 -1
  1655. package/lib/commonjs/mol-model/structure/model/properties/seconday-structure.js.map +0 -1
  1656. package/lib/commonjs/mol-model/structure/model/properties/sequence.js.map +0 -1
  1657. package/lib/commonjs/mol-model/structure/model/properties/symmetry.js.map +0 -1
  1658. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-derived.js.map +0 -1
  1659. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js.map +0 -1
  1660. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-ranges.js.map +0 -1
  1661. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js.map +0 -1
  1662. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-ranges.js.map +0 -1
  1663. package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js.map +0 -1
  1664. package/lib/commonjs/mol-model/structure/model/types/ions.js.map +0 -1
  1665. package/lib/commonjs/mol-model/structure/model/types/lipids.js.map +0 -1
  1666. package/lib/commonjs/mol-model/structure/model/types.js.map +0 -1
  1667. package/lib/commonjs/mol-model/structure/model/util.js.map +0 -1
  1668. package/lib/commonjs/mol-model/structure/model.js.map +0 -1
  1669. package/lib/commonjs/mol-model/structure/query/context.js.map +0 -1
  1670. package/lib/commonjs/mol-model/structure/query/predicates.js.map +0 -1
  1671. package/lib/commonjs/mol-model/structure/query/queries/combinators.js.map +0 -1
  1672. package/lib/commonjs/mol-model/structure/query/queries/filters.js.map +0 -1
  1673. package/lib/commonjs/mol-model/structure/query/queries/generators.js.map +0 -1
  1674. package/lib/commonjs/mol-model/structure/query/queries/internal.js.map +0 -1
  1675. package/lib/commonjs/mol-model/structure/query/queries/modifiers.js.map +0 -1
  1676. package/lib/commonjs/mol-model/structure/query/query.js.map +0 -1
  1677. package/lib/commonjs/mol-model/structure/query/selection.js.map +0 -1
  1678. package/lib/commonjs/mol-model/structure/query/utils/builders.js.map +0 -1
  1679. package/lib/commonjs/mol-model/structure/query/utils/structure-distance.js.map +0 -1
  1680. package/lib/commonjs/mol-model/structure/query/utils/structure-set.js.map +0 -1
  1681. package/lib/commonjs/mol-model/structure/query.js.map +0 -1
  1682. package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js.map +0 -1
  1683. package/lib/commonjs/mol-model/structure/structure/carbohydrates/constants.js.map +0 -1
  1684. package/lib/commonjs/mol-model/structure/structure/carbohydrates/data.js.map +0 -1
  1685. package/lib/commonjs/mol-model/structure/structure/element/bundle.js.map +0 -1
  1686. package/lib/commonjs/mol-model/structure/structure/element/element.js.map +0 -1
  1687. package/lib/commonjs/mol-model/structure/structure/element/location.js.map +0 -1
  1688. package/lib/commonjs/mol-model/structure/structure/element/loci.js.map +0 -1
  1689. package/lib/commonjs/mol-model/structure/structure/element/stats.js.map +0 -1
  1690. package/lib/commonjs/mol-model/structure/structure/element/util.js.map +0 -1
  1691. package/lib/commonjs/mol-model/structure/structure/element.js.map +0 -1
  1692. package/lib/commonjs/mol-model/structure/structure/properties.js.map +0 -1
  1693. package/lib/commonjs/mol-model/structure/structure/structure.js.map +0 -1
  1694. package/lib/commonjs/mol-model/structure/structure/symmetry.js.map +0 -1
  1695. package/lib/commonjs/mol-model/structure/structure/unit/bonds/common.js.map +0 -1
  1696. package/lib/commonjs/mol-model/structure/structure/unit/bonds/data.js.map +0 -1
  1697. package/lib/commonjs/mol-model/structure/structure/unit/bonds/element-set-intra-bond-cache.js.map +0 -1
  1698. package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js.map +0 -1
  1699. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js.map +0 -1
  1700. package/lib/commonjs/mol-model/structure/structure/unit/bonds.js.map +0 -1
  1701. package/lib/commonjs/mol-model/structure/structure/unit/rings/compute.js.map +0 -1
  1702. package/lib/commonjs/mol-model/structure/structure/unit/rings.js.map +0 -1
  1703. package/lib/commonjs/mol-model/structure/structure/unit.js.map +0 -1
  1704. package/lib/commonjs/mol-model/structure/structure/util/boundary.js.map +0 -1
  1705. package/lib/commonjs/mol-model/structure/structure/util/lookup3d.js.map +0 -1
  1706. package/lib/commonjs/mol-model/structure/structure/util/polymer.js.map +0 -1
  1707. package/lib/commonjs/mol-model/structure/structure/util/principal-axes.js.map +0 -1
  1708. package/lib/commonjs/mol-model/structure/structure/util/subset-builder.js.map +0 -1
  1709. package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js.map +0 -1
  1710. package/lib/commonjs/mol-model/structure/structure/util/superposition.js.map +0 -1
  1711. package/lib/commonjs/mol-model/structure/structure/util/unique-subset-builder.js.map +0 -1
  1712. package/lib/commonjs/mol-model/structure/structure/util/unit-transforms.js.map +0 -1
  1713. package/lib/commonjs/mol-model/structure/structure.js.map +0 -1
  1714. package/lib/commonjs/mol-model/structure/topology/topology.js.map +0 -1
  1715. package/lib/commonjs/mol-model/structure/topology.js.map +0 -1
  1716. package/lib/commonjs/mol-model/structure/trajectory.js.map +0 -1
  1717. package/lib/commonjs/mol-model/structure/util.js.map +0 -1
  1718. package/lib/commonjs/mol-model/structure.js.map +0 -1
  1719. package/lib/commonjs/mol-model/volume/grid.js.map +0 -1
  1720. package/lib/commonjs/mol-model/volume/volume.js.map +0 -1
  1721. package/lib/commonjs/mol-model/volume.js.map +0 -1
  1722. package/lib/commonjs/mol-model-formats/format.js.map +0 -1
  1723. package/lib/commonjs/mol-model-formats/shape/ply.js.map +0 -1
  1724. package/lib/commonjs/mol-model-formats/structure/_spec/cif-core.spec.d.ts +0 -6
  1725. package/lib/commonjs/mol-model-formats/structure/_spec/cif-core.spec.js +0 -51
  1726. package/lib/commonjs/mol-model-formats/structure/_spec/cif-core.spec.js.map +0 -1
  1727. package/lib/commonjs/mol-model-formats/structure/_spec/pdb.spec.d.ts +0 -6
  1728. package/lib/commonjs/mol-model-formats/structure/_spec/pdb.spec.js +0 -26
  1729. package/lib/commonjs/mol-model-formats/structure/_spec/pdb.spec.js.map +0 -1
  1730. package/lib/commonjs/mol-model-formats/structure/basic/atomic.js.map +0 -1
  1731. package/lib/commonjs/mol-model-formats/structure/basic/coarse.js.map +0 -1
  1732. package/lib/commonjs/mol-model-formats/structure/basic/entities.js.map +0 -1
  1733. package/lib/commonjs/mol-model-formats/structure/basic/parser.js.map +0 -1
  1734. package/lib/commonjs/mol-model-formats/structure/basic/properties.js.map +0 -1
  1735. package/lib/commonjs/mol-model-formats/structure/basic/schema.js.map +0 -1
  1736. package/lib/commonjs/mol-model-formats/structure/basic/sequence.js.map +0 -1
  1737. package/lib/commonjs/mol-model-formats/structure/basic/sort.js.map +0 -1
  1738. package/lib/commonjs/mol-model-formats/structure/basic/util.js.map +0 -1
  1739. package/lib/commonjs/mol-model-formats/structure/cif-core.js.map +0 -1
  1740. package/lib/commonjs/mol-model-formats/structure/common/component.js.map +0 -1
  1741. package/lib/commonjs/mol-model-formats/structure/common/entity.js.map +0 -1
  1742. package/lib/commonjs/mol-model-formats/structure/common/property.js.map +0 -1
  1743. package/lib/commonjs/mol-model-formats/structure/common/util.js.map +0 -1
  1744. package/lib/commonjs/mol-model-formats/structure/cube.js.map +0 -1
  1745. package/lib/commonjs/mol-model-formats/structure/dcd.js.map +0 -1
  1746. package/lib/commonjs/mol-model-formats/structure/gro.js.map +0 -1
  1747. package/lib/commonjs/mol-model-formats/structure/mmcif.js.map +0 -1
  1748. package/lib/commonjs/mol-model-formats/structure/mol.js.map +0 -1
  1749. package/lib/commonjs/mol-model-formats/structure/mol2.js.map +0 -1
  1750. package/lib/commonjs/mol-model-formats/structure/pdb/anisotropic.js.map +0 -1
  1751. package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js.map +0 -1
  1752. package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.js.map +0 -1
  1753. package/lib/commonjs/mol-model-formats/structure/pdb/conect.js.map +0 -1
  1754. package/lib/commonjs/mol-model-formats/structure/pdb/entity.js.map +0 -1
  1755. package/lib/commonjs/mol-model-formats/structure/pdb/secondary-structure.js.map +0 -1
  1756. package/lib/commonjs/mol-model-formats/structure/pdb/to-cif.js.map +0 -1
  1757. package/lib/commonjs/mol-model-formats/structure/pdb.js.map +0 -1
  1758. package/lib/commonjs/mol-model-formats/structure/property/anisotropic.js.map +0 -1
  1759. package/lib/commonjs/mol-model-formats/structure/property/assembly.js.map +0 -1
  1760. package/lib/commonjs/mol-model-formats/structure/property/atoms/chem_comp.js.map +0 -1
  1761. package/lib/commonjs/mol-model-formats/structure/property/bonds/chem_comp.js.map +0 -1
  1762. package/lib/commonjs/mol-model-formats/structure/property/bonds/index-pair.js.map +0 -1
  1763. package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.js.map +0 -1
  1764. package/lib/commonjs/mol-model-formats/structure/property/partial-charge.js.map +0 -1
  1765. package/lib/commonjs/mol-model-formats/structure/property/secondary-structure.js.map +0 -1
  1766. package/lib/commonjs/mol-model-formats/structure/property/symmetry.js.map +0 -1
  1767. package/lib/commonjs/mol-model-formats/structure/psf.js.map +0 -1
  1768. package/lib/commonjs/mol-model-formats/structure/sdf.js.map +0 -1
  1769. package/lib/commonjs/mol-model-formats/structure/util.js.map +0 -1
  1770. package/lib/commonjs/mol-model-formats/structure/xtc.js.map +0 -1
  1771. package/lib/commonjs/mol-model-formats/structure/xyz.js.map +0 -1
  1772. package/lib/commonjs/mol-model-formats/volume/ccp4.js.map +0 -1
  1773. package/lib/commonjs/mol-model-formats/volume/cube.js.map +0 -1
  1774. package/lib/commonjs/mol-model-formats/volume/density-server.js.map +0 -1
  1775. package/lib/commonjs/mol-model-formats/volume/dsn6.js.map +0 -1
  1776. package/lib/commonjs/mol-model-formats/volume/dx.js.map +0 -1
  1777. package/lib/commonjs/mol-model-formats/volume/property.js.map +0 -1
  1778. package/lib/commonjs/mol-model-props/common/custom-element-property.js.map +0 -1
  1779. package/lib/commonjs/mol-model-props/common/custom-model-property.js.map +0 -1
  1780. package/lib/commonjs/mol-model-props/common/custom-property.js.map +0 -1
  1781. package/lib/commonjs/mol-model-props/common/custom-structure-property.js.map +0 -1
  1782. package/lib/commonjs/mol-model-props/common/wrapper.js.map +0 -1
  1783. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley/area.js.map +0 -1
  1784. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley/common.js.map +0 -1
  1785. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley/radii.js.map +0 -1
  1786. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley.js.map +0 -1
  1787. package/lib/commonjs/mol-model-props/computed/accessible-surface-area.js.map +0 -1
  1788. package/lib/commonjs/mol-model-props/computed/chemistry/functional-group.js.map +0 -1
  1789. package/lib/commonjs/mol-model-props/computed/chemistry/geometry.js.map +0 -1
  1790. package/lib/commonjs/mol-model-props/computed/chemistry/util.js.map +0 -1
  1791. package/lib/commonjs/mol-model-props/computed/chemistry/valence-model.js.map +0 -1
  1792. package/lib/commonjs/mol-model-props/computed/helix-orientation/helix-orientation.js.map +0 -1
  1793. package/lib/commonjs/mol-model-props/computed/helix-orientation.js.map +0 -1
  1794. package/lib/commonjs/mol-model-props/computed/interactions/charged.js.map +0 -1
  1795. package/lib/commonjs/mol-model-props/computed/interactions/common.js.map +0 -1
  1796. package/lib/commonjs/mol-model-props/computed/interactions/contacts-builder.js.map +0 -1
  1797. package/lib/commonjs/mol-model-props/computed/interactions/contacts.js.map +0 -1
  1798. package/lib/commonjs/mol-model-props/computed/interactions/features.js.map +0 -1
  1799. package/lib/commonjs/mol-model-props/computed/interactions/halogen-bonds.js.map +0 -1
  1800. package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.js.map +0 -1
  1801. package/lib/commonjs/mol-model-props/computed/interactions/hydrophobic.js.map +0 -1
  1802. package/lib/commonjs/mol-model-props/computed/interactions/interactions.js.map +0 -1
  1803. package/lib/commonjs/mol-model-props/computed/interactions/metal.js.map +0 -1
  1804. package/lib/commonjs/mol-model-props/computed/interactions/refine.js.map +0 -1
  1805. package/lib/commonjs/mol-model-props/computed/interactions.js.map +0 -1
  1806. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.js.map +0 -1
  1807. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.js.map +0 -1
  1808. package/lib/commonjs/mol-model-props/computed/representations/interactions.js.map +0 -1
  1809. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/backbone-hbonds.js.map +0 -1
  1810. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/bends.js.map +0 -1
  1811. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/bridges.js.map +0 -1
  1812. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/common.js.map +0 -1
  1813. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/dihedral-angles.js.map +0 -1
  1814. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/helices.js.map +0 -1
  1815. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/ladders.js.map +0 -1
  1816. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/protein-info.js.map +0 -1
  1817. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/sheets.js.map +0 -1
  1818. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/trace-lookup.js.map +0 -1
  1819. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/turns.js.map +0 -1
  1820. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp.js.map +0 -1
  1821. package/lib/commonjs/mol-model-props/computed/secondary-structure/zhang-skolnik.js.map +0 -1
  1822. package/lib/commonjs/mol-model-props/computed/secondary-structure.js.map +0 -1
  1823. package/lib/commonjs/mol-model-props/computed/themes/accessible-surface-area.js.map +0 -1
  1824. package/lib/commonjs/mol-model-props/computed/themes/interaction-type.js.map +0 -1
  1825. package/lib/commonjs/mol-model-props/computed/valence-model.js.map +0 -1
  1826. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/color.js.map +0 -1
  1827. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/format.js.map +0 -1
  1828. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js.map +0 -1
  1829. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.js.map +0 -1
  1830. package/lib/commonjs/mol-model-props/integrative/pair-restraints.js.map +0 -1
  1831. package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js.map +0 -1
  1832. package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js.map +0 -1
  1833. package/lib/commonjs/mol-plugin/animation-loop.js.map +0 -1
  1834. package/lib/commonjs/mol-plugin/behavior/behavior.js.map +0 -1
  1835. package/lib/commonjs/mol-plugin/behavior/dynamic/camera.js.map +0 -1
  1836. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +0 -1
  1837. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +0 -1
  1838. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/secondary-structure.js.map +0 -1
  1839. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +0 -1
  1840. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/integrative/cross-link-restraint.js.map +0 -1
  1841. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/sequence/best-database-mapping.js.map +0 -1
  1842. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/structure-info.js.map +0 -1
  1843. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props.js.map +0 -1
  1844. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js.map +0 -1
  1845. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +0 -1
  1846. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +0 -1
  1847. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.js.map +0 -1
  1848. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +0 -1
  1849. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +0 -1
  1850. package/lib/commonjs/mol-plugin/behavior/static/camera.js.map +0 -1
  1851. package/lib/commonjs/mol-plugin/behavior/static/misc.js.map +0 -1
  1852. package/lib/commonjs/mol-plugin/behavior/static/representation.js.map +0 -1
  1853. package/lib/commonjs/mol-plugin/behavior/static/state.js.map +0 -1
  1854. package/lib/commonjs/mol-plugin/behavior.js.map +0 -1
  1855. package/lib/commonjs/mol-plugin/command.js.map +0 -1
  1856. package/lib/commonjs/mol-plugin/commands.js.map +0 -1
  1857. package/lib/commonjs/mol-plugin/config.js.map +0 -1
  1858. package/lib/commonjs/mol-plugin/context.js.map +0 -1
  1859. package/lib/commonjs/mol-plugin/layout.js.map +0 -1
  1860. package/lib/commonjs/mol-plugin/spec.js.map +0 -1
  1861. package/lib/commonjs/mol-plugin/state.js.map +0 -1
  1862. package/lib/commonjs/mol-plugin/util/substructure-parent-helper.js.map +0 -1
  1863. package/lib/commonjs/mol-plugin/util/task-manager.js.map +0 -1
  1864. package/lib/commonjs/mol-plugin/util/toast.js.map +0 -1
  1865. package/lib/commonjs/mol-plugin/util/viewport-screenshot.js.map +0 -1
  1866. package/lib/commonjs/mol-plugin/version.js.map +0 -1
  1867. package/lib/commonjs/mol-plugin-state/actions/file.js.map +0 -1
  1868. package/lib/commonjs/mol-plugin-state/actions/structure.js.map +0 -1
  1869. package/lib/commonjs/mol-plugin-state/actions/volume.js.map +0 -1
  1870. package/lib/commonjs/mol-plugin-state/actions.js.map +0 -1
  1871. package/lib/commonjs/mol-plugin-state/animation/built-in/assembly-unwind.js.map +0 -1
  1872. package/lib/commonjs/mol-plugin-state/animation/built-in/camera-spin.js.map +0 -1
  1873. package/lib/commonjs/mol-plugin-state/animation/built-in/explode-units.js.map +0 -1
  1874. package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.js.map +0 -1
  1875. package/lib/commonjs/mol-plugin-state/animation/built-in/spin-structure.js.map +0 -1
  1876. package/lib/commonjs/mol-plugin-state/animation/built-in/state-interpolation.js.map +0 -1
  1877. package/lib/commonjs/mol-plugin-state/animation/built-in/state-snapshots.js.map +0 -1
  1878. package/lib/commonjs/mol-plugin-state/animation/helpers.js.map +0 -1
  1879. package/lib/commonjs/mol-plugin-state/animation/model.js.map +0 -1
  1880. package/lib/commonjs/mol-plugin-state/builder/data.js.map +0 -1
  1881. package/lib/commonjs/mol-plugin-state/builder/preset-provider.js.map +0 -1
  1882. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.js.map +0 -1
  1883. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js.map +0 -1
  1884. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js.map +0 -1
  1885. package/lib/commonjs/mol-plugin-state/builder/structure/representation.js.map +0 -1
  1886. package/lib/commonjs/mol-plugin-state/builder/structure.js.map +0 -1
  1887. package/lib/commonjs/mol-plugin-state/component.js.map +0 -1
  1888. package/lib/commonjs/mol-plugin-state/formats/provider.js.map +0 -1
  1889. package/lib/commonjs/mol-plugin-state/formats/registry.js.map +0 -1
  1890. package/lib/commonjs/mol-plugin-state/formats/shape.js.map +0 -1
  1891. package/lib/commonjs/mol-plugin-state/formats/structure.js.map +0 -1
  1892. package/lib/commonjs/mol-plugin-state/formats/trajectory.js.map +0 -1
  1893. package/lib/commonjs/mol-plugin-state/formats/volume.js.map +0 -1
  1894. package/lib/commonjs/mol-plugin-state/helpers/root-structure.js.map +0 -1
  1895. package/lib/commonjs/mol-plugin-state/helpers/structure-clipping.js.map +0 -1
  1896. package/lib/commonjs/mol-plugin-state/helpers/structure-component.js.map +0 -1
  1897. package/lib/commonjs/mol-plugin-state/helpers/structure-overpaint.js.map +0 -1
  1898. package/lib/commonjs/mol-plugin-state/helpers/structure-query.js.map +0 -1
  1899. package/lib/commonjs/mol-plugin-state/helpers/structure-representation-params.js.map +0 -1
  1900. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js.map +0 -1
  1901. package/lib/commonjs/mol-plugin-state/helpers/structure-transparency.js.map +0 -1
  1902. package/lib/commonjs/mol-plugin-state/helpers/volume-representation-params.js.map +0 -1
  1903. package/lib/commonjs/mol-plugin-state/manager/animation.js.map +0 -1
  1904. package/lib/commonjs/mol-plugin-state/manager/camera.js.map +0 -1
  1905. package/lib/commonjs/mol-plugin-state/manager/interactivity.js.map +0 -1
  1906. package/lib/commonjs/mol-plugin-state/manager/loci-label.js.map +0 -1
  1907. package/lib/commonjs/mol-plugin-state/manager/snapshots.js.map +0 -1
  1908. package/lib/commonjs/mol-plugin-state/manager/structure/component.js.map +0 -1
  1909. package/lib/commonjs/mol-plugin-state/manager/structure/focus.js.map +0 -1
  1910. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy-state.js.map +0 -1
  1911. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js.map +0 -1
  1912. package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js.map +0 -1
  1913. package/lib/commonjs/mol-plugin-state/manager/structure/selection.js.map +0 -1
  1914. package/lib/commonjs/mol-plugin-state/manager/volume/hierarchy-state.js.map +0 -1
  1915. package/lib/commonjs/mol-plugin-state/manager/volume/hierarchy.js.map +0 -1
  1916. package/lib/commonjs/mol-plugin-state/objects.js.map +0 -1
  1917. package/lib/commonjs/mol-plugin-state/transforms/data.js.map +0 -1
  1918. package/lib/commonjs/mol-plugin-state/transforms/helpers.js.map +0 -1
  1919. package/lib/commonjs/mol-plugin-state/transforms/misc.js.map +0 -1
  1920. package/lib/commonjs/mol-plugin-state/transforms/model.js.map +0 -1
  1921. package/lib/commonjs/mol-plugin-state/transforms/representation.js.map +0 -1
  1922. package/lib/commonjs/mol-plugin-state/transforms/shape.js.map +0 -1
  1923. package/lib/commonjs/mol-plugin-state/transforms/volume.js.map +0 -1
  1924. package/lib/commonjs/mol-plugin-state/transforms.js.map +0 -1
  1925. package/lib/commonjs/mol-plugin-ui/base.js.map +0 -1
  1926. package/lib/commonjs/mol-plugin-ui/context.js.map +0 -1
  1927. package/lib/commonjs/mol-plugin-ui/controls/action-menu.js.map +0 -1
  1928. package/lib/commonjs/mol-plugin-ui/controls/color.js.map +0 -1
  1929. package/lib/commonjs/mol-plugin-ui/controls/common.js.map +0 -1
  1930. package/lib/commonjs/mol-plugin-ui/controls/icons.js.map +0 -1
  1931. package/lib/commonjs/mol-plugin-ui/controls/legend.js.map +0 -1
  1932. package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +0 -1
  1933. package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js.map +0 -1
  1934. package/lib/commonjs/mol-plugin-ui/controls/parameters.js.map +0 -1
  1935. package/lib/commonjs/mol-plugin-ui/controls/screenshot.js.map +0 -1
  1936. package/lib/commonjs/mol-plugin-ui/controls/slider.js.map +0 -1
  1937. package/lib/commonjs/mol-plugin-ui/controls.js.map +0 -1
  1938. package/lib/commonjs/mol-plugin-ui/custom/volume.js.map +0 -1
  1939. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js.map +0 -1
  1940. package/lib/commonjs/mol-plugin-ui/index.js.map +0 -1
  1941. package/lib/commonjs/mol-plugin-ui/left-panel.js.map +0 -1
  1942. package/lib/commonjs/mol-plugin-ui/plugin.js.map +0 -1
  1943. package/lib/commonjs/mol-plugin-ui/sequence/chain.js.map +0 -1
  1944. package/lib/commonjs/mol-plugin-ui/sequence/element.js.map +0 -1
  1945. package/lib/commonjs/mol-plugin-ui/sequence/hetero.js.map +0 -1
  1946. package/lib/commonjs/mol-plugin-ui/sequence/polymer.js.map +0 -1
  1947. package/lib/commonjs/mol-plugin-ui/sequence/sequence.js.map +0 -1
  1948. package/lib/commonjs/mol-plugin-ui/sequence/wrapper.js.map +0 -1
  1949. package/lib/commonjs/mol-plugin-ui/sequence.js.map +0 -1
  1950. package/lib/commonjs/mol-plugin-ui/spec.js.map +0 -1
  1951. package/lib/commonjs/mol-plugin-ui/state/actions.js.map +0 -1
  1952. package/lib/commonjs/mol-plugin-ui/state/animation.js.map +0 -1
  1953. package/lib/commonjs/mol-plugin-ui/state/apply-action.js.map +0 -1
  1954. package/lib/commonjs/mol-plugin-ui/state/common.js.map +0 -1
  1955. package/lib/commonjs/mol-plugin-ui/state/snapshots.js.map +0 -1
  1956. package/lib/commonjs/mol-plugin-ui/state/tree.js.map +0 -1
  1957. package/lib/commonjs/mol-plugin-ui/state/update-transform.js.map +0 -1
  1958. package/lib/commonjs/mol-plugin-ui/structure/components.js.map +0 -1
  1959. package/lib/commonjs/mol-plugin-ui/structure/focus.js.map +0 -1
  1960. package/lib/commonjs/mol-plugin-ui/structure/generic.js.map +0 -1
  1961. package/lib/commonjs/mol-plugin-ui/structure/measurements.js.map +0 -1
  1962. package/lib/commonjs/mol-plugin-ui/structure/selection.js.map +0 -1
  1963. package/lib/commonjs/mol-plugin-ui/structure/source.js.map +0 -1
  1964. package/lib/commonjs/mol-plugin-ui/structure/superposition.js.map +0 -1
  1965. package/lib/commonjs/mol-plugin-ui/structure/volume.js.map +0 -1
  1966. package/lib/commonjs/mol-plugin-ui/task.js.map +0 -1
  1967. package/lib/commonjs/mol-plugin-ui/toast.js.map +0 -1
  1968. package/lib/commonjs/mol-plugin-ui/viewport/canvas.js.map +0 -1
  1969. package/lib/commonjs/mol-plugin-ui/viewport/help.js.map +0 -1
  1970. package/lib/commonjs/mol-plugin-ui/viewport/screenshot.js.map +0 -1
  1971. package/lib/commonjs/mol-plugin-ui/viewport/simple-settings.js.map +0 -1
  1972. package/lib/commonjs/mol-plugin-ui/viewport.js.map +0 -1
  1973. package/lib/commonjs/mol-repr/representation.js.map +0 -1
  1974. package/lib/commonjs/mol-repr/shape/loci/angle.js.map +0 -1
  1975. package/lib/commonjs/mol-repr/shape/loci/common.js.map +0 -1
  1976. package/lib/commonjs/mol-repr/shape/loci/dihedral.js.map +0 -1
  1977. package/lib/commonjs/mol-repr/shape/loci/distance.js.map +0 -1
  1978. package/lib/commonjs/mol-repr/shape/loci/label.js.map +0 -1
  1979. package/lib/commonjs/mol-repr/shape/loci/orientation.js.map +0 -1
  1980. package/lib/commonjs/mol-repr/shape/loci/plane.js.map +0 -1
  1981. package/lib/commonjs/mol-repr/shape/model/unitcell.js.map +0 -1
  1982. package/lib/commonjs/mol-repr/shape/representation.js.map +0 -1
  1983. package/lib/commonjs/mol-repr/structure/complex-representation.js.map +0 -1
  1984. package/lib/commonjs/mol-repr/structure/complex-visual.js.map +0 -1
  1985. package/lib/commonjs/mol-repr/structure/params.js.map +0 -1
  1986. package/lib/commonjs/mol-repr/structure/registry.js.map +0 -1
  1987. package/lib/commonjs/mol-repr/structure/representation/backbone.js.map +0 -1
  1988. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.js.map +0 -1
  1989. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.js.map +0 -1
  1990. package/lib/commonjs/mol-repr/structure/representation/cartoon.js.map +0 -1
  1991. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.js.map +0 -1
  1992. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.js.map +0 -1
  1993. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.js.map +0 -1
  1994. package/lib/commonjs/mol-repr/structure/representation/label.js.map +0 -1
  1995. package/lib/commonjs/mol-repr/structure/representation/line.js.map +0 -1
  1996. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.js.map +0 -1
  1997. package/lib/commonjs/mol-repr/structure/representation/orientation.js.map +0 -1
  1998. package/lib/commonjs/mol-repr/structure/representation/point.js.map +0 -1
  1999. package/lib/commonjs/mol-repr/structure/representation/putty.js.map +0 -1
  2000. package/lib/commonjs/mol-repr/structure/representation/spacefill.js.map +0 -1
  2001. package/lib/commonjs/mol-repr/structure/representation.js.map +0 -1
  2002. package/lib/commonjs/mol-repr/structure/units-representation.js.map +0 -1
  2003. package/lib/commonjs/mol-repr/structure/units-visual.js.map +0 -1
  2004. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +0 -1
  2005. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js.map +0 -1
  2006. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +0 -1
  2007. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js.map +0 -1
  2008. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.js.map +0 -1
  2009. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.js.map +0 -1
  2010. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.js.map +0 -1
  2011. package/lib/commonjs/mol-repr/structure/visual/element-cross.js.map +0 -1
  2012. package/lib/commonjs/mol-repr/structure/visual/element-point.js.map +0 -1
  2013. package/lib/commonjs/mol-repr/structure/visual/element-sphere.js.map +0 -1
  2014. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.js.map +0 -1
  2015. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js.map +0 -1
  2016. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js.map +0 -1
  2017. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js.map +0 -1
  2018. package/lib/commonjs/mol-repr/structure/visual/label-text.js.map +0 -1
  2019. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js.map +0 -1
  2020. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js.map +0 -1
  2021. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.js.map +0 -1
  2022. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.js.map +0 -1
  2023. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.js.map +0 -1
  2024. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.js.map +0 -1
  2025. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.js.map +0 -1
  2026. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.js.map +0 -1
  2027. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.js.map +0 -1
  2028. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js.map +0 -1
  2029. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js.map +0 -1
  2030. package/lib/commonjs/mol-repr/structure/visual/util/bond.js.map +0 -1
  2031. package/lib/commonjs/mol-repr/structure/visual/util/color.d.ts +0 -24
  2032. package/lib/commonjs/mol-repr/structure/visual/util/color.js +0 -100
  2033. package/lib/commonjs/mol-repr/structure/visual/util/color.js.map +0 -1
  2034. package/lib/commonjs/mol-repr/structure/visual/util/common.js.map +0 -1
  2035. package/lib/commonjs/mol-repr/structure/visual/util/element.js.map +0 -1
  2036. package/lib/commonjs/mol-repr/structure/visual/util/gaussian.js.map +0 -1
  2037. package/lib/commonjs/mol-repr/structure/visual/util/link.js.map +0 -1
  2038. package/lib/commonjs/mol-repr/structure/visual/util/molecular-surface.js.map +0 -1
  2039. package/lib/commonjs/mol-repr/structure/visual/util/nucleotide.js.map +0 -1
  2040. package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone.js.map +0 -1
  2041. package/lib/commonjs/mol-repr/structure/visual/util/polymer/curve-segment.js.map +0 -1
  2042. package/lib/commonjs/mol-repr/structure/visual/util/polymer/gap-iterator.js.map +0 -1
  2043. package/lib/commonjs/mol-repr/structure/visual/util/polymer/trace-iterator.js.map +0 -1
  2044. package/lib/commonjs/mol-repr/structure/visual/util/polymer.js.map +0 -1
  2045. package/lib/commonjs/mol-repr/util.js.map +0 -1
  2046. package/lib/commonjs/mol-repr/visual.js.map +0 -1
  2047. package/lib/commonjs/mol-repr/volume/direct-volume.js.map +0 -1
  2048. package/lib/commonjs/mol-repr/volume/isosurface.js.map +0 -1
  2049. package/lib/commonjs/mol-repr/volume/registry.js.map +0 -1
  2050. package/lib/commonjs/mol-repr/volume/representation.js.map +0 -1
  2051. package/lib/commonjs/mol-repr/volume/slice.js.map +0 -1
  2052. package/lib/commonjs/mol-repr/volume/util.js.map +0 -1
  2053. package/lib/commonjs/mol-script/compiler.js.map +0 -1
  2054. package/lib/commonjs/mol-script/language/builder.js.map +0 -1
  2055. package/lib/commonjs/mol-script/language/container.js.map +0 -1
  2056. package/lib/commonjs/mol-script/language/expression-formatter.js.map +0 -1
  2057. package/lib/commonjs/mol-script/language/expression.js.map +0 -1
  2058. package/lib/commonjs/mol-script/language/helpers.js.map +0 -1
  2059. package/lib/commonjs/mol-script/language/parser.js.map +0 -1
  2060. package/lib/commonjs/mol-script/language/symbol-table/core.js.map +0 -1
  2061. package/lib/commonjs/mol-script/language/symbol-table/internal.js.map +0 -1
  2062. package/lib/commonjs/mol-script/language/symbol-table/structure-query.js.map +0 -1
  2063. package/lib/commonjs/mol-script/language/symbol-table.js.map +0 -1
  2064. package/lib/commonjs/mol-script/language/symbol.js.map +0 -1
  2065. package/lib/commonjs/mol-script/language/type.js.map +0 -1
  2066. package/lib/commonjs/mol-script/runtime/environment.js.map +0 -1
  2067. package/lib/commonjs/mol-script/runtime/expression.js.map +0 -1
  2068. package/lib/commonjs/mol-script/runtime/query/base.js.map +0 -1
  2069. package/lib/commonjs/mol-script/runtime/query/compiler.js.map +0 -1
  2070. package/lib/commonjs/mol-script/runtime/query/table.js.map +0 -1
  2071. package/lib/commonjs/mol-script/runtime/runtime-macro.js.map +0 -1
  2072. package/lib/commonjs/mol-script/runtime/symbol.js.map +0 -1
  2073. package/lib/commonjs/mol-script/script/mol-script/examples.js.map +0 -1
  2074. package/lib/commonjs/mol-script/script/mol-script/parser.js.map +0 -1
  2075. package/lib/commonjs/mol-script/script/mol-script/script-macro.js.map +0 -1
  2076. package/lib/commonjs/mol-script/script/mol-script/symbols.js.map +0 -1
  2077. package/lib/commonjs/mol-script/script/parser.js.map +0 -1
  2078. package/lib/commonjs/mol-script/script.js.map +0 -1
  2079. package/lib/commonjs/mol-script/util/id-list.js.map +0 -1
  2080. package/lib/commonjs/mol-state/action/manager.js.map +0 -1
  2081. package/lib/commonjs/mol-state/action.js.map +0 -1
  2082. package/lib/commonjs/mol-state/index.js.map +0 -1
  2083. package/lib/commonjs/mol-state/object.js.map +0 -1
  2084. package/lib/commonjs/mol-state/state/builder.js.map +0 -1
  2085. package/lib/commonjs/mol-state/state/selection.js.map +0 -1
  2086. package/lib/commonjs/mol-state/state.js.map +0 -1
  2087. package/lib/commonjs/mol-state/transform.js.map +0 -1
  2088. package/lib/commonjs/mol-state/transformer.js.map +0 -1
  2089. package/lib/commonjs/mol-state/tree/immutable.js.map +0 -1
  2090. package/lib/commonjs/mol-state/tree/spine.js.map +0 -1
  2091. package/lib/commonjs/mol-state/tree/transient.js.map +0 -1
  2092. package/lib/commonjs/mol-state/tree.js.map +0 -1
  2093. package/lib/commonjs/mol-task/execution/observable.js.map +0 -1
  2094. package/lib/commonjs/mol-task/execution/progress.js.map +0 -1
  2095. package/lib/commonjs/mol-task/execution/runtime-context.js.map +0 -1
  2096. package/lib/commonjs/mol-task/execution/synchronous.js.map +0 -1
  2097. package/lib/commonjs/mol-task/index.js.map +0 -1
  2098. package/lib/commonjs/mol-task/task.js.map +0 -1
  2099. package/lib/commonjs/mol-task/util/chunked.js.map +0 -1
  2100. package/lib/commonjs/mol-task/util/multistep.js.map +0 -1
  2101. package/lib/commonjs/mol-task/util/scheduler.js.map +0 -1
  2102. package/lib/commonjs/mol-task/util/user-timing.js.map +0 -1
  2103. package/lib/commonjs/mol-theme/clipping.js.map +0 -1
  2104. package/lib/commonjs/mol-theme/color/atom-id.js.map +0 -1
  2105. package/lib/commonjs/mol-theme/color/carbohydrate-symbol.js.map +0 -1
  2106. package/lib/commonjs/mol-theme/color/chain-id.js.map +0 -1
  2107. package/lib/commonjs/mol-theme/color/element-index.js.map +0 -1
  2108. package/lib/commonjs/mol-theme/color/element-symbol.js.map +0 -1
  2109. package/lib/commonjs/mol-theme/color/entity-id.js.map +0 -1
  2110. package/lib/commonjs/mol-theme/color/entity-source.js.map +0 -1
  2111. package/lib/commonjs/mol-theme/color/hydrophobicity.js.map +0 -1
  2112. package/lib/commonjs/mol-theme/color/illustrative.js.map +0 -1
  2113. package/lib/commonjs/mol-theme/color/model-index.js.map +0 -1
  2114. package/lib/commonjs/mol-theme/color/molecule-type.js.map +0 -1
  2115. package/lib/commonjs/mol-theme/color/occupancy.js.map +0 -1
  2116. package/lib/commonjs/mol-theme/color/operator-hkl.js.map +0 -1
  2117. package/lib/commonjs/mol-theme/color/operator-name.js.map +0 -1
  2118. package/lib/commonjs/mol-theme/color/partial-charge.js.map +0 -1
  2119. package/lib/commonjs/mol-theme/color/polymer-id.js.map +0 -1
  2120. package/lib/commonjs/mol-theme/color/polymer-index.js.map +0 -1
  2121. package/lib/commonjs/mol-theme/color/residue-name.js.map +0 -1
  2122. package/lib/commonjs/mol-theme/color/secondary-structure.js.map +0 -1
  2123. package/lib/commonjs/mol-theme/color/sequence-id.js.map +0 -1
  2124. package/lib/commonjs/mol-theme/color/shape-group.js.map +0 -1
  2125. package/lib/commonjs/mol-theme/color/uncertainty.js.map +0 -1
  2126. package/lib/commonjs/mol-theme/color/uniform.js.map +0 -1
  2127. package/lib/commonjs/mol-theme/color/unit-index.js.map +0 -1
  2128. package/lib/commonjs/mol-theme/color.js.map +0 -1
  2129. package/lib/commonjs/mol-theme/label.js.map +0 -1
  2130. package/lib/commonjs/mol-theme/overpaint.js.map +0 -1
  2131. package/lib/commonjs/mol-theme/size/physical.js.map +0 -1
  2132. package/lib/commonjs/mol-theme/size/shape-group.js.map +0 -1
  2133. package/lib/commonjs/mol-theme/size/uncertainty.js.map +0 -1
  2134. package/lib/commonjs/mol-theme/size/uniform.js.map +0 -1
  2135. package/lib/commonjs/mol-theme/size.js.map +0 -1
  2136. package/lib/commonjs/mol-theme/theme.js.map +0 -1
  2137. package/lib/commonjs/mol-theme/transparency.js.map +0 -1
  2138. package/lib/commonjs/mol-util/_spec/id-factory.spec.d.ts +0 -6
  2139. package/lib/commonjs/mol-util/_spec/id-factory.spec.js +0 -33
  2140. package/lib/commonjs/mol-util/_spec/id-factory.spec.js.map +0 -1
  2141. package/lib/commonjs/mol-util/_spec/monadic-parser.spec.d.ts +0 -6
  2142. package/lib/commonjs/mol-util/_spec/monadic-parser.spec.js +0 -46
  2143. package/lib/commonjs/mol-util/_spec/monadic-parser.spec.js.map +0 -1
  2144. package/lib/commonjs/mol-util/_spec/reference-cache.spec.d.ts +0 -6
  2145. package/lib/commonjs/mol-util/_spec/reference-cache.spec.js +0 -31
  2146. package/lib/commonjs/mol-util/_spec/reference-cache.spec.js.map +0 -1
  2147. package/lib/commonjs/mol-util/_spec/string-builder.spec.d.ts +0 -6
  2148. package/lib/commonjs/mol-util/_spec/string-builder.spec.js +0 -33
  2149. package/lib/commonjs/mol-util/_spec/string-builder.spec.js.map +0 -1
  2150. package/lib/commonjs/mol-util/_spec/zip.spec.d.ts +0 -6
  2151. package/lib/commonjs/mol-util/_spec/zip.spec.js +0 -49
  2152. package/lib/commonjs/mol-util/_spec/zip.spec.js.map +0 -1
  2153. package/lib/commonjs/mol-util/array.js.map +0 -1
  2154. package/lib/commonjs/mol-util/assets.js.map +0 -1
  2155. package/lib/commonjs/mol-util/async-queue.js.map +0 -1
  2156. package/lib/commonjs/mol-util/binding.js.map +0 -1
  2157. package/lib/commonjs/mol-util/bit-flags.js.map +0 -1
  2158. package/lib/commonjs/mol-util/color/color.js.map +0 -1
  2159. package/lib/commonjs/mol-util/color/distinct.js.map +0 -1
  2160. package/lib/commonjs/mol-util/color/index.js.map +0 -1
  2161. package/lib/commonjs/mol-util/color/lists.js.map +0 -1
  2162. package/lib/commonjs/mol-util/color/names.js.map +0 -1
  2163. package/lib/commonjs/mol-util/color/palette.js.map +0 -1
  2164. package/lib/commonjs/mol-util/color/scale.js.map +0 -1
  2165. package/lib/commonjs/mol-util/color/spaces/hcl.js.map +0 -1
  2166. package/lib/commonjs/mol-util/color/spaces/lab.js.map +0 -1
  2167. package/lib/commonjs/mol-util/color/swatches.js.map +0 -1
  2168. package/lib/commonjs/mol-util/console-logger.js.map +0 -1
  2169. package/lib/commonjs/mol-util/data-source.js.map +0 -1
  2170. package/lib/commonjs/mol-util/date.js.map +0 -1
  2171. package/lib/commonjs/mol-util/debug.js.map +0 -1
  2172. package/lib/commonjs/mol-util/download.js.map +0 -1
  2173. package/lib/commonjs/mol-util/file-info.js.map +0 -1
  2174. package/lib/commonjs/mol-util/float-packing.d.ts +0 -15
  2175. package/lib/commonjs/mol-util/float-packing.js +0 -45
  2176. package/lib/commonjs/mol-util/float-packing.js.map +0 -1
  2177. package/lib/commonjs/mol-util/graphql-client.js.map +0 -1
  2178. package/lib/commonjs/mol-util/id-factory.js.map +0 -1
  2179. package/lib/commonjs/mol-util/image.js.map +0 -1
  2180. package/lib/commonjs/mol-util/index.js.map +0 -1
  2181. package/lib/commonjs/mol-util/input/event-offset.js.map +0 -1
  2182. package/lib/commonjs/mol-util/input/input-observer.js.map +0 -1
  2183. package/lib/commonjs/mol-util/is-little-endian.js.map +0 -1
  2184. package/lib/commonjs/mol-util/legend.js.map +0 -1
  2185. package/lib/commonjs/mol-util/log-entry.js.map +0 -1
  2186. package/lib/commonjs/mol-util/lru-cache.js.map +0 -1
  2187. package/lib/commonjs/mol-util/make-dir.js.map +0 -1
  2188. package/lib/commonjs/mol-util/map.js.map +0 -1
  2189. package/lib/commonjs/mol-util/marker-action.js.map +0 -1
  2190. package/lib/commonjs/mol-util/mask.js.map +0 -1
  2191. package/lib/commonjs/mol-util/memoize.js.map +0 -1
  2192. package/lib/commonjs/mol-util/monadic-parser.js.map +0 -1
  2193. package/lib/commonjs/mol-util/now.js.map +0 -1
  2194. package/lib/commonjs/mol-util/number.js.map +0 -1
  2195. package/lib/commonjs/mol-util/object.js.map +0 -1
  2196. package/lib/commonjs/mol-util/param-definition.js.map +0 -1
  2197. package/lib/commonjs/mol-util/param-mapping.js.map +0 -1
  2198. package/lib/commonjs/mol-util/performance-monitor.js.map +0 -1
  2199. package/lib/commonjs/mol-util/polyfill.js.map +0 -1
  2200. package/lib/commonjs/mol-util/read.js.map +0 -1
  2201. package/lib/commonjs/mol-util/reference-cache.js.map +0 -1
  2202. package/lib/commonjs/mol-util/retry-if.js.map +0 -1
  2203. package/lib/commonjs/mol-util/rx-event-helper.js.map +0 -1
  2204. package/lib/commonjs/mol-util/set.js.map +0 -1
  2205. package/lib/commonjs/mol-util/sleep.js.map +0 -1
  2206. package/lib/commonjs/mol-util/string-builder.js.map +0 -1
  2207. package/lib/commonjs/mol-util/string.js.map +0 -1
  2208. package/lib/commonjs/mol-util/type-helpers.js.map +0 -1
  2209. package/lib/commonjs/mol-util/url.js.map +0 -1
  2210. package/lib/commonjs/mol-util/uuid.js.map +0 -1
  2211. package/lib/commonjs/mol-util/value-cell.js.map +0 -1
  2212. package/lib/commonjs/mol-util/zip/bin.js.map +0 -1
  2213. package/lib/commonjs/mol-util/zip/checksum.js.map +0 -1
  2214. package/lib/commonjs/mol-util/zip/deflate.js.map +0 -1
  2215. package/lib/commonjs/mol-util/zip/huffman.js.map +0 -1
  2216. package/lib/commonjs/mol-util/zip/inflate.js.map +0 -1
  2217. package/lib/commonjs/mol-util/zip/util.js.map +0 -1
  2218. package/lib/commonjs/mol-util/zip/zip.js.map +0 -1
  2219. package/lib/commonjs/perf-tests/binary-search.d.ts +0 -23
  2220. package/lib/commonjs/perf-tests/binary-search.js +0 -154
  2221. package/lib/commonjs/perf-tests/binary-search.js.map +0 -1
  2222. package/lib/commonjs/perf-tests/chunked-array-vs-native.d.ts +0 -1
  2223. package/lib/commonjs/perf-tests/chunked-array-vs-native.js +0 -43
  2224. package/lib/commonjs/perf-tests/chunked-array-vs-native.js.map +0 -1
  2225. package/lib/commonjs/perf-tests/cif-encoder.d.ts +0 -6
  2226. package/lib/commonjs/perf-tests/cif-encoder.js +0 -58
  2227. package/lib/commonjs/perf-tests/cif-encoder.js.map +0 -1
  2228. package/lib/commonjs/perf-tests/column.d.ts +0 -4
  2229. package/lib/commonjs/perf-tests/column.js +0 -78
  2230. package/lib/commonjs/perf-tests/column.js.map +0 -1
  2231. package/lib/commonjs/perf-tests/iterators.d.ts +0 -13
  2232. package/lib/commonjs/perf-tests/iterators.js +0 -215
  2233. package/lib/commonjs/perf-tests/iterators.js.map +0 -1
  2234. package/lib/commonjs/perf-tests/lookup3d.d.ts +0 -8
  2235. package/lib/commonjs/perf-tests/lookup3d.js +0 -89
  2236. package/lib/commonjs/perf-tests/lookup3d.js.map +0 -1
  2237. package/lib/commonjs/perf-tests/markers-average.d.ts +0 -1
  2238. package/lib/commonjs/perf-tests/markers-average.js +0 -195
  2239. package/lib/commonjs/perf-tests/markers-average.js.map +0 -1
  2240. package/lib/commonjs/perf-tests/mol-script.d.ts +0 -1
  2241. package/lib/commonjs/perf-tests/mol-script.js +0 -99
  2242. package/lib/commonjs/perf-tests/mol-script.js.map +0 -1
  2243. package/lib/commonjs/perf-tests/sets.d.ts +0 -37
  2244. package/lib/commonjs/perf-tests/sets.js +0 -438
  2245. package/lib/commonjs/perf-tests/sets.js.map +0 -1
  2246. package/lib/commonjs/perf-tests/sort.d.ts +0 -3
  2247. package/lib/commonjs/perf-tests/sort.js +0 -81
  2248. package/lib/commonjs/perf-tests/sort.js.map +0 -1
  2249. package/lib/commonjs/perf-tests/state.d.ts +0 -0
  2250. package/lib/commonjs/perf-tests/state.js +0 -112
  2251. package/lib/commonjs/perf-tests/state.js.map +0 -1
  2252. package/lib/commonjs/perf-tests/string-builder.d.ts +0 -3
  2253. package/lib/commonjs/perf-tests/string-builder.js +0 -57
  2254. package/lib/commonjs/perf-tests/string-builder.js.map +0 -1
  2255. package/lib/commonjs/perf-tests/structure.d.ts +0 -24
  2256. package/lib/commonjs/perf-tests/structure.js +0 -529
  2257. package/lib/commonjs/perf-tests/structure.js.map +0 -1
  2258. package/lib/commonjs/perf-tests/tasks.d.ts +0 -18
  2259. package/lib/commonjs/perf-tests/tasks.js +0 -327
  2260. package/lib/commonjs/perf-tests/tasks.js.map +0 -1
  2261. package/lib/commonjs/perf-tests/test-xtc.d.ts +0 -6
  2262. package/lib/commonjs/perf-tests/test-xtc.js +0 -39
  2263. package/lib/commonjs/perf-tests/test-xtc.js.map +0 -1
  2264. package/lib/commonjs/servers/common/file-handle.js.map +0 -1
  2265. package/lib/commonjs/servers/common/swagger-ui/index.js.map +0 -1
  2266. package/lib/commonjs/servers/common/swagger-ui/indexTemplate.js.map +0 -1
  2267. package/lib/commonjs/servers/common/util.js.map +0 -1
  2268. package/lib/commonjs/servers/model/config.js.map +0 -1
  2269. package/lib/commonjs/servers/model/preprocess/converter.js.map +0 -1
  2270. package/lib/commonjs/servers/model/preprocess/master.js.map +0 -1
  2271. package/lib/commonjs/servers/model/preprocess/parallel.js.map +0 -1
  2272. package/lib/commonjs/servers/model/preprocess/preprocess.js.map +0 -1
  2273. package/lib/commonjs/servers/model/preprocess/util.js.map +0 -1
  2274. package/lib/commonjs/servers/model/preprocess.js.map +0 -1
  2275. package/lib/commonjs/servers/model/properties/pdbe.js.map +0 -1
  2276. package/lib/commonjs/servers/model/properties/providers/pdbe.js.map +0 -1
  2277. package/lib/commonjs/servers/model/properties/providers/wwpdb.js.map +0 -1
  2278. package/lib/commonjs/servers/model/properties/wwpdb.js.map +0 -1
  2279. package/lib/commonjs/servers/model/property-provider.js.map +0 -1
  2280. package/lib/commonjs/servers/model/query/atoms.js.map +0 -1
  2281. package/lib/commonjs/servers/model/query/schemas.js.map +0 -1
  2282. package/lib/commonjs/servers/model/query.js.map +0 -1
  2283. package/lib/commonjs/servers/model/server/api-local.js.map +0 -1
  2284. package/lib/commonjs/servers/model/server/api-schema.js.map +0 -1
  2285. package/lib/commonjs/servers/model/server/api-web-multiple.js.map +0 -1
  2286. package/lib/commonjs/servers/model/server/api-web.js.map +0 -1
  2287. package/lib/commonjs/servers/model/server/api.js.map +0 -1
  2288. package/lib/commonjs/servers/model/server/cache.js.map +0 -1
  2289. package/lib/commonjs/servers/model/server/jobs.js.map +0 -1
  2290. package/lib/commonjs/servers/model/server/query.js.map +0 -1
  2291. package/lib/commonjs/servers/model/server/structure-wrapper.js.map +0 -1
  2292. package/lib/commonjs/servers/model/server.js.map +0 -1
  2293. package/lib/commonjs/servers/model/test.js.map +0 -1
  2294. package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js.map +0 -1
  2295. package/lib/commonjs/servers/model/utils/fetch-retry.js.map +0 -1
  2296. package/lib/commonjs/servers/model/utils/tar.js.map +0 -1
  2297. package/lib/commonjs/servers/model/utils/writer.js.map +0 -1
  2298. package/lib/commonjs/servers/model/version.js.map +0 -1
  2299. package/lib/commonjs/servers/plugin-state/api-schema.js.map +0 -1
  2300. package/lib/commonjs/servers/plugin-state/config.js.map +0 -1
  2301. package/lib/commonjs/servers/plugin-state/index.js.map +0 -1
  2302. package/lib/commonjs/servers/plugin-state/version.js.map +0 -1
  2303. package/lib/commonjs/servers/volume/common/binary-schema.js.map +0 -1
  2304. package/lib/commonjs/servers/volume/common/data-format.js.map +0 -1
  2305. package/lib/commonjs/servers/volume/common/file.js.map +0 -1
  2306. package/lib/commonjs/servers/volume/config.js.map +0 -1
  2307. package/lib/commonjs/servers/volume/pack/data-model.js.map +0 -1
  2308. package/lib/commonjs/servers/volume/pack/downsampling.js.map +0 -1
  2309. package/lib/commonjs/servers/volume/pack/format/ccp4.js.map +0 -1
  2310. package/lib/commonjs/servers/volume/pack/format/dsn6.js.map +0 -1
  2311. package/lib/commonjs/servers/volume/pack/format.js.map +0 -1
  2312. package/lib/commonjs/servers/volume/pack/main.js.map +0 -1
  2313. package/lib/commonjs/servers/volume/pack/sampling.js.map +0 -1
  2314. package/lib/commonjs/servers/volume/pack/version.js.map +0 -1
  2315. package/lib/commonjs/servers/volume/pack/writer.js.map +0 -1
  2316. package/lib/commonjs/servers/volume/pack.js.map +0 -1
  2317. package/lib/commonjs/servers/volume/query.js.map +0 -1
  2318. package/lib/commonjs/servers/volume/server/algebra/box.js.map +0 -1
  2319. package/lib/commonjs/servers/volume/server/algebra/coordinate.js.map +0 -1
  2320. package/lib/commonjs/servers/volume/server/api.js.map +0 -1
  2321. package/lib/commonjs/servers/volume/server/local-api.js.map +0 -1
  2322. package/lib/commonjs/servers/volume/server/query/compose.js.map +0 -1
  2323. package/lib/commonjs/servers/volume/server/query/data-model.js.map +0 -1
  2324. package/lib/commonjs/servers/volume/server/query/encode.js.map +0 -1
  2325. package/lib/commonjs/servers/volume/server/query/execute.js.map +0 -1
  2326. package/lib/commonjs/servers/volume/server/query/identify.js.map +0 -1
  2327. package/lib/commonjs/servers/volume/server/state.js.map +0 -1
  2328. package/lib/commonjs/servers/volume/server/version.js.map +0 -1
  2329. package/lib/commonjs/servers/volume/server/web-api.js.map +0 -1
  2330. package/lib/commonjs/servers/volume/server/web-schema.js.map +0 -1
  2331. package/lib/commonjs/servers/volume/server.js.map +0 -1
  2332. package/lib/commonjs/tests/browser/font-atlas.d.ts +0 -6
  2333. package/lib/commonjs/tests/browser/font-atlas.js +0 -38
  2334. package/lib/commonjs/tests/browser/font-atlas.js.map +0 -1
  2335. package/lib/commonjs/tests/browser/marching-cubes.d.ts +0 -6
  2336. package/lib/commonjs/tests/browser/marching-cubes.js +0 -144
  2337. package/lib/commonjs/tests/browser/marching-cubes.js.map +0 -1
  2338. package/lib/commonjs/tests/browser/parse-xtc.d.ts +0 -6
  2339. package/lib/commonjs/tests/browser/parse-xtc.js +0 -42
  2340. package/lib/commonjs/tests/browser/parse-xtc.js.map +0 -1
  2341. package/lib/commonjs/tests/browser/render-lines.d.ts +0 -6
  2342. package/lib/commonjs/tests/browser/render-lines.js +0 -42
  2343. package/lib/commonjs/tests/browser/render-lines.js.map +0 -1
  2344. package/lib/commonjs/tests/browser/render-mesh.d.ts +0 -6
  2345. package/lib/commonjs/tests/browser/render-mesh.js +0 -51
  2346. package/lib/commonjs/tests/browser/render-mesh.js.map +0 -1
  2347. package/lib/commonjs/tests/browser/render-shape.d.ts +0 -7
  2348. package/lib/commonjs/tests/browser/render-shape.js +0 -168
  2349. package/lib/commonjs/tests/browser/render-shape.js.map +0 -1
  2350. package/lib/commonjs/tests/browser/render-spheres.d.ts +0 -6
  2351. package/lib/commonjs/tests/browser/render-spheres.js +0 -41
  2352. package/lib/commonjs/tests/browser/render-spheres.js.map +0 -1
  2353. package/lib/commonjs/tests/browser/render-structure.d.ts +0 -6
  2354. package/lib/commonjs/tests/browser/render-structure.js +0 -289
  2355. package/lib/commonjs/tests/browser/render-structure.js.map +0 -1
  2356. package/lib/commonjs/tests/browser/render-text.d.ts +0 -6
  2357. package/lib/commonjs/tests/browser/render-text.js +0 -61
  2358. package/lib/commonjs/tests/browser/render-text.js.map +0 -1
  2359. package/lib/examples/alpha-orbitals/controls.js.map +0 -1
  2360. package/lib/examples/alpha-orbitals/example-data.js.map +0 -1
  2361. package/lib/examples/alpha-orbitals/index.js.map +0 -1
  2362. package/lib/examples/basic-wrapper/coloring.js.map +0 -1
  2363. package/lib/examples/basic-wrapper/controls.js.map +0 -1
  2364. package/lib/examples/basic-wrapper/custom-theme.js.map +0 -1
  2365. package/lib/examples/basic-wrapper/index.js.map +0 -1
  2366. package/lib/examples/basic-wrapper/superposition.js.map +0 -1
  2367. package/lib/examples/domain-annotation-server/mapping.js.map +0 -1
  2368. package/lib/examples/domain-annotation-server/schemas.js.map +0 -1
  2369. package/lib/examples/domain-annotation-server/server.js.map +0 -1
  2370. package/lib/examples/domain-annotation-server/test.js.map +0 -1
  2371. package/lib/examples/lighting/index.js.map +0 -1
  2372. package/lib/examples/proteopedia-wrapper/annotation.js.map +0 -1
  2373. package/lib/examples/proteopedia-wrapper/coloring.js.map +0 -1
  2374. package/lib/examples/proteopedia-wrapper/helpers.js.map +0 -1
  2375. package/lib/examples/proteopedia-wrapper/index.js.map +0 -1
  2376. package/lib/examples/proteopedia-wrapper/ui/controls.js.map +0 -1
  2377. package/lib/examples/task.js.map +0 -1
  2378. package/lib/extensions/alpha-orbitals/_spec/collocation.spec.d.ts +0 -6
  2379. package/lib/extensions/alpha-orbitals/_spec/collocation.spec.js +0 -217
  2380. package/lib/extensions/alpha-orbitals/_spec/collocation.spec.js.map +0 -1
  2381. package/lib/extensions/alpha-orbitals/collocation.js.map +0 -1
  2382. package/lib/extensions/alpha-orbitals/data-model.js.map +0 -1
  2383. package/lib/extensions/alpha-orbitals/density.js.map +0 -1
  2384. package/lib/extensions/alpha-orbitals/gpu/compute.js.map +0 -1
  2385. package/lib/extensions/alpha-orbitals/gpu/shader.frag.js.map +0 -1
  2386. package/lib/extensions/alpha-orbitals/orbitals.js.map +0 -1
  2387. package/lib/extensions/alpha-orbitals/spherical-functions.js.map +0 -1
  2388. package/lib/extensions/alpha-orbitals/transforms.js.map +0 -1
  2389. package/lib/extensions/anvil/algorithm.js.map +0 -1
  2390. package/lib/extensions/anvil/behavior.js.map +0 -1
  2391. package/lib/extensions/anvil/prop.js.map +0 -1
  2392. package/lib/extensions/anvil/representation.js.map +0 -1
  2393. package/lib/extensions/cellpack/color/generate.js.map +0 -1
  2394. package/lib/extensions/cellpack/color/provided.js.map +0 -1
  2395. package/lib/extensions/cellpack/curve.js.map +0 -1
  2396. package/lib/extensions/cellpack/data.js.map +0 -1
  2397. package/lib/extensions/cellpack/index.js.map +0 -1
  2398. package/lib/extensions/cellpack/model.js.map +0 -1
  2399. package/lib/extensions/cellpack/preset.js.map +0 -1
  2400. package/lib/extensions/cellpack/property.js.map +0 -1
  2401. package/lib/extensions/cellpack/representation.js.map +0 -1
  2402. package/lib/extensions/cellpack/state.js.map +0 -1
  2403. package/lib/extensions/cellpack/util.js.map +0 -1
  2404. package/lib/extensions/dnatco/confal-pyramids/behavior.js.map +0 -1
  2405. package/lib/extensions/dnatco/confal-pyramids/color.js.map +0 -1
  2406. package/lib/extensions/dnatco/confal-pyramids/property.js.map +0 -1
  2407. package/lib/extensions/dnatco/confal-pyramids/representation.js.map +0 -1
  2408. package/lib/extensions/dnatco/confal-pyramids/types.js.map +0 -1
  2409. package/lib/extensions/dnatco/confal-pyramids/util.js.map +0 -1
  2410. package/lib/extensions/dnatco/index.js.map +0 -1
  2411. package/lib/extensions/g3d/data.js.map +0 -1
  2412. package/lib/extensions/g3d/format.js.map +0 -1
  2413. package/lib/extensions/g3d/model.js.map +0 -1
  2414. package/lib/extensions/geo-export/controls.js.map +0 -1
  2415. package/lib/extensions/geo-export/glb-exporter.js.map +0 -1
  2416. package/lib/extensions/geo-export/index.js.map +0 -1
  2417. package/lib/extensions/geo-export/mesh-exporter.js.map +0 -1
  2418. package/lib/extensions/geo-export/obj-exporter.js.map +0 -1
  2419. package/lib/extensions/geo-export/render-object-exporter.js.map +0 -1
  2420. package/lib/extensions/geo-export/stl-exporter.js.map +0 -1
  2421. package/lib/extensions/geo-export/ui.js.map +0 -1
  2422. package/lib/extensions/geo-export/usdz-exporter.js.map +0 -1
  2423. package/lib/extensions/mp4-export/controls.js.map +0 -1
  2424. package/lib/extensions/mp4-export/encoder.js.map +0 -1
  2425. package/lib/extensions/mp4-export/index.js.map +0 -1
  2426. package/lib/extensions/mp4-export/ui.js.map +0 -1
  2427. package/lib/extensions/pdbe/index.js.map +0 -1
  2428. package/lib/extensions/pdbe/preferred-assembly.js.map +0 -1
  2429. package/lib/extensions/pdbe/struct-ref-domain.js.map +0 -1
  2430. package/lib/extensions/pdbe/structure-quality-report/behavior.js.map +0 -1
  2431. package/lib/extensions/pdbe/structure-quality-report/color.js.map +0 -1
  2432. package/lib/extensions/pdbe/structure-quality-report/prop.js.map +0 -1
  2433. package/lib/extensions/rcsb/assembly-symmetry/behavior.js.map +0 -1
  2434. package/lib/extensions/rcsb/assembly-symmetry/color.js.map +0 -1
  2435. package/lib/extensions/rcsb/assembly-symmetry/prop.js.map +0 -1
  2436. package/lib/extensions/rcsb/assembly-symmetry/representation.js.map +0 -1
  2437. package/lib/extensions/rcsb/assembly-symmetry/ui.js.map +0 -1
  2438. package/lib/extensions/rcsb/graphql/symmetry.gql.js.map +0 -1
  2439. package/lib/extensions/rcsb/graphql/types.js.map +0 -1
  2440. package/lib/extensions/rcsb/index.js.map +0 -1
  2441. package/lib/extensions/rcsb/validation-report/behavior.js.map +0 -1
  2442. package/lib/extensions/rcsb/validation-report/color/density-fit.js.map +0 -1
  2443. package/lib/extensions/rcsb/validation-report/color/geometry-quality.js.map +0 -1
  2444. package/lib/extensions/rcsb/validation-report/color/random-coil-index.js.map +0 -1
  2445. package/lib/extensions/rcsb/validation-report/prop.js.map +0 -1
  2446. package/lib/extensions/rcsb/validation-report/representation.js.map +0 -1
  2447. package/lib/mol-canvas3d/camera/stereo.js.map +0 -1
  2448. package/lib/mol-canvas3d/camera/transition.js.map +0 -1
  2449. package/lib/mol-canvas3d/camera/util.js.map +0 -1
  2450. package/lib/mol-canvas3d/camera.js.map +0 -1
  2451. package/lib/mol-canvas3d/canvas3d.js.map +0 -1
  2452. package/lib/mol-canvas3d/controls/object.js.map +0 -1
  2453. package/lib/mol-canvas3d/controls/trackball.js.map +0 -1
  2454. package/lib/mol-canvas3d/helper/bounding-sphere-helper.js.map +0 -1
  2455. package/lib/mol-canvas3d/helper/camera-helper.js.map +0 -1
  2456. package/lib/mol-canvas3d/helper/handle-helper.js.map +0 -1
  2457. package/lib/mol-canvas3d/helper/helper.js.map +0 -1
  2458. package/lib/mol-canvas3d/helper/interaction-events.js.map +0 -1
  2459. package/lib/mol-canvas3d/passes/draw.js.map +0 -1
  2460. package/lib/mol-canvas3d/passes/fxaa.js.map +0 -1
  2461. package/lib/mol-canvas3d/passes/image.js.map +0 -1
  2462. package/lib/mol-canvas3d/passes/marking.js.map +0 -1
  2463. package/lib/mol-canvas3d/passes/multi-sample.js.map +0 -1
  2464. package/lib/mol-canvas3d/passes/passes.js.map +0 -1
  2465. package/lib/mol-canvas3d/passes/pick.js.map +0 -1
  2466. package/lib/mol-canvas3d/passes/postprocessing.js.map +0 -1
  2467. package/lib/mol-canvas3d/passes/smaa.js.map +0 -1
  2468. package/lib/mol-canvas3d/passes/wboit.js.map +0 -1
  2469. package/lib/mol-canvas3d/util.js.map +0 -1
  2470. package/lib/mol-data/_spec/equiv-index.spec.d.ts +0 -6
  2471. package/lib/mol-data/_spec/equiv-index.spec.js +0 -17
  2472. package/lib/mol-data/_spec/equiv-index.spec.js.map +0 -1
  2473. package/lib/mol-data/_spec/iterators.spec.d.ts +0 -6
  2474. package/lib/mol-data/_spec/iterators.spec.js +0 -28
  2475. package/lib/mol-data/_spec/iterators.spec.js.map +0 -1
  2476. package/lib/mol-data/_spec/sort.spec.d.ts +0 -6
  2477. package/lib/mol-data/_spec/sort.spec.js +0 -88
  2478. package/lib/mol-data/_spec/sort.spec.js.map +0 -1
  2479. package/lib/mol-data/db/_spec/table.spec.d.ts +0 -7
  2480. package/lib/mol-data/db/_spec/table.spec.js +0 -115
  2481. package/lib/mol-data/db/_spec/table.spec.js.map +0 -1
  2482. package/lib/mol-data/db/column-helpers.js.map +0 -1
  2483. package/lib/mol-data/db/column.js.map +0 -1
  2484. package/lib/mol-data/db/database.js.map +0 -1
  2485. package/lib/mol-data/db/table.js.map +0 -1
  2486. package/lib/mol-data/db.js.map +0 -1
  2487. package/lib/mol-data/generic/_spec/linked-list.spec.d.ts +0 -6
  2488. package/lib/mol-data/generic/_spec/linked-list.spec.js +0 -58
  2489. package/lib/mol-data/generic/_spec/linked-list.spec.js.map +0 -1
  2490. package/lib/mol-data/generic/hash-set.js.map +0 -1
  2491. package/lib/mol-data/generic/linked-list.js.map +0 -1
  2492. package/lib/mol-data/generic/unique-array.js.map +0 -1
  2493. package/lib/mol-data/generic.js.map +0 -1
  2494. package/lib/mol-data/index.js.map +0 -1
  2495. package/lib/mol-data/int/_spec/interval.spec.d.ts +0 -6
  2496. package/lib/mol-data/int/_spec/interval.spec.js +0 -65
  2497. package/lib/mol-data/int/_spec/interval.spec.js.map +0 -1
  2498. package/lib/mol-data/int/_spec/linked-index.spec.d.ts +0 -6
  2499. package/lib/mol-data/int/_spec/linked-index.spec.js +0 -45
  2500. package/lib/mol-data/int/_spec/linked-index.spec.js.map +0 -1
  2501. package/lib/mol-data/int/_spec/ordered-set.spec.d.ts +0 -6
  2502. package/lib/mol-data/int/_spec/ordered-set.spec.js +0 -170
  2503. package/lib/mol-data/int/_spec/ordered-set.spec.js.map +0 -1
  2504. package/lib/mol-data/int/_spec/segmentation.spec.d.ts +0 -6
  2505. package/lib/mol-data/int/_spec/segmentation.spec.js +0 -110
  2506. package/lib/mol-data/int/_spec/segmentation.spec.js.map +0 -1
  2507. package/lib/mol-data/int/_spec/sorted-array.spec.d.ts +0 -6
  2508. package/lib/mol-data/int/_spec/sorted-array.spec.js +0 -83
  2509. package/lib/mol-data/int/_spec/sorted-array.spec.js.map +0 -1
  2510. package/lib/mol-data/int/_spec/sorted-ranges.spec.d.ts +0 -6
  2511. package/lib/mol-data/int/_spec/sorted-ranges.spec.js +0 -41
  2512. package/lib/mol-data/int/_spec/sorted-ranges.spec.js.map +0 -1
  2513. package/lib/mol-data/int/_spec/tuple.spec.d.ts +0 -6
  2514. package/lib/mol-data/int/_spec/tuple.spec.js +0 -18
  2515. package/lib/mol-data/int/_spec/tuple.spec.js.map +0 -1
  2516. package/lib/mol-data/int/impl/interval.js.map +0 -1
  2517. package/lib/mol-data/int/impl/ordered-set.js.map +0 -1
  2518. package/lib/mol-data/int/impl/segmentation.js.map +0 -1
  2519. package/lib/mol-data/int/impl/sorted-array.js.map +0 -1
  2520. package/lib/mol-data/int/interval.js.map +0 -1
  2521. package/lib/mol-data/int/linked-index.js.map +0 -1
  2522. package/lib/mol-data/int/map.js.map +0 -1
  2523. package/lib/mol-data/int/ordered-set.js.map +0 -1
  2524. package/lib/mol-data/int/segmentation.js.map +0 -1
  2525. package/lib/mol-data/int/sorted-array.js.map +0 -1
  2526. package/lib/mol-data/int/sorted-ranges.js.map +0 -1
  2527. package/lib/mol-data/int/tuple.js.map +0 -1
  2528. package/lib/mol-data/int.js.map +0 -1
  2529. package/lib/mol-data/iterator.js.map +0 -1
  2530. package/lib/mol-data/util/_spec/buckets.spec.d.ts +0 -6
  2531. package/lib/mol-data/util/_spec/buckets.spec.js +0 -38
  2532. package/lib/mol-data/util/_spec/buckets.spec.js.map +0 -1
  2533. package/lib/mol-data/util/_spec/chunked-array.spec.d.ts +0 -6
  2534. package/lib/mol-data/util/_spec/chunked-array.spec.js +0 -46
  2535. package/lib/mol-data/util/_spec/chunked-array.spec.js.map +0 -1
  2536. package/lib/mol-data/util/_spec/combination.spec.d.ts +0 -6
  2537. package/lib/mol-data/util/_spec/combination.spec.js +0 -25
  2538. package/lib/mol-data/util/_spec/combination.spec.js.map +0 -1
  2539. package/lib/mol-data/util/_spec/interval-iterator.spec.d.ts +0 -6
  2540. package/lib/mol-data/util/_spec/interval-iterator.spec.js +0 -26
  2541. package/lib/mol-data/util/_spec/interval-iterator.spec.js.map +0 -1
  2542. package/lib/mol-data/util/array.js.map +0 -1
  2543. package/lib/mol-data/util/buckets.js.map +0 -1
  2544. package/lib/mol-data/util/chunked-array.js.map +0 -1
  2545. package/lib/mol-data/util/combination.js.map +0 -1
  2546. package/lib/mol-data/util/equivalence-classes.js.map +0 -1
  2547. package/lib/mol-data/util/grouping.js.map +0 -1
  2548. package/lib/mol-data/util/hash-functions.js.map +0 -1
  2549. package/lib/mol-data/util/interval-iterator.js.map +0 -1
  2550. package/lib/mol-data/util/sort.js.map +0 -1
  2551. package/lib/mol-data/util.js.map +0 -1
  2552. package/lib/mol-geo/geometry/base.js.map +0 -1
  2553. package/lib/mol-geo/geometry/clipping-data.js.map +0 -1
  2554. package/lib/mol-geo/geometry/color-data.js.map +0 -1
  2555. package/lib/mol-geo/geometry/cylinders/cylinders-builder.js.map +0 -1
  2556. package/lib/mol-geo/geometry/cylinders/cylinders.js.map +0 -1
  2557. package/lib/mol-geo/geometry/direct-volume/direct-volume.js.map +0 -1
  2558. package/lib/mol-geo/geometry/direct-volume/transfer-function.js.map +0 -1
  2559. package/lib/mol-geo/geometry/geometry.js.map +0 -1
  2560. package/lib/mol-geo/geometry/image/image.js.map +0 -1
  2561. package/lib/mol-geo/geometry/lines/lines-builder.js.map +0 -1
  2562. package/lib/mol-geo/geometry/lines/lines.js.map +0 -1
  2563. package/lib/mol-geo/geometry/marker-data.js.map +0 -1
  2564. package/lib/mol-geo/geometry/mesh/builder/axes.js.map +0 -1
  2565. package/lib/mol-geo/geometry/mesh/builder/box.js.map +0 -1
  2566. package/lib/mol-geo/geometry/mesh/builder/cylinder.js.map +0 -1
  2567. package/lib/mol-geo/geometry/mesh/builder/ellipsoid.js.map +0 -1
  2568. package/lib/mol-geo/geometry/mesh/builder/ribbon.js.map +0 -1
  2569. package/lib/mol-geo/geometry/mesh/builder/sheet.js.map +0 -1
  2570. package/lib/mol-geo/geometry/mesh/builder/sphere.js.map +0 -1
  2571. package/lib/mol-geo/geometry/mesh/builder/tube.js.map +0 -1
  2572. package/lib/mol-geo/geometry/mesh/color-smoothing.js.map +0 -1
  2573. package/lib/mol-geo/geometry/mesh/laplacian-smoothing.js.map +0 -1
  2574. package/lib/mol-geo/geometry/mesh/mesh-builder.js.map +0 -1
  2575. package/lib/mol-geo/geometry/mesh/mesh.js.map +0 -1
  2576. package/lib/mol-geo/geometry/overpaint-data.js.map +0 -1
  2577. package/lib/mol-geo/geometry/picking.js.map +0 -1
  2578. package/lib/mol-geo/geometry/points/points-builder.js.map +0 -1
  2579. package/lib/mol-geo/geometry/points/points.js.map +0 -1
  2580. package/lib/mol-geo/geometry/size-data.js.map +0 -1
  2581. package/lib/mol-geo/geometry/spheres/spheres-builder.js.map +0 -1
  2582. package/lib/mol-geo/geometry/spheres/spheres.js.map +0 -1
  2583. package/lib/mol-geo/geometry/text/font-atlas.js.map +0 -1
  2584. package/lib/mol-geo/geometry/text/text-builder.js.map +0 -1
  2585. package/lib/mol-geo/geometry/text/text.js.map +0 -1
  2586. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js.map +0 -1
  2587. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js.map +0 -1
  2588. package/lib/mol-geo/geometry/transform-data.js.map +0 -1
  2589. package/lib/mol-geo/geometry/transparency-data.js.map +0 -1
  2590. package/lib/mol-geo/primitive/box.js.map +0 -1
  2591. package/lib/mol-geo/primitive/cage.js.map +0 -1
  2592. package/lib/mol-geo/primitive/circle.js.map +0 -1
  2593. package/lib/mol-geo/primitive/cylinder.js.map +0 -1
  2594. package/lib/mol-geo/primitive/dodecahedron.js.map +0 -1
  2595. package/lib/mol-geo/primitive/icosahedron.js.map +0 -1
  2596. package/lib/mol-geo/primitive/octahedron.js.map +0 -1
  2597. package/lib/mol-geo/primitive/plane.js.map +0 -1
  2598. package/lib/mol-geo/primitive/polygon.js.map +0 -1
  2599. package/lib/mol-geo/primitive/polyhedron.js.map +0 -1
  2600. package/lib/mol-geo/primitive/primitive.js.map +0 -1
  2601. package/lib/mol-geo/primitive/prism.js.map +0 -1
  2602. package/lib/mol-geo/primitive/pyramid.js.map +0 -1
  2603. package/lib/mol-geo/primitive/sphere.js.map +0 -1
  2604. package/lib/mol-geo/primitive/spiked-ball.js.map +0 -1
  2605. package/lib/mol-geo/primitive/star.js.map +0 -1
  2606. package/lib/mol-geo/primitive/tetrahedron.js.map +0 -1
  2607. package/lib/mol-geo/primitive/torus.js.map +0 -1
  2608. package/lib/mol-geo/primitive/wedge.js.map +0 -1
  2609. package/lib/mol-geo/util/location-iterator.js.map +0 -1
  2610. package/lib/mol-geo/util/marching-cubes/algorithm.js.map +0 -1
  2611. package/lib/mol-geo/util/marching-cubes/builder.js.map +0 -1
  2612. package/lib/mol-geo/util/marching-cubes/tables.js.map +0 -1
  2613. package/lib/mol-geo/util.js.map +0 -1
  2614. package/lib/mol-gl/_spec/cylinders.spec.d.ts +0 -6
  2615. package/lib/mol-gl/_spec/cylinders.spec.js +0 -38
  2616. package/lib/mol-gl/_spec/cylinders.spec.js.map +0 -1
  2617. package/lib/mol-gl/_spec/direct-volume.spec.d.ts +0 -6
  2618. package/lib/mol-gl/_spec/direct-volume.spec.js +0 -38
  2619. package/lib/mol-gl/_spec/direct-volume.spec.js.map +0 -1
  2620. package/lib/mol-gl/_spec/gl.d.ts +0 -9
  2621. package/lib/mol-gl/_spec/gl.js +0 -28
  2622. package/lib/mol-gl/_spec/gl.js.map +0 -1
  2623. package/lib/mol-gl/_spec/gl.shim.d.ts +0 -6
  2624. package/lib/mol-gl/_spec/gl.shim.js +0 -627
  2625. package/lib/mol-gl/_spec/gl.shim.js.map +0 -1
  2626. package/lib/mol-gl/_spec/image.spec.d.ts +0 -6
  2627. package/lib/mol-gl/_spec/image.spec.js +0 -38
  2628. package/lib/mol-gl/_spec/image.spec.js.map +0 -1
  2629. package/lib/mol-gl/_spec/lines.spec.d.ts +0 -6
  2630. package/lib/mol-gl/_spec/lines.spec.js +0 -38
  2631. package/lib/mol-gl/_spec/lines.spec.js.map +0 -1
  2632. package/lib/mol-gl/_spec/mesh.spec.d.ts +0 -6
  2633. package/lib/mol-gl/_spec/mesh.spec.js +0 -38
  2634. package/lib/mol-gl/_spec/mesh.spec.js.map +0 -1
  2635. package/lib/mol-gl/_spec/points.spec.d.ts +0 -6
  2636. package/lib/mol-gl/_spec/points.spec.js +0 -38
  2637. package/lib/mol-gl/_spec/points.spec.js.map +0 -1
  2638. package/lib/mol-gl/_spec/renderable.spec.d.ts +0 -6
  2639. package/lib/mol-gl/_spec/renderable.spec.js +0 -36
  2640. package/lib/mol-gl/_spec/renderable.spec.js.map +0 -1
  2641. package/lib/mol-gl/_spec/renderer.spec.d.ts +0 -12
  2642. package/lib/mol-gl/_spec/renderer.spec.js +0 -67
  2643. package/lib/mol-gl/_spec/renderer.spec.js.map +0 -1
  2644. package/lib/mol-gl/_spec/shader.spec.d.ts +0 -0
  2645. package/lib/mol-gl/_spec/shader.spec.js +0 -2
  2646. package/lib/mol-gl/_spec/shader.spec.js.map +0 -1
  2647. package/lib/mol-gl/_spec/spheres.spec.d.ts +0 -6
  2648. package/lib/mol-gl/_spec/spheres.spec.js +0 -38
  2649. package/lib/mol-gl/_spec/spheres.spec.js.map +0 -1
  2650. package/lib/mol-gl/_spec/text.spec.d.ts +0 -6
  2651. package/lib/mol-gl/_spec/text.spec.js +0 -38
  2652. package/lib/mol-gl/_spec/text.spec.js.map +0 -1
  2653. package/lib/mol-gl/_spec/texture-mesh.spec.d.ts +0 -6
  2654. package/lib/mol-gl/_spec/texture-mesh.spec.js +0 -38
  2655. package/lib/mol-gl/_spec/texture-mesh.spec.js.map +0 -1
  2656. package/lib/mol-gl/commit-queue.js.map +0 -1
  2657. package/lib/mol-gl/compute/grid3d.js.map +0 -1
  2658. package/lib/mol-gl/compute/histogram-pyramid/reduction.js.map +0 -1
  2659. package/lib/mol-gl/compute/histogram-pyramid/sum.js.map +0 -1
  2660. package/lib/mol-gl/compute/marching-cubes/active-voxels.js.map +0 -1
  2661. package/lib/mol-gl/compute/marching-cubes/isosurface.js.map +0 -1
  2662. package/lib/mol-gl/compute/marching-cubes/tables.js.map +0 -1
  2663. package/lib/mol-gl/compute/util.js.map +0 -1
  2664. package/lib/mol-gl/object3d.js.map +0 -1
  2665. package/lib/mol-gl/render-object.js.map +0 -1
  2666. package/lib/mol-gl/renderable/cylinders.js.map +0 -1
  2667. package/lib/mol-gl/renderable/direct-volume.js.map +0 -1
  2668. package/lib/mol-gl/renderable/image.js.map +0 -1
  2669. package/lib/mol-gl/renderable/lines.js.map +0 -1
  2670. package/lib/mol-gl/renderable/mesh.js.map +0 -1
  2671. package/lib/mol-gl/renderable/points.js.map +0 -1
  2672. package/lib/mol-gl/renderable/schema.js.map +0 -1
  2673. package/lib/mol-gl/renderable/spheres.js.map +0 -1
  2674. package/lib/mol-gl/renderable/text.js.map +0 -1
  2675. package/lib/mol-gl/renderable/texture-mesh.js.map +0 -1
  2676. package/lib/mol-gl/renderable/util.js.map +0 -1
  2677. package/lib/mol-gl/renderable.js.map +0 -1
  2678. package/lib/mol-gl/renderer.js.map +0 -1
  2679. package/lib/mol-gl/scene.js.map +0 -1
  2680. package/lib/mol-gl/shader/chunks/apply-fog.glsl.js.map +0 -1
  2681. package/lib/mol-gl/shader/chunks/apply-interior-color.glsl.js.map +0 -1
  2682. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js.map +0 -1
  2683. package/lib/mol-gl/shader/chunks/apply-marker-color.glsl.js.map +0 -1
  2684. package/lib/mol-gl/shader/chunks/assign-clipping-varying.glsl.js.map +0 -1
  2685. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js.map +0 -1
  2686. package/lib/mol-gl/shader/chunks/assign-group.glsl.js.map +0 -1
  2687. package/lib/mol-gl/shader/chunks/assign-marker-varying.glsl.js.map +0 -1
  2688. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js.map +0 -1
  2689. package/lib/mol-gl/shader/chunks/assign-position.glsl.js.map +0 -1
  2690. package/lib/mol-gl/shader/chunks/assign-size.glsl.js.map +0 -1
  2691. package/lib/mol-gl/shader/chunks/check-picking-alpha.glsl.js.map +0 -1
  2692. package/lib/mol-gl/shader/chunks/clip-instance.glsl.js.map +0 -1
  2693. package/lib/mol-gl/shader/chunks/clip-pixel.glsl.js.map +0 -1
  2694. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js.map +0 -1
  2695. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js.map +0 -1
  2696. package/lib/mol-gl/shader/chunks/common-clip.glsl.js.map +0 -1
  2697. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js.map +0 -1
  2698. package/lib/mol-gl/shader/chunks/common-vert-params.glsl.js.map +0 -1
  2699. package/lib/mol-gl/shader/chunks/common.glsl.js.map +0 -1
  2700. package/lib/mol-gl/shader/chunks/float-to-rgba.glsl.js.map +0 -1
  2701. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.js.map +0 -1
  2702. package/lib/mol-gl/shader/chunks/matrix-scale.glsl.js.map +0 -1
  2703. package/lib/mol-gl/shader/chunks/normal-frag-params.glsl.js.map +0 -1
  2704. package/lib/mol-gl/shader/chunks/read-from-texture.glsl.js.map +0 -1
  2705. package/lib/mol-gl/shader/chunks/rgba-to-float.glsl.js.map +0 -1
  2706. package/lib/mol-gl/shader/chunks/size-vert-params.glsl.js.map +0 -1
  2707. package/lib/mol-gl/shader/chunks/texture3d-from-1d-trilinear.glsl.js.map +0 -1
  2708. package/lib/mol-gl/shader/chunks/texture3d-from-2d-linear.glsl.js.map +0 -1
  2709. package/lib/mol-gl/shader/chunks/texture3d-from-2d-nearest.glsl.js.map +0 -1
  2710. package/lib/mol-gl/shader/chunks/wboit-write.glsl.js.map +0 -1
  2711. package/lib/mol-gl/shader/compose.frag.js.map +0 -1
  2712. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.frag.js.map +0 -1
  2713. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.vert.js.map +0 -1
  2714. package/lib/mol-gl/shader/compute/color-smoothing/normalize.frag.js.map +0 -1
  2715. package/lib/mol-gl/shader/copy.frag.js.map +0 -1
  2716. package/lib/mol-gl/shader/cylinders.frag.js.map +0 -1
  2717. package/lib/mol-gl/shader/cylinders.vert.js.map +0 -1
  2718. package/lib/mol-gl/shader/depth-merge.frag.js.map +0 -1
  2719. package/lib/mol-gl/shader/direct-volume.frag.js.map +0 -1
  2720. package/lib/mol-gl/shader/direct-volume.vert.js.map +0 -1
  2721. package/lib/mol-gl/shader/evaluate-wboit.frag.js.map +0 -1
  2722. package/lib/mol-gl/shader/fxaa.frag.js.map +0 -1
  2723. package/lib/mol-gl/shader/gaussian-density.frag.js.map +0 -1
  2724. package/lib/mol-gl/shader/gaussian-density.vert.js.map +0 -1
  2725. package/lib/mol-gl/shader/histogram-pyramid/reduction.frag.js.map +0 -1
  2726. package/lib/mol-gl/shader/histogram-pyramid/sum.frag.js.map +0 -1
  2727. package/lib/mol-gl/shader/image.frag.js.map +0 -1
  2728. package/lib/mol-gl/shader/image.vert.js.map +0 -1
  2729. package/lib/mol-gl/shader/lines.frag.js.map +0 -1
  2730. package/lib/mol-gl/shader/lines.vert.js.map +0 -1
  2731. package/lib/mol-gl/shader/marching-cubes/active-voxels.frag.js.map +0 -1
  2732. package/lib/mol-gl/shader/marching-cubes/isosurface.frag.js.map +0 -1
  2733. package/lib/mol-gl/shader/marking/edge.frag.js.map +0 -1
  2734. package/lib/mol-gl/shader/marking/overlay.frag.js.map +0 -1
  2735. package/lib/mol-gl/shader/mesh.frag.js.map +0 -1
  2736. package/lib/mol-gl/shader/mesh.vert.js.map +0 -1
  2737. package/lib/mol-gl/shader/outlines.frag.js.map +0 -1
  2738. package/lib/mol-gl/shader/points.frag.js.map +0 -1
  2739. package/lib/mol-gl/shader/points.vert.js.map +0 -1
  2740. package/lib/mol-gl/shader/postprocessing.frag.js.map +0 -1
  2741. package/lib/mol-gl/shader/quad.vert.js.map +0 -1
  2742. package/lib/mol-gl/shader/smaa/blend.frag.js.map +0 -1
  2743. package/lib/mol-gl/shader/smaa/blend.vert.js.map +0 -1
  2744. package/lib/mol-gl/shader/smaa/edges.frag.js.map +0 -1
  2745. package/lib/mol-gl/shader/smaa/edges.vert.js.map +0 -1
  2746. package/lib/mol-gl/shader/smaa/weights.frag.js.map +0 -1
  2747. package/lib/mol-gl/shader/smaa/weights.vert.js.map +0 -1
  2748. package/lib/mol-gl/shader/spheres.frag.js.map +0 -1
  2749. package/lib/mol-gl/shader/spheres.vert.js.map +0 -1
  2750. package/lib/mol-gl/shader/ssao-blur.frag.js.map +0 -1
  2751. package/lib/mol-gl/shader/ssao.frag.js.map +0 -1
  2752. package/lib/mol-gl/shader/text.frag.js.map +0 -1
  2753. package/lib/mol-gl/shader/text.vert.js.map +0 -1
  2754. package/lib/mol-gl/shader/util/grid3d-template.frag.js.map +0 -1
  2755. package/lib/mol-gl/shader-code.js.map +0 -1
  2756. package/lib/mol-gl/webgl/buffer.js.map +0 -1
  2757. package/lib/mol-gl/webgl/compat.js.map +0 -1
  2758. package/lib/mol-gl/webgl/context.js.map +0 -1
  2759. package/lib/mol-gl/webgl/extensions.js.map +0 -1
  2760. package/lib/mol-gl/webgl/framebuffer.js.map +0 -1
  2761. package/lib/mol-gl/webgl/program.js.map +0 -1
  2762. package/lib/mol-gl/webgl/render-item.js.map +0 -1
  2763. package/lib/mol-gl/webgl/render-target.js.map +0 -1
  2764. package/lib/mol-gl/webgl/renderbuffer.js.map +0 -1
  2765. package/lib/mol-gl/webgl/resources.js.map +0 -1
  2766. package/lib/mol-gl/webgl/shader.js.map +0 -1
  2767. package/lib/mol-gl/webgl/state.js.map +0 -1
  2768. package/lib/mol-gl/webgl/texture.js.map +0 -1
  2769. package/lib/mol-gl/webgl/uniform.js.map +0 -1
  2770. package/lib/mol-gl/webgl/vertex-array.js.map +0 -1
  2771. package/lib/mol-io/common/ascii.js.map +0 -1
  2772. package/lib/mol-io/common/binary-cif/array-encoder.js.map +0 -1
  2773. package/lib/mol-io/common/binary-cif/classifier.js.map +0 -1
  2774. package/lib/mol-io/common/binary-cif/decoder.js.map +0 -1
  2775. package/lib/mol-io/common/binary-cif/encoding.js.map +0 -1
  2776. package/lib/mol-io/common/binary-cif.js.map +0 -1
  2777. package/lib/mol-io/common/binary.js.map +0 -1
  2778. package/lib/mol-io/common/file-handle.js.map +0 -1
  2779. package/lib/mol-io/common/msgpack/decode.js.map +0 -1
  2780. package/lib/mol-io/common/msgpack/encode.js.map +0 -1
  2781. package/lib/mol-io/common/simple-buffer.js.map +0 -1
  2782. package/lib/mol-io/common/typed-array.js.map +0 -1
  2783. package/lib/mol-io/common/utf8.js.map +0 -1
  2784. package/lib/mol-io/reader/_spec/ccp4.spec.d.ts +0 -6
  2785. package/lib/mol-io/reader/_spec/ccp4.spec.js +0 -46
  2786. package/lib/mol-io/reader/_spec/ccp4.spec.js.map +0 -1
  2787. package/lib/mol-io/reader/_spec/cif.spec.d.ts +0 -7
  2788. package/lib/mol-io/reader/_spec/cif.spec.js +0 -73
  2789. package/lib/mol-io/reader/_spec/cif.spec.js.map +0 -1
  2790. package/lib/mol-io/reader/_spec/column.spec.d.ts +0 -7
  2791. package/lib/mol-io/reader/_spec/column.spec.js +0 -72
  2792. package/lib/mol-io/reader/_spec/column.spec.js.map +0 -1
  2793. package/lib/mol-io/reader/_spec/common.spec.d.ts +0 -6
  2794. package/lib/mol-io/reader/_spec/common.spec.js +0 -37
  2795. package/lib/mol-io/reader/_spec/common.spec.js.map +0 -1
  2796. package/lib/mol-io/reader/_spec/csv.spec.d.ts +0 -6
  2797. package/lib/mol-io/reader/_spec/csv.spec.js +0 -85
  2798. package/lib/mol-io/reader/_spec/csv.spec.js.map +0 -1
  2799. package/lib/mol-io/reader/_spec/dcd.spec.d.ts +0 -6
  2800. package/lib/mol-io/reader/_spec/dcd.spec.js +0 -69
  2801. package/lib/mol-io/reader/_spec/dcd.spec.js.map +0 -1
  2802. package/lib/mol-io/reader/_spec/gro.spec.d.ts +0 -7
  2803. package/lib/mol-io/reader/_spec/gro.spec.js +0 -79
  2804. package/lib/mol-io/reader/_spec/gro.spec.js.map +0 -1
  2805. package/lib/mol-io/reader/_spec/mol.spec.d.ts +0 -1
  2806. package/lib/mol-io/reader/_spec/mol.spec.js +0 -31
  2807. package/lib/mol-io/reader/_spec/mol.spec.js.map +0 -1
  2808. package/lib/mol-io/reader/_spec/mol2.spec.d.ts +0 -1
  2809. package/lib/mol-io/reader/_spec/mol2.spec.js +0 -161
  2810. package/lib/mol-io/reader/_spec/mol2.spec.js.map +0 -1
  2811. package/lib/mol-io/reader/_spec/ply.spec.d.ts +0 -6
  2812. package/lib/mol-io/reader/_spec/ply.spec.js +0 -66
  2813. package/lib/mol-io/reader/_spec/ply.spec.js.map +0 -1
  2814. package/lib/mol-io/reader/_spec/psf.spec.d.ts +0 -6
  2815. package/lib/mol-io/reader/_spec/psf.spec.js +0 -50
  2816. package/lib/mol-io/reader/_spec/psf.spec.js.map +0 -1
  2817. package/lib/mol-io/reader/_spec/sdf.spec.d.ts +0 -1
  2818. package/lib/mol-io/reader/_spec/sdf.spec.js +0 -52
  2819. package/lib/mol-io/reader/_spec/sdf.spec.js.map +0 -1
  2820. package/lib/mol-io/reader/ccp4/parser.js.map +0 -1
  2821. package/lib/mol-io/reader/ccp4/schema.js.map +0 -1
  2822. package/lib/mol-io/reader/cif/binary/field.js.map +0 -1
  2823. package/lib/mol-io/reader/cif/binary/parser.js.map +0 -1
  2824. package/lib/mol-io/reader/cif/data-model.js.map +0 -1
  2825. package/lib/mol-io/reader/cif/schema/bird.js.map +0 -1
  2826. package/lib/mol-io/reader/cif/schema/ccd-extras.js.map +0 -1
  2827. package/lib/mol-io/reader/cif/schema/ccd.js.map +0 -1
  2828. package/lib/mol-io/reader/cif/schema/cif-core.js.map +0 -1
  2829. package/lib/mol-io/reader/cif/schema/ddl.js.map +0 -1
  2830. package/lib/mol-io/reader/cif/schema/density-server.js.map +0 -1
  2831. package/lib/mol-io/reader/cif/schema/dic.js.map +0 -1
  2832. package/lib/mol-io/reader/cif/schema/mmcif-extras.js.map +0 -1
  2833. package/lib/mol-io/reader/cif/schema/mmcif.js.map +0 -1
  2834. package/lib/mol-io/reader/cif/schema.js.map +0 -1
  2835. package/lib/mol-io/reader/cif/text/parser.js.map +0 -1
  2836. package/lib/mol-io/reader/cif.js.map +0 -1
  2837. package/lib/mol-io/reader/common/binary/column.js.map +0 -1
  2838. package/lib/mol-io/reader/common/text/column/fixed.js.map +0 -1
  2839. package/lib/mol-io/reader/common/text/column/token.js.map +0 -1
  2840. package/lib/mol-io/reader/common/text/number-parser.js.map +0 -1
  2841. package/lib/mol-io/reader/common/text/tokenizer.js.map +0 -1
  2842. package/lib/mol-io/reader/csv/data-model.js.map +0 -1
  2843. package/lib/mol-io/reader/csv/field.js.map +0 -1
  2844. package/lib/mol-io/reader/csv/parser.js.map +0 -1
  2845. package/lib/mol-io/reader/csv/schema.js.map +0 -1
  2846. package/lib/mol-io/reader/cube/parser.js.map +0 -1
  2847. package/lib/mol-io/reader/dcd/parser.js.map +0 -1
  2848. package/lib/mol-io/reader/dsn6/parser.js.map +0 -1
  2849. package/lib/mol-io/reader/dsn6/schema.js.map +0 -1
  2850. package/lib/mol-io/reader/dx/parser.js.map +0 -1
  2851. package/lib/mol-io/reader/gro/parser.js.map +0 -1
  2852. package/lib/mol-io/reader/mol/parser.js.map +0 -1
  2853. package/lib/mol-io/reader/mol2/parser.js.map +0 -1
  2854. package/lib/mol-io/reader/mol2/schema.js.map +0 -1
  2855. package/lib/mol-io/reader/obj/parser.js.map +0 -1
  2856. package/lib/mol-io/reader/pdb/parser.js.map +0 -1
  2857. package/lib/mol-io/reader/pdb/schema.js.map +0 -1
  2858. package/lib/mol-io/reader/ply/parser.js.map +0 -1
  2859. package/lib/mol-io/reader/ply/schema.js.map +0 -1
  2860. package/lib/mol-io/reader/psf/parser.js.map +0 -1
  2861. package/lib/mol-io/reader/result.js.map +0 -1
  2862. package/lib/mol-io/reader/sdf/parser.js.map +0 -1
  2863. package/lib/mol-io/reader/xtc/parser.js.map +0 -1
  2864. package/lib/mol-io/reader/xyz/parser.js.map +0 -1
  2865. package/lib/mol-io/utils/short-string-pool.js.map +0 -1
  2866. package/lib/mol-io/writer/_spec/cif.spec.d.ts +0 -1
  2867. package/lib/mol-io/writer/_spec/cif.spec.js +0 -204
  2868. package/lib/mol-io/writer/_spec/cif.spec.js.map +0 -1
  2869. package/lib/mol-io/writer/cif/encoder/binary.js.map +0 -1
  2870. package/lib/mol-io/writer/cif/encoder/text.js.map +0 -1
  2871. package/lib/mol-io/writer/cif/encoder/util.js.map +0 -1
  2872. package/lib/mol-io/writer/cif/encoder.js.map +0 -1
  2873. package/lib/mol-io/writer/cif.js.map +0 -1
  2874. package/lib/mol-io/writer/encoder.js.map +0 -1
  2875. package/lib/mol-io/writer/ligand-encoder.js.map +0 -1
  2876. package/lib/mol-io/writer/mol/encoder.js.map +0 -1
  2877. package/lib/mol-io/writer/mol.js.map +0 -1
  2878. package/lib/mol-io/writer/mol2/encoder.js.map +0 -1
  2879. package/lib/mol-io/writer/mol2.js.map +0 -1
  2880. package/lib/mol-io/writer/sdf.js.map +0 -1
  2881. package/lib/mol-io/writer/writer.js.map +0 -1
  2882. package/lib/mol-math/approx.js.map +0 -1
  2883. package/lib/mol-math/easing.js.map +0 -1
  2884. package/lib/mol-math/geometry/_spec/lookup3d.spec.d.ts +0 -6
  2885. package/lib/mol-math/geometry/_spec/lookup3d.spec.js +0 -48
  2886. package/lib/mol-math/geometry/_spec/lookup3d.spec.js.map +0 -1
  2887. package/lib/mol-math/geometry/_spec/spacegroup.spec.d.ts +0 -6
  2888. package/lib/mol-math/geometry/_spec/spacegroup.spec.js +0 -33
  2889. package/lib/mol-math/geometry/_spec/spacegroup.spec.js.map +0 -1
  2890. package/lib/mol-math/geometry/boundary-helper.js.map +0 -1
  2891. package/lib/mol-math/geometry/boundary.js.map +0 -1
  2892. package/lib/mol-math/geometry/centroid-helper.js.map +0 -1
  2893. package/lib/mol-math/geometry/common.js.map +0 -1
  2894. package/lib/mol-math/geometry/distance-transform.js.map +0 -1
  2895. package/lib/mol-math/geometry/gaussian-density/cpu.js.map +0 -1
  2896. package/lib/mol-math/geometry/gaussian-density/gpu.js.map +0 -1
  2897. package/lib/mol-math/geometry/gaussian-density.js.map +0 -1
  2898. package/lib/mol-math/geometry/lookup3d/common.js.map +0 -1
  2899. package/lib/mol-math/geometry/lookup3d/grid.js.map +0 -1
  2900. package/lib/mol-math/geometry/molecular-surface.js.map +0 -1
  2901. package/lib/mol-math/geometry/primitives/axes3d.js.map +0 -1
  2902. package/lib/mol-math/geometry/primitives/box3d.js.map +0 -1
  2903. package/lib/mol-math/geometry/primitives/sphere3d.js.map +0 -1
  2904. package/lib/mol-math/geometry/spacegroup/cell.js.map +0 -1
  2905. package/lib/mol-math/geometry/spacegroup/construction.js.map +0 -1
  2906. package/lib/mol-math/geometry/spacegroup/tables.js.map +0 -1
  2907. package/lib/mol-math/geometry/symmetry-operator.js.map +0 -1
  2908. package/lib/mol-math/geometry.js.map +0 -1
  2909. package/lib/mol-math/graph/_spec/int-graph.spec.d.ts +0 -6
  2910. package/lib/mol-math/graph/_spec/int-graph.spec.js +0 -38
  2911. package/lib/mol-math/graph/_spec/int-graph.spec.js.map +0 -1
  2912. package/lib/mol-math/graph/int-adjacency-graph.js.map +0 -1
  2913. package/lib/mol-math/graph/inter-unit-graph.js.map +0 -1
  2914. package/lib/mol-math/graph.js.map +0 -1
  2915. package/lib/mol-math/histogram.js.map +0 -1
  2916. package/lib/mol-math/interpolate.js.map +0 -1
  2917. package/lib/mol-math/linear-algebra/3d/common.js.map +0 -1
  2918. package/lib/mol-math/linear-algebra/3d/mat3.js.map +0 -1
  2919. package/lib/mol-math/linear-algebra/3d/mat4.js.map +0 -1
  2920. package/lib/mol-math/linear-algebra/3d/minimize-rmsd.js.map +0 -1
  2921. package/lib/mol-math/linear-algebra/3d/quat.js.map +0 -1
  2922. package/lib/mol-math/linear-algebra/3d/vec2.js.map +0 -1
  2923. package/lib/mol-math/linear-algebra/3d/vec3.js.map +0 -1
  2924. package/lib/mol-math/linear-algebra/3d/vec4.js.map +0 -1
  2925. package/lib/mol-math/linear-algebra/3d.js.map +0 -1
  2926. package/lib/mol-math/linear-algebra/_spec/approx.spec.d.ts +0 -6
  2927. package/lib/mol-math/linear-algebra/_spec/approx.spec.js +0 -75
  2928. package/lib/mol-math/linear-algebra/_spec/approx.spec.js.map +0 -1
  2929. package/lib/mol-math/linear-algebra/_spec/mat3.spec.d.ts +0 -6
  2930. package/lib/mol-math/linear-algebra/_spec/mat3.spec.js +0 -25
  2931. package/lib/mol-math/linear-algebra/_spec/mat3.spec.js.map +0 -1
  2932. package/lib/mol-math/linear-algebra/_spec/mat4.spec.d.ts +0 -6
  2933. package/lib/mol-math/linear-algebra/_spec/mat4.spec.js +0 -21
  2934. package/lib/mol-math/linear-algebra/_spec/mat4.spec.js.map +0 -1
  2935. package/lib/mol-math/linear-algebra/_spec/tensor.spec.d.ts +0 -6
  2936. package/lib/mol-math/linear-algebra/_spec/tensor.spec.js +0 -284
  2937. package/lib/mol-math/linear-algebra/_spec/tensor.spec.js.map +0 -1
  2938. package/lib/mol-math/linear-algebra/_spec/vec3.spec.d.ts +0 -6
  2939. package/lib/mol-math/linear-algebra/_spec/vec3.spec.js +0 -18
  2940. package/lib/mol-math/linear-algebra/_spec/vec3.spec.js.map +0 -1
  2941. package/lib/mol-math/linear-algebra/matrix/evd.js.map +0 -1
  2942. package/lib/mol-math/linear-algebra/matrix/matrix.js.map +0 -1
  2943. package/lib/mol-math/linear-algebra/matrix/principal-axes.js.map +0 -1
  2944. package/lib/mol-math/linear-algebra/matrix/svd.js.map +0 -1
  2945. package/lib/mol-math/linear-algebra/tensor.js.map +0 -1
  2946. package/lib/mol-math/linear-algebra.js.map +0 -1
  2947. package/lib/mol-math/misc.js.map +0 -1
  2948. package/lib/mol-model/custom-property.js.map +0 -1
  2949. package/lib/mol-model/location.js.map +0 -1
  2950. package/lib/mol-model/loci.js.map +0 -1
  2951. package/lib/mol-model/sequence/alignment/_spec/alignment.spec.d.ts +0 -6
  2952. package/lib/mol-model/sequence/alignment/_spec/alignment.spec.js +0 -23
  2953. package/lib/mol-model/sequence/alignment/_spec/alignment.spec.js.map +0 -1
  2954. package/lib/mol-model/sequence/alignment/alignment.js.map +0 -1
  2955. package/lib/mol-model/sequence/alignment/sequence.js.map +0 -1
  2956. package/lib/mol-model/sequence/alignment/substitution-matrix.js.map +0 -1
  2957. package/lib/mol-model/sequence/alignment.js.map +0 -1
  2958. package/lib/mol-model/sequence/constants.js.map +0 -1
  2959. package/lib/mol-model/sequence/sequence.js.map +0 -1
  2960. package/lib/mol-model/sequence.js.map +0 -1
  2961. package/lib/mol-model/shape/provider.js.map +0 -1
  2962. package/lib/mol-model/shape/shape.js.map +0 -1
  2963. package/lib/mol-model/shape.js.map +0 -1
  2964. package/lib/mol-model/structure/coordinates/coordinates.js.map +0 -1
  2965. package/lib/mol-model/structure/coordinates.js.map +0 -1
  2966. package/lib/mol-model/structure/export/categories/atom_site.js.map +0 -1
  2967. package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +0 -1
  2968. package/lib/mol-model/structure/export/categories/misc.js.map +0 -1
  2969. package/lib/mol-model/structure/export/categories/secondary-structure.js.map +0 -1
  2970. package/lib/mol-model/structure/export/categories/sequence.js.map +0 -1
  2971. package/lib/mol-model/structure/export/categories/utils.js.map +0 -1
  2972. package/lib/mol-model/structure/export/mmcif.js.map +0 -1
  2973. package/lib/mol-model/structure/model/indexing.js.map +0 -1
  2974. package/lib/mol-model/structure/model/model.js.map +0 -1
  2975. package/lib/mol-model/structure/model/properties/atomic/bonds.js.map +0 -1
  2976. package/lib/mol-model/structure/model/properties/atomic/conformation.js.map +0 -1
  2977. package/lib/mol-model/structure/model/properties/atomic/hierarchy.js.map +0 -1
  2978. package/lib/mol-model/structure/model/properties/atomic/measures.js.map +0 -1
  2979. package/lib/mol-model/structure/model/properties/atomic/types.js.map +0 -1
  2980. package/lib/mol-model/structure/model/properties/atomic.js.map +0 -1
  2981. package/lib/mol-model/structure/model/properties/coarse/conformation.js.map +0 -1
  2982. package/lib/mol-model/structure/model/properties/coarse/hierarchy.js.map +0 -1
  2983. package/lib/mol-model/structure/model/properties/coarse.js.map +0 -1
  2984. package/lib/mol-model/structure/model/properties/common.js.map +0 -1
  2985. package/lib/mol-model/structure/model/properties/custom/indexed.js.map +0 -1
  2986. package/lib/mol-model/structure/model/properties/global-transform.js.map +0 -1
  2987. package/lib/mol-model/structure/model/properties/seconday-structure.js.map +0 -1
  2988. package/lib/mol-model/structure/model/properties/sequence.js.map +0 -1
  2989. package/lib/mol-model/structure/model/properties/symmetry.js.map +0 -1
  2990. package/lib/mol-model/structure/model/properties/utils/atomic-derived.js.map +0 -1
  2991. package/lib/mol-model/structure/model/properties/utils/atomic-index.js.map +0 -1
  2992. package/lib/mol-model/structure/model/properties/utils/atomic-ranges.js.map +0 -1
  2993. package/lib/mol-model/structure/model/properties/utils/coarse-keys.js.map +0 -1
  2994. package/lib/mol-model/structure/model/properties/utils/coarse-ranges.js.map +0 -1
  2995. package/lib/mol-model/structure/model/properties/utils/residue-set.js.map +0 -1
  2996. package/lib/mol-model/structure/model/types/ions.js.map +0 -1
  2997. package/lib/mol-model/structure/model/types/lipids.js.map +0 -1
  2998. package/lib/mol-model/structure/model/types.js.map +0 -1
  2999. package/lib/mol-model/structure/model/util.js.map +0 -1
  3000. package/lib/mol-model/structure/model.js.map +0 -1
  3001. package/lib/mol-model/structure/query/context.js.map +0 -1
  3002. package/lib/mol-model/structure/query/predicates.js.map +0 -1
  3003. package/lib/mol-model/structure/query/queries/combinators.js.map +0 -1
  3004. package/lib/mol-model/structure/query/queries/filters.js.map +0 -1
  3005. package/lib/mol-model/structure/query/queries/generators.js.map +0 -1
  3006. package/lib/mol-model/structure/query/queries/internal.js.map +0 -1
  3007. package/lib/mol-model/structure/query/queries/modifiers.js.map +0 -1
  3008. package/lib/mol-model/structure/query/query.js.map +0 -1
  3009. package/lib/mol-model/structure/query/selection.js.map +0 -1
  3010. package/lib/mol-model/structure/query/utils/builders.js.map +0 -1
  3011. package/lib/mol-model/structure/query/utils/structure-distance.js.map +0 -1
  3012. package/lib/mol-model/structure/query/utils/structure-set.js.map +0 -1
  3013. package/lib/mol-model/structure/query.js.map +0 -1
  3014. package/lib/mol-model/structure/structure/carbohydrates/compute.js.map +0 -1
  3015. package/lib/mol-model/structure/structure/carbohydrates/constants.js.map +0 -1
  3016. package/lib/mol-model/structure/structure/carbohydrates/data.js.map +0 -1
  3017. package/lib/mol-model/structure/structure/element/bundle.js.map +0 -1
  3018. package/lib/mol-model/structure/structure/element/element.js.map +0 -1
  3019. package/lib/mol-model/structure/structure/element/location.js.map +0 -1
  3020. package/lib/mol-model/structure/structure/element/loci.js.map +0 -1
  3021. package/lib/mol-model/structure/structure/element/stats.js.map +0 -1
  3022. package/lib/mol-model/structure/structure/element/util.js.map +0 -1
  3023. package/lib/mol-model/structure/structure/element.js.map +0 -1
  3024. package/lib/mol-model/structure/structure/properties.js.map +0 -1
  3025. package/lib/mol-model/structure/structure/structure.js.map +0 -1
  3026. package/lib/mol-model/structure/structure/symmetry.js.map +0 -1
  3027. package/lib/mol-model/structure/structure/unit/bonds/common.js.map +0 -1
  3028. package/lib/mol-model/structure/structure/unit/bonds/data.js.map +0 -1
  3029. package/lib/mol-model/structure/structure/unit/bonds/element-set-intra-bond-cache.js.map +0 -1
  3030. package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js.map +0 -1
  3031. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js.map +0 -1
  3032. package/lib/mol-model/structure/structure/unit/bonds.js.map +0 -1
  3033. package/lib/mol-model/structure/structure/unit/rings/compute.js.map +0 -1
  3034. package/lib/mol-model/structure/structure/unit/rings.js.map +0 -1
  3035. package/lib/mol-model/structure/structure/unit.js.map +0 -1
  3036. package/lib/mol-model/structure/structure/util/boundary.js.map +0 -1
  3037. package/lib/mol-model/structure/structure/util/lookup3d.js.map +0 -1
  3038. package/lib/mol-model/structure/structure/util/polymer.js.map +0 -1
  3039. package/lib/mol-model/structure/structure/util/principal-axes.js.map +0 -1
  3040. package/lib/mol-model/structure/structure/util/subset-builder.js.map +0 -1
  3041. package/lib/mol-model/structure/structure/util/superposition-db-mapping.js.map +0 -1
  3042. package/lib/mol-model/structure/structure/util/superposition.js.map +0 -1
  3043. package/lib/mol-model/structure/structure/util/unique-subset-builder.js.map +0 -1
  3044. package/lib/mol-model/structure/structure/util/unit-transforms.js.map +0 -1
  3045. package/lib/mol-model/structure/structure.js.map +0 -1
  3046. package/lib/mol-model/structure/topology/topology.js.map +0 -1
  3047. package/lib/mol-model/structure/topology.js.map +0 -1
  3048. package/lib/mol-model/structure/trajectory.js.map +0 -1
  3049. package/lib/mol-model/structure/util.js.map +0 -1
  3050. package/lib/mol-model/structure.js.map +0 -1
  3051. package/lib/mol-model/volume/grid.js.map +0 -1
  3052. package/lib/mol-model/volume/volume.js.map +0 -1
  3053. package/lib/mol-model/volume.js.map +0 -1
  3054. package/lib/mol-model-formats/format.js.map +0 -1
  3055. package/lib/mol-model-formats/shape/ply.js.map +0 -1
  3056. package/lib/mol-model-formats/structure/_spec/cif-core.spec.d.ts +0 -6
  3057. package/lib/mol-model-formats/structure/_spec/cif-core.spec.js +0 -49
  3058. package/lib/mol-model-formats/structure/_spec/cif-core.spec.js.map +0 -1
  3059. package/lib/mol-model-formats/structure/_spec/pdb.spec.d.ts +0 -6
  3060. package/lib/mol-model-formats/structure/_spec/pdb.spec.js +0 -24
  3061. package/lib/mol-model-formats/structure/_spec/pdb.spec.js.map +0 -1
  3062. package/lib/mol-model-formats/structure/basic/atomic.js.map +0 -1
  3063. package/lib/mol-model-formats/structure/basic/coarse.js.map +0 -1
  3064. package/lib/mol-model-formats/structure/basic/entities.js.map +0 -1
  3065. package/lib/mol-model-formats/structure/basic/parser.js.map +0 -1
  3066. package/lib/mol-model-formats/structure/basic/properties.js.map +0 -1
  3067. package/lib/mol-model-formats/structure/basic/schema.js.map +0 -1
  3068. package/lib/mol-model-formats/structure/basic/sequence.js.map +0 -1
  3069. package/lib/mol-model-formats/structure/basic/sort.js.map +0 -1
  3070. package/lib/mol-model-formats/structure/basic/util.js.map +0 -1
  3071. package/lib/mol-model-formats/structure/cif-core.js.map +0 -1
  3072. package/lib/mol-model-formats/structure/common/component.js.map +0 -1
  3073. package/lib/mol-model-formats/structure/common/entity.js.map +0 -1
  3074. package/lib/mol-model-formats/structure/common/property.js.map +0 -1
  3075. package/lib/mol-model-formats/structure/common/util.js.map +0 -1
  3076. package/lib/mol-model-formats/structure/cube.js.map +0 -1
  3077. package/lib/mol-model-formats/structure/dcd.js.map +0 -1
  3078. package/lib/mol-model-formats/structure/gro.js.map +0 -1
  3079. package/lib/mol-model-formats/structure/mmcif.js.map +0 -1
  3080. package/lib/mol-model-formats/structure/mol.js.map +0 -1
  3081. package/lib/mol-model-formats/structure/mol2.js.map +0 -1
  3082. package/lib/mol-model-formats/structure/pdb/anisotropic.js.map +0 -1
  3083. package/lib/mol-model-formats/structure/pdb/assembly.js.map +0 -1
  3084. package/lib/mol-model-formats/structure/pdb/atom-site.js.map +0 -1
  3085. package/lib/mol-model-formats/structure/pdb/conect.js.map +0 -1
  3086. package/lib/mol-model-formats/structure/pdb/entity.js.map +0 -1
  3087. package/lib/mol-model-formats/structure/pdb/secondary-structure.js.map +0 -1
  3088. package/lib/mol-model-formats/structure/pdb/to-cif.js.map +0 -1
  3089. package/lib/mol-model-formats/structure/pdb.js.map +0 -1
  3090. package/lib/mol-model-formats/structure/property/anisotropic.js.map +0 -1
  3091. package/lib/mol-model-formats/structure/property/assembly.js.map +0 -1
  3092. package/lib/mol-model-formats/structure/property/atoms/chem_comp.js.map +0 -1
  3093. package/lib/mol-model-formats/structure/property/bonds/chem_comp.js.map +0 -1
  3094. package/lib/mol-model-formats/structure/property/bonds/index-pair.js.map +0 -1
  3095. package/lib/mol-model-formats/structure/property/bonds/struct_conn.js.map +0 -1
  3096. package/lib/mol-model-formats/structure/property/partial-charge.js.map +0 -1
  3097. package/lib/mol-model-formats/structure/property/secondary-structure.js.map +0 -1
  3098. package/lib/mol-model-formats/structure/property/symmetry.js.map +0 -1
  3099. package/lib/mol-model-formats/structure/psf.js.map +0 -1
  3100. package/lib/mol-model-formats/structure/sdf.js.map +0 -1
  3101. package/lib/mol-model-formats/structure/util.js.map +0 -1
  3102. package/lib/mol-model-formats/structure/xtc.js.map +0 -1
  3103. package/lib/mol-model-formats/structure/xyz.js.map +0 -1
  3104. package/lib/mol-model-formats/volume/ccp4.js.map +0 -1
  3105. package/lib/mol-model-formats/volume/cube.js.map +0 -1
  3106. package/lib/mol-model-formats/volume/density-server.js.map +0 -1
  3107. package/lib/mol-model-formats/volume/dsn6.js.map +0 -1
  3108. package/lib/mol-model-formats/volume/dx.js.map +0 -1
  3109. package/lib/mol-model-formats/volume/property.js.map +0 -1
  3110. package/lib/mol-model-props/common/custom-element-property.js.map +0 -1
  3111. package/lib/mol-model-props/common/custom-model-property.js.map +0 -1
  3112. package/lib/mol-model-props/common/custom-property.js.map +0 -1
  3113. package/lib/mol-model-props/common/custom-structure-property.js.map +0 -1
  3114. package/lib/mol-model-props/common/wrapper.js.map +0 -1
  3115. package/lib/mol-model-props/computed/accessible-surface-area/shrake-rupley/area.js.map +0 -1
  3116. package/lib/mol-model-props/computed/accessible-surface-area/shrake-rupley/common.js.map +0 -1
  3117. package/lib/mol-model-props/computed/accessible-surface-area/shrake-rupley/radii.js.map +0 -1
  3118. package/lib/mol-model-props/computed/accessible-surface-area/shrake-rupley.js.map +0 -1
  3119. package/lib/mol-model-props/computed/accessible-surface-area.js.map +0 -1
  3120. package/lib/mol-model-props/computed/chemistry/functional-group.js.map +0 -1
  3121. package/lib/mol-model-props/computed/chemistry/geometry.js.map +0 -1
  3122. package/lib/mol-model-props/computed/chemistry/util.js.map +0 -1
  3123. package/lib/mol-model-props/computed/chemistry/valence-model.js.map +0 -1
  3124. package/lib/mol-model-props/computed/helix-orientation/helix-orientation.js.map +0 -1
  3125. package/lib/mol-model-props/computed/helix-orientation.js.map +0 -1
  3126. package/lib/mol-model-props/computed/interactions/charged.js.map +0 -1
  3127. package/lib/mol-model-props/computed/interactions/common.js.map +0 -1
  3128. package/lib/mol-model-props/computed/interactions/contacts-builder.js.map +0 -1
  3129. package/lib/mol-model-props/computed/interactions/contacts.js.map +0 -1
  3130. package/lib/mol-model-props/computed/interactions/features.js.map +0 -1
  3131. package/lib/mol-model-props/computed/interactions/halogen-bonds.js.map +0 -1
  3132. package/lib/mol-model-props/computed/interactions/hydrogen-bonds.js.map +0 -1
  3133. package/lib/mol-model-props/computed/interactions/hydrophobic.js.map +0 -1
  3134. package/lib/mol-model-props/computed/interactions/interactions.js.map +0 -1
  3135. package/lib/mol-model-props/computed/interactions/metal.js.map +0 -1
  3136. package/lib/mol-model-props/computed/interactions/refine.js.map +0 -1
  3137. package/lib/mol-model-props/computed/interactions.js.map +0 -1
  3138. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.js.map +0 -1
  3139. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.js.map +0 -1
  3140. package/lib/mol-model-props/computed/representations/interactions.js.map +0 -1
  3141. package/lib/mol-model-props/computed/secondary-structure/dssp/backbone-hbonds.js.map +0 -1
  3142. package/lib/mol-model-props/computed/secondary-structure/dssp/bends.js.map +0 -1
  3143. package/lib/mol-model-props/computed/secondary-structure/dssp/bridges.js.map +0 -1
  3144. package/lib/mol-model-props/computed/secondary-structure/dssp/common.js.map +0 -1
  3145. package/lib/mol-model-props/computed/secondary-structure/dssp/dihedral-angles.js.map +0 -1
  3146. package/lib/mol-model-props/computed/secondary-structure/dssp/helices.js.map +0 -1
  3147. package/lib/mol-model-props/computed/secondary-structure/dssp/ladders.js.map +0 -1
  3148. package/lib/mol-model-props/computed/secondary-structure/dssp/protein-info.js.map +0 -1
  3149. package/lib/mol-model-props/computed/secondary-structure/dssp/sheets.js.map +0 -1
  3150. package/lib/mol-model-props/computed/secondary-structure/dssp/trace-lookup.js.map +0 -1
  3151. package/lib/mol-model-props/computed/secondary-structure/dssp/turns.js.map +0 -1
  3152. package/lib/mol-model-props/computed/secondary-structure/dssp.js.map +0 -1
  3153. package/lib/mol-model-props/computed/secondary-structure/zhang-skolnik.js.map +0 -1
  3154. package/lib/mol-model-props/computed/secondary-structure.js.map +0 -1
  3155. package/lib/mol-model-props/computed/themes/accessible-surface-area.js.map +0 -1
  3156. package/lib/mol-model-props/computed/themes/interaction-type.js.map +0 -1
  3157. package/lib/mol-model-props/computed/valence-model.js.map +0 -1
  3158. package/lib/mol-model-props/integrative/cross-link-restraint/color.js.map +0 -1
  3159. package/lib/mol-model-props/integrative/cross-link-restraint/format.js.map +0 -1
  3160. package/lib/mol-model-props/integrative/cross-link-restraint/property.js.map +0 -1
  3161. package/lib/mol-model-props/integrative/cross-link-restraint/representation.js.map +0 -1
  3162. package/lib/mol-model-props/integrative/pair-restraints.js.map +0 -1
  3163. package/lib/mol-model-props/sequence/best-database-mapping.js.map +0 -1
  3164. package/lib/mol-model-props/sequence/themes/best-database-mapping.js.map +0 -1
  3165. package/lib/mol-plugin/animation-loop.js.map +0 -1
  3166. package/lib/mol-plugin/behavior/behavior.js.map +0 -1
  3167. package/lib/mol-plugin/behavior/dynamic/camera.js.map +0 -1
  3168. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +0 -1
  3169. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +0 -1
  3170. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/secondary-structure.js.map +0 -1
  3171. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +0 -1
  3172. package/lib/mol-plugin/behavior/dynamic/custom-props/integrative/cross-link-restraint.js.map +0 -1
  3173. package/lib/mol-plugin/behavior/dynamic/custom-props/sequence/best-database-mapping.js.map +0 -1
  3174. package/lib/mol-plugin/behavior/dynamic/custom-props/structure-info.js.map +0 -1
  3175. package/lib/mol-plugin/behavior/dynamic/custom-props.js.map +0 -1
  3176. package/lib/mol-plugin/behavior/dynamic/representation.js.map +0 -1
  3177. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +0 -1
  3178. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +0 -1
  3179. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.js.map +0 -1
  3180. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +0 -1
  3181. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +0 -1
  3182. package/lib/mol-plugin/behavior/static/camera.js.map +0 -1
  3183. package/lib/mol-plugin/behavior/static/misc.js.map +0 -1
  3184. package/lib/mol-plugin/behavior/static/representation.js.map +0 -1
  3185. package/lib/mol-plugin/behavior/static/state.js.map +0 -1
  3186. package/lib/mol-plugin/behavior.js.map +0 -1
  3187. package/lib/mol-plugin/command.js.map +0 -1
  3188. package/lib/mol-plugin/commands.js.map +0 -1
  3189. package/lib/mol-plugin/config.js.map +0 -1
  3190. package/lib/mol-plugin/context.js.map +0 -1
  3191. package/lib/mol-plugin/layout.js.map +0 -1
  3192. package/lib/mol-plugin/spec.js.map +0 -1
  3193. package/lib/mol-plugin/state.js.map +0 -1
  3194. package/lib/mol-plugin/util/substructure-parent-helper.js.map +0 -1
  3195. package/lib/mol-plugin/util/task-manager.js.map +0 -1
  3196. package/lib/mol-plugin/util/toast.js.map +0 -1
  3197. package/lib/mol-plugin/util/viewport-screenshot.js.map +0 -1
  3198. package/lib/mol-plugin/version.js.map +0 -1
  3199. package/lib/mol-plugin-state/actions/file.js.map +0 -1
  3200. package/lib/mol-plugin-state/actions/structure.js.map +0 -1
  3201. package/lib/mol-plugin-state/actions/volume.js.map +0 -1
  3202. package/lib/mol-plugin-state/actions.js.map +0 -1
  3203. package/lib/mol-plugin-state/animation/built-in/assembly-unwind.js.map +0 -1
  3204. package/lib/mol-plugin-state/animation/built-in/camera-spin.js.map +0 -1
  3205. package/lib/mol-plugin-state/animation/built-in/explode-units.js.map +0 -1
  3206. package/lib/mol-plugin-state/animation/built-in/model-index.js.map +0 -1
  3207. package/lib/mol-plugin-state/animation/built-in/spin-structure.js.map +0 -1
  3208. package/lib/mol-plugin-state/animation/built-in/state-interpolation.js.map +0 -1
  3209. package/lib/mol-plugin-state/animation/built-in/state-snapshots.js.map +0 -1
  3210. package/lib/mol-plugin-state/animation/helpers.js.map +0 -1
  3211. package/lib/mol-plugin-state/animation/model.js.map +0 -1
  3212. package/lib/mol-plugin-state/builder/data.js.map +0 -1
  3213. package/lib/mol-plugin-state/builder/preset-provider.js.map +0 -1
  3214. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.js.map +0 -1
  3215. package/lib/mol-plugin-state/builder/structure/hierarchy.js.map +0 -1
  3216. package/lib/mol-plugin-state/builder/structure/representation-preset.js.map +0 -1
  3217. package/lib/mol-plugin-state/builder/structure/representation.js.map +0 -1
  3218. package/lib/mol-plugin-state/builder/structure.js.map +0 -1
  3219. package/lib/mol-plugin-state/component.js.map +0 -1
  3220. package/lib/mol-plugin-state/formats/provider.js.map +0 -1
  3221. package/lib/mol-plugin-state/formats/registry.js.map +0 -1
  3222. package/lib/mol-plugin-state/formats/shape.js.map +0 -1
  3223. package/lib/mol-plugin-state/formats/structure.js.map +0 -1
  3224. package/lib/mol-plugin-state/formats/trajectory.js.map +0 -1
  3225. package/lib/mol-plugin-state/formats/volume.js.map +0 -1
  3226. package/lib/mol-plugin-state/helpers/root-structure.js.map +0 -1
  3227. package/lib/mol-plugin-state/helpers/structure-clipping.js.map +0 -1
  3228. package/lib/mol-plugin-state/helpers/structure-component.js.map +0 -1
  3229. package/lib/mol-plugin-state/helpers/structure-overpaint.js.map +0 -1
  3230. package/lib/mol-plugin-state/helpers/structure-query.js.map +0 -1
  3231. package/lib/mol-plugin-state/helpers/structure-representation-params.js.map +0 -1
  3232. package/lib/mol-plugin-state/helpers/structure-selection-query.js.map +0 -1
  3233. package/lib/mol-plugin-state/helpers/structure-transparency.js.map +0 -1
  3234. package/lib/mol-plugin-state/helpers/volume-representation-params.js.map +0 -1
  3235. package/lib/mol-plugin-state/manager/animation.js.map +0 -1
  3236. package/lib/mol-plugin-state/manager/camera.js.map +0 -1
  3237. package/lib/mol-plugin-state/manager/interactivity.js.map +0 -1
  3238. package/lib/mol-plugin-state/manager/loci-label.js.map +0 -1
  3239. package/lib/mol-plugin-state/manager/snapshots.js.map +0 -1
  3240. package/lib/mol-plugin-state/manager/structure/component.js.map +0 -1
  3241. package/lib/mol-plugin-state/manager/structure/focus.js.map +0 -1
  3242. package/lib/mol-plugin-state/manager/structure/hierarchy-state.js.map +0 -1
  3243. package/lib/mol-plugin-state/manager/structure/hierarchy.js.map +0 -1
  3244. package/lib/mol-plugin-state/manager/structure/measurement.js.map +0 -1
  3245. package/lib/mol-plugin-state/manager/structure/selection.js.map +0 -1
  3246. package/lib/mol-plugin-state/manager/volume/hierarchy-state.js.map +0 -1
  3247. package/lib/mol-plugin-state/manager/volume/hierarchy.js.map +0 -1
  3248. package/lib/mol-plugin-state/objects.js.map +0 -1
  3249. package/lib/mol-plugin-state/transforms/data.js.map +0 -1
  3250. package/lib/mol-plugin-state/transforms/helpers.js.map +0 -1
  3251. package/lib/mol-plugin-state/transforms/misc.js.map +0 -1
  3252. package/lib/mol-plugin-state/transforms/model.js.map +0 -1
  3253. package/lib/mol-plugin-state/transforms/representation.js.map +0 -1
  3254. package/lib/mol-plugin-state/transforms/shape.js.map +0 -1
  3255. package/lib/mol-plugin-state/transforms/volume.js.map +0 -1
  3256. package/lib/mol-plugin-state/transforms.js.map +0 -1
  3257. package/lib/mol-plugin-ui/base.js.map +0 -1
  3258. package/lib/mol-plugin-ui/context.js.map +0 -1
  3259. package/lib/mol-plugin-ui/controls/action-menu.js.map +0 -1
  3260. package/lib/mol-plugin-ui/controls/color.js.map +0 -1
  3261. package/lib/mol-plugin-ui/controls/common.js.map +0 -1
  3262. package/lib/mol-plugin-ui/controls/icons.js.map +0 -1
  3263. package/lib/mol-plugin-ui/controls/legend.js.map +0 -1
  3264. package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +0 -1
  3265. package/lib/mol-plugin-ui/controls/line-graph/point-component.js.map +0 -1
  3266. package/lib/mol-plugin-ui/controls/parameters.js.map +0 -1
  3267. package/lib/mol-plugin-ui/controls/screenshot.js.map +0 -1
  3268. package/lib/mol-plugin-ui/controls/slider.js.map +0 -1
  3269. package/lib/mol-plugin-ui/controls.js.map +0 -1
  3270. package/lib/mol-plugin-ui/custom/volume.js.map +0 -1
  3271. package/lib/mol-plugin-ui/hooks/use-behavior.js.map +0 -1
  3272. package/lib/mol-plugin-ui/index.js.map +0 -1
  3273. package/lib/mol-plugin-ui/left-panel.js.map +0 -1
  3274. package/lib/mol-plugin-ui/plugin.js.map +0 -1
  3275. package/lib/mol-plugin-ui/sequence/chain.js.map +0 -1
  3276. package/lib/mol-plugin-ui/sequence/element.js.map +0 -1
  3277. package/lib/mol-plugin-ui/sequence/hetero.js.map +0 -1
  3278. package/lib/mol-plugin-ui/sequence/polymer.js.map +0 -1
  3279. package/lib/mol-plugin-ui/sequence/sequence.js.map +0 -1
  3280. package/lib/mol-plugin-ui/sequence/wrapper.js.map +0 -1
  3281. package/lib/mol-plugin-ui/sequence.js.map +0 -1
  3282. package/lib/mol-plugin-ui/spec.js.map +0 -1
  3283. package/lib/mol-plugin-ui/state/actions.js.map +0 -1
  3284. package/lib/mol-plugin-ui/state/animation.js.map +0 -1
  3285. package/lib/mol-plugin-ui/state/apply-action.js.map +0 -1
  3286. package/lib/mol-plugin-ui/state/common.js.map +0 -1
  3287. package/lib/mol-plugin-ui/state/snapshots.js.map +0 -1
  3288. package/lib/mol-plugin-ui/state/tree.js.map +0 -1
  3289. package/lib/mol-plugin-ui/state/update-transform.js.map +0 -1
  3290. package/lib/mol-plugin-ui/structure/components.js.map +0 -1
  3291. package/lib/mol-plugin-ui/structure/focus.js.map +0 -1
  3292. package/lib/mol-plugin-ui/structure/generic.js.map +0 -1
  3293. package/lib/mol-plugin-ui/structure/measurements.js.map +0 -1
  3294. package/lib/mol-plugin-ui/structure/selection.js.map +0 -1
  3295. package/lib/mol-plugin-ui/structure/source.js.map +0 -1
  3296. package/lib/mol-plugin-ui/structure/superposition.js.map +0 -1
  3297. package/lib/mol-plugin-ui/structure/volume.js.map +0 -1
  3298. package/lib/mol-plugin-ui/task.js.map +0 -1
  3299. package/lib/mol-plugin-ui/toast.js.map +0 -1
  3300. package/lib/mol-plugin-ui/viewport/canvas.js.map +0 -1
  3301. package/lib/mol-plugin-ui/viewport/help.js.map +0 -1
  3302. package/lib/mol-plugin-ui/viewport/screenshot.js.map +0 -1
  3303. package/lib/mol-plugin-ui/viewport/simple-settings.js.map +0 -1
  3304. package/lib/mol-plugin-ui/viewport.js.map +0 -1
  3305. package/lib/mol-repr/representation.js.map +0 -1
  3306. package/lib/mol-repr/shape/loci/angle.js.map +0 -1
  3307. package/lib/mol-repr/shape/loci/common.js.map +0 -1
  3308. package/lib/mol-repr/shape/loci/dihedral.js.map +0 -1
  3309. package/lib/mol-repr/shape/loci/distance.js.map +0 -1
  3310. package/lib/mol-repr/shape/loci/label.js.map +0 -1
  3311. package/lib/mol-repr/shape/loci/orientation.js.map +0 -1
  3312. package/lib/mol-repr/shape/loci/plane.js.map +0 -1
  3313. package/lib/mol-repr/shape/model/unitcell.js.map +0 -1
  3314. package/lib/mol-repr/shape/representation.js.map +0 -1
  3315. package/lib/mol-repr/structure/complex-representation.js.map +0 -1
  3316. package/lib/mol-repr/structure/complex-visual.js.map +0 -1
  3317. package/lib/mol-repr/structure/params.js.map +0 -1
  3318. package/lib/mol-repr/structure/registry.js.map +0 -1
  3319. package/lib/mol-repr/structure/representation/backbone.js.map +0 -1
  3320. package/lib/mol-repr/structure/representation/ball-and-stick.js.map +0 -1
  3321. package/lib/mol-repr/structure/representation/carbohydrate.js.map +0 -1
  3322. package/lib/mol-repr/structure/representation/cartoon.js.map +0 -1
  3323. package/lib/mol-repr/structure/representation/ellipsoid.js.map +0 -1
  3324. package/lib/mol-repr/structure/representation/gaussian-surface.js.map +0 -1
  3325. package/lib/mol-repr/structure/representation/gaussian-volume.js.map +0 -1
  3326. package/lib/mol-repr/structure/representation/label.js.map +0 -1
  3327. package/lib/mol-repr/structure/representation/line.js.map +0 -1
  3328. package/lib/mol-repr/structure/representation/molecular-surface.js.map +0 -1
  3329. package/lib/mol-repr/structure/representation/orientation.js.map +0 -1
  3330. package/lib/mol-repr/structure/representation/point.js.map +0 -1
  3331. package/lib/mol-repr/structure/representation/putty.js.map +0 -1
  3332. package/lib/mol-repr/structure/representation/spacefill.js.map +0 -1
  3333. package/lib/mol-repr/structure/representation.js.map +0 -1
  3334. package/lib/mol-repr/structure/units-representation.js.map +0 -1
  3335. package/lib/mol-repr/structure/units-visual.js.map +0 -1
  3336. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +0 -1
  3337. package/lib/mol-repr/structure/visual/bond-inter-unit-line.js.map +0 -1
  3338. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +0 -1
  3339. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js.map +0 -1
  3340. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.js.map +0 -1
  3341. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.js.map +0 -1
  3342. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.js.map +0 -1
  3343. package/lib/mol-repr/structure/visual/element-cross.js.map +0 -1
  3344. package/lib/mol-repr/structure/visual/element-point.js.map +0 -1
  3345. package/lib/mol-repr/structure/visual/element-sphere.js.map +0 -1
  3346. package/lib/mol-repr/structure/visual/ellipsoid-mesh.js.map +0 -1
  3347. package/lib/mol-repr/structure/visual/gaussian-density-volume.js.map +0 -1
  3348. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js.map +0 -1
  3349. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js.map +0 -1
  3350. package/lib/mol-repr/structure/visual/label-text.js.map +0 -1
  3351. package/lib/mol-repr/structure/visual/molecular-surface-mesh.js.map +0 -1
  3352. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js.map +0 -1
  3353. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.js.map +0 -1
  3354. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.js.map +0 -1
  3355. package/lib/mol-repr/structure/visual/orientation-axes-mesh.d.ts +0 -35
  3356. package/lib/mol-repr/structure/visual/orientation-axes-mesh.js +0 -43
  3357. package/lib/mol-repr/structure/visual/orientation-axes-mesh.js.map +0 -1
  3358. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.d.ts +0 -31
  3359. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js +0 -48
  3360. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh copy.js.map +0 -1
  3361. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.js.map +0 -1
  3362. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.js.map +0 -1
  3363. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.js.map +0 -1
  3364. package/lib/mol-repr/structure/visual/polymer-direction-wedge.js.map +0 -1
  3365. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.js.map +0 -1
  3366. package/lib/mol-repr/structure/visual/polymer-trace-mesh.js.map +0 -1
  3367. package/lib/mol-repr/structure/visual/polymer-tube-mesh.js.map +0 -1
  3368. package/lib/mol-repr/structure/visual/util/bond.js.map +0 -1
  3369. package/lib/mol-repr/structure/visual/util/color.d.ts +0 -24
  3370. package/lib/mol-repr/structure/visual/util/color.js +0 -94
  3371. package/lib/mol-repr/structure/visual/util/color.js.map +0 -1
  3372. package/lib/mol-repr/structure/visual/util/common.js.map +0 -1
  3373. package/lib/mol-repr/structure/visual/util/element.js.map +0 -1
  3374. package/lib/mol-repr/structure/visual/util/gaussian.js.map +0 -1
  3375. package/lib/mol-repr/structure/visual/util/link.js.map +0 -1
  3376. package/lib/mol-repr/structure/visual/util/molecular-surface.js.map +0 -1
  3377. package/lib/mol-repr/structure/visual/util/nucleotide.js.map +0 -1
  3378. package/lib/mol-repr/structure/visual/util/orientation.d.ts +0 -17
  3379. package/lib/mol-repr/structure/visual/util/orientation.js +0 -71
  3380. package/lib/mol-repr/structure/visual/util/orientation.js.map +0 -1
  3381. package/lib/mol-repr/structure/visual/util/polymer/backbone.js.map +0 -1
  3382. package/lib/mol-repr/structure/visual/util/polymer/curve-segment.js.map +0 -1
  3383. package/lib/mol-repr/structure/visual/util/polymer/gap-iterator.js.map +0 -1
  3384. package/lib/mol-repr/structure/visual/util/polymer/trace-iterator.js.map +0 -1
  3385. package/lib/mol-repr/structure/visual/util/polymer.js.map +0 -1
  3386. package/lib/mol-repr/util.js.map +0 -1
  3387. package/lib/mol-repr/visual.js.map +0 -1
  3388. package/lib/mol-repr/volume/direct-volume.js.map +0 -1
  3389. package/lib/mol-repr/volume/isosurface.js.map +0 -1
  3390. package/lib/mol-repr/volume/registry.js.map +0 -1
  3391. package/lib/mol-repr/volume/representation.js.map +0 -1
  3392. package/lib/mol-repr/volume/slice.js.map +0 -1
  3393. package/lib/mol-repr/volume/util.js.map +0 -1
  3394. package/lib/mol-script/compiler.js.map +0 -1
  3395. package/lib/mol-script/language/builder.js.map +0 -1
  3396. package/lib/mol-script/language/container.js.map +0 -1
  3397. package/lib/mol-script/language/expression-formatter.js.map +0 -1
  3398. package/lib/mol-script/language/expression.js.map +0 -1
  3399. package/lib/mol-script/language/helpers.js.map +0 -1
  3400. package/lib/mol-script/language/parser.js.map +0 -1
  3401. package/lib/mol-script/language/symbol-table/core.js.map +0 -1
  3402. package/lib/mol-script/language/symbol-table/internal.js.map +0 -1
  3403. package/lib/mol-script/language/symbol-table/structure-query.js.map +0 -1
  3404. package/lib/mol-script/language/symbol-table.js.map +0 -1
  3405. package/lib/mol-script/language/symbol.js.map +0 -1
  3406. package/lib/mol-script/language/type.js.map +0 -1
  3407. package/lib/mol-script/runtime/environment.js.map +0 -1
  3408. package/lib/mol-script/runtime/expression.js.map +0 -1
  3409. package/lib/mol-script/runtime/query/base.js.map +0 -1
  3410. package/lib/mol-script/runtime/query/compiler.js.map +0 -1
  3411. package/lib/mol-script/runtime/query/table.js.map +0 -1
  3412. package/lib/mol-script/runtime/runtime-macro.js.map +0 -1
  3413. package/lib/mol-script/runtime/symbol.js.map +0 -1
  3414. package/lib/mol-script/script/mol-script/examples.js.map +0 -1
  3415. package/lib/mol-script/script/mol-script/parser.js.map +0 -1
  3416. package/lib/mol-script/script/mol-script/script-macro.js.map +0 -1
  3417. package/lib/mol-script/script/mol-script/symbols.js.map +0 -1
  3418. package/lib/mol-script/script/parser.js.map +0 -1
  3419. package/lib/mol-script/script.js.map +0 -1
  3420. package/lib/mol-script/util/id-list.js.map +0 -1
  3421. package/lib/mol-state/action/manager.js.map +0 -1
  3422. package/lib/mol-state/action.js.map +0 -1
  3423. package/lib/mol-state/index.js.map +0 -1
  3424. package/lib/mol-state/object.js.map +0 -1
  3425. package/lib/mol-state/state/builder.js.map +0 -1
  3426. package/lib/mol-state/state/selection.js.map +0 -1
  3427. package/lib/mol-state/state.js.map +0 -1
  3428. package/lib/mol-state/transform.js.map +0 -1
  3429. package/lib/mol-state/transformer.js.map +0 -1
  3430. package/lib/mol-state/tree/immutable.js.map +0 -1
  3431. package/lib/mol-state/tree/spine.js.map +0 -1
  3432. package/lib/mol-state/tree/transient.js.map +0 -1
  3433. package/lib/mol-state/tree.js.map +0 -1
  3434. package/lib/mol-task/execution/observable.js.map +0 -1
  3435. package/lib/mol-task/execution/progress.js.map +0 -1
  3436. package/lib/mol-task/execution/runtime-context.js.map +0 -1
  3437. package/lib/mol-task/execution/synchronous.js.map +0 -1
  3438. package/lib/mol-task/index.js.map +0 -1
  3439. package/lib/mol-task/task.js.map +0 -1
  3440. package/lib/mol-task/util/chunked.js.map +0 -1
  3441. package/lib/mol-task/util/multistep.js.map +0 -1
  3442. package/lib/mol-task/util/scheduler.js.map +0 -1
  3443. package/lib/mol-task/util/user-timing.js.map +0 -1
  3444. package/lib/mol-theme/clipping.js.map +0 -1
  3445. package/lib/mol-theme/color/atom-id.js.map +0 -1
  3446. package/lib/mol-theme/color/carbohydrate-symbol.js.map +0 -1
  3447. package/lib/mol-theme/color/chain-id.js.map +0 -1
  3448. package/lib/mol-theme/color/element-index.js.map +0 -1
  3449. package/lib/mol-theme/color/element-symbol.js.map +0 -1
  3450. package/lib/mol-theme/color/entity-id.js.map +0 -1
  3451. package/lib/mol-theme/color/entity-source.js.map +0 -1
  3452. package/lib/mol-theme/color/hydrophobicity.js.map +0 -1
  3453. package/lib/mol-theme/color/illustrative.js.map +0 -1
  3454. package/lib/mol-theme/color/model-index.js.map +0 -1
  3455. package/lib/mol-theme/color/molecule-type.js.map +0 -1
  3456. package/lib/mol-theme/color/occupancy.js.map +0 -1
  3457. package/lib/mol-theme/color/operator-hkl.js.map +0 -1
  3458. package/lib/mol-theme/color/operator-name.js.map +0 -1
  3459. package/lib/mol-theme/color/partial-charge.js.map +0 -1
  3460. package/lib/mol-theme/color/polymer-id.js.map +0 -1
  3461. package/lib/mol-theme/color/polymer-index.js.map +0 -1
  3462. package/lib/mol-theme/color/residue-name.js.map +0 -1
  3463. package/lib/mol-theme/color/secondary-structure.js.map +0 -1
  3464. package/lib/mol-theme/color/sequence-id.js.map +0 -1
  3465. package/lib/mol-theme/color/shape-group.js.map +0 -1
  3466. package/lib/mol-theme/color/uncertainty.js.map +0 -1
  3467. package/lib/mol-theme/color/uniform.js.map +0 -1
  3468. package/lib/mol-theme/color/unit-index.js.map +0 -1
  3469. package/lib/mol-theme/color.js.map +0 -1
  3470. package/lib/mol-theme/label.js.map +0 -1
  3471. package/lib/mol-theme/overpaint.js.map +0 -1
  3472. package/lib/mol-theme/size/physical.js.map +0 -1
  3473. package/lib/mol-theme/size/shape-group.js.map +0 -1
  3474. package/lib/mol-theme/size/uncertainty.js.map +0 -1
  3475. package/lib/mol-theme/size/uniform.js.map +0 -1
  3476. package/lib/mol-theme/size.js.map +0 -1
  3477. package/lib/mol-theme/theme.js.map +0 -1
  3478. package/lib/mol-theme/transparency.js.map +0 -1
  3479. package/lib/mol-util/_spec/id-factory.spec.d.ts +0 -6
  3480. package/lib/mol-util/_spec/id-factory.spec.js +0 -31
  3481. package/lib/mol-util/_spec/id-factory.spec.js.map +0 -1
  3482. package/lib/mol-util/_spec/monadic-parser.spec.d.ts +0 -6
  3483. package/lib/mol-util/_spec/monadic-parser.spec.js +0 -44
  3484. package/lib/mol-util/_spec/monadic-parser.spec.js.map +0 -1
  3485. package/lib/mol-util/_spec/reference-cache.spec.d.ts +0 -6
  3486. package/lib/mol-util/_spec/reference-cache.spec.js +0 -29
  3487. package/lib/mol-util/_spec/reference-cache.spec.js.map +0 -1
  3488. package/lib/mol-util/_spec/string-builder.spec.d.ts +0 -6
  3489. package/lib/mol-util/_spec/string-builder.spec.js +0 -31
  3490. package/lib/mol-util/_spec/string-builder.spec.js.map +0 -1
  3491. package/lib/mol-util/_spec/zip.spec.d.ts +0 -6
  3492. package/lib/mol-util/_spec/zip.spec.js +0 -47
  3493. package/lib/mol-util/_spec/zip.spec.js.map +0 -1
  3494. package/lib/mol-util/array.js.map +0 -1
  3495. package/lib/mol-util/assets.js.map +0 -1
  3496. package/lib/mol-util/async-queue.js.map +0 -1
  3497. package/lib/mol-util/binding.js.map +0 -1
  3498. package/lib/mol-util/bit-flags.js.map +0 -1
  3499. package/lib/mol-util/color/color.js.map +0 -1
  3500. package/lib/mol-util/color/distinct.js.map +0 -1
  3501. package/lib/mol-util/color/index.js.map +0 -1
  3502. package/lib/mol-util/color/lists.js.map +0 -1
  3503. package/lib/mol-util/color/names.js.map +0 -1
  3504. package/lib/mol-util/color/palette.js.map +0 -1
  3505. package/lib/mol-util/color/scale.js.map +0 -1
  3506. package/lib/mol-util/color/spaces/hcl.js.map +0 -1
  3507. package/lib/mol-util/color/spaces/lab.js.map +0 -1
  3508. package/lib/mol-util/color/swatches.js.map +0 -1
  3509. package/lib/mol-util/console-logger.js.map +0 -1
  3510. package/lib/mol-util/data-source.js.map +0 -1
  3511. package/lib/mol-util/date.js.map +0 -1
  3512. package/lib/mol-util/debug.js.map +0 -1
  3513. package/lib/mol-util/download.js.map +0 -1
  3514. package/lib/mol-util/file-info.js.map +0 -1
  3515. package/lib/mol-util/float-packing.d.ts +0 -15
  3516. package/lib/mol-util/float-packing.js +0 -37
  3517. package/lib/mol-util/float-packing.js.map +0 -1
  3518. package/lib/mol-util/graphql-client.js.map +0 -1
  3519. package/lib/mol-util/id-factory.js.map +0 -1
  3520. package/lib/mol-util/image.js.map +0 -1
  3521. package/lib/mol-util/index.js.map +0 -1
  3522. package/lib/mol-util/input/event-offset.js.map +0 -1
  3523. package/lib/mol-util/input/input-observer.js.map +0 -1
  3524. package/lib/mol-util/is-little-endian.js.map +0 -1
  3525. package/lib/mol-util/legend.js.map +0 -1
  3526. package/lib/mol-util/log-entry.js.map +0 -1
  3527. package/lib/mol-util/lru-cache.js.map +0 -1
  3528. package/lib/mol-util/make-dir.js.map +0 -1
  3529. package/lib/mol-util/map.js.map +0 -1
  3530. package/lib/mol-util/marker-action.js.map +0 -1
  3531. package/lib/mol-util/mask.js.map +0 -1
  3532. package/lib/mol-util/memoize.js.map +0 -1
  3533. package/lib/mol-util/monadic-parser.js.map +0 -1
  3534. package/lib/mol-util/now.js.map +0 -1
  3535. package/lib/mol-util/number.js.map +0 -1
  3536. package/lib/mol-util/object.js.map +0 -1
  3537. package/lib/mol-util/param-definition.js.map +0 -1
  3538. package/lib/mol-util/param-mapping.js.map +0 -1
  3539. package/lib/mol-util/performance-monitor.js.map +0 -1
  3540. package/lib/mol-util/polyfill.js.map +0 -1
  3541. package/lib/mol-util/read.js.map +0 -1
  3542. package/lib/mol-util/reference-cache.js.map +0 -1
  3543. package/lib/mol-util/retry-if.js.map +0 -1
  3544. package/lib/mol-util/rx-event-helper.js.map +0 -1
  3545. package/lib/mol-util/set.js.map +0 -1
  3546. package/lib/mol-util/sleep.js.map +0 -1
  3547. package/lib/mol-util/string-builder.js.map +0 -1
  3548. package/lib/mol-util/string.js.map +0 -1
  3549. package/lib/mol-util/type-helpers.js.map +0 -1
  3550. package/lib/mol-util/url.js.map +0 -1
  3551. package/lib/mol-util/uuid.js.map +0 -1
  3552. package/lib/mol-util/value-cell.js.map +0 -1
  3553. package/lib/mol-util/zip/bin.js.map +0 -1
  3554. package/lib/mol-util/zip/checksum.js.map +0 -1
  3555. package/lib/mol-util/zip/deflate.js.map +0 -1
  3556. package/lib/mol-util/zip/huffman.js.map +0 -1
  3557. package/lib/mol-util/zip/inflate.js.map +0 -1
  3558. package/lib/mol-util/zip/util.js.map +0 -1
  3559. package/lib/mol-util/zip/zip.js.map +0 -1
  3560. package/lib/perf-tests/binary-search.d.ts +0 -23
  3561. package/lib/perf-tests/binary-search.js +0 -154
  3562. package/lib/perf-tests/binary-search.js.map +0 -1
  3563. package/lib/perf-tests/chunked-array-vs-native.d.ts +0 -1
  3564. package/lib/perf-tests/chunked-array-vs-native.js +0 -40
  3565. package/lib/perf-tests/chunked-array-vs-native.js.map +0 -1
  3566. package/lib/perf-tests/cif-encoder.d.ts +0 -6
  3567. package/lib/perf-tests/cif-encoder.js +0 -55
  3568. package/lib/perf-tests/cif-encoder.js.map +0 -1
  3569. package/lib/perf-tests/column.d.ts +0 -4
  3570. package/lib/perf-tests/column.js +0 -75
  3571. package/lib/perf-tests/column.js.map +0 -1
  3572. package/lib/perf-tests/iterators.d.ts +0 -13
  3573. package/lib/perf-tests/iterators.js +0 -211
  3574. package/lib/perf-tests/iterators.js.map +0 -1
  3575. package/lib/perf-tests/lookup3d.d.ts +0 -8
  3576. package/lib/perf-tests/lookup3d.js +0 -84
  3577. package/lib/perf-tests/lookup3d.js.map +0 -1
  3578. package/lib/perf-tests/markers-average.d.ts +0 -1
  3579. package/lib/perf-tests/markers-average.js +0 -190
  3580. package/lib/perf-tests/markers-average.js.map +0 -1
  3581. package/lib/perf-tests/mol-script.d.ts +0 -1
  3582. package/lib/perf-tests/mol-script.js +0 -95
  3583. package/lib/perf-tests/mol-script.js.map +0 -1
  3584. package/lib/perf-tests/sets.d.ts +0 -37
  3585. package/lib/perf-tests/sets.js +0 -433
  3586. package/lib/perf-tests/sets.js.map +0 -1
  3587. package/lib/perf-tests/sort.d.ts +0 -3
  3588. package/lib/perf-tests/sort.js +0 -74
  3589. package/lib/perf-tests/sort.js.map +0 -1
  3590. package/lib/perf-tests/state.d.ts +0 -0
  3591. package/lib/perf-tests/state.js +0 -112
  3592. package/lib/perf-tests/state.js.map +0 -1
  3593. package/lib/perf-tests/string-builder.d.ts +0 -3
  3594. package/lib/perf-tests/string-builder.js +0 -53
  3595. package/lib/perf-tests/string-builder.js.map +0 -1
  3596. package/lib/perf-tests/structure.d.ts +0 -24
  3597. package/lib/perf-tests/structure.js +0 -524
  3598. package/lib/perf-tests/structure.js.map +0 -1
  3599. package/lib/perf-tests/tasks.d.ts +0 -18
  3600. package/lib/perf-tests/tasks.js +0 -324
  3601. package/lib/perf-tests/tasks.js.map +0 -1
  3602. package/lib/perf-tests/test-xtc.d.ts +0 -6
  3603. package/lib/perf-tests/test-xtc.js +0 -37
  3604. package/lib/perf-tests/test-xtc.js.map +0 -1
  3605. package/lib/servers/common/file-handle.js.map +0 -1
  3606. package/lib/servers/common/swagger-ui/index.js.map +0 -1
  3607. package/lib/servers/common/swagger-ui/indexTemplate.js.map +0 -1
  3608. package/lib/servers/common/util.js.map +0 -1
  3609. package/lib/servers/model/config.js.map +0 -1
  3610. package/lib/servers/model/preprocess/converter.js.map +0 -1
  3611. package/lib/servers/model/preprocess/master.js.map +0 -1
  3612. package/lib/servers/model/preprocess/parallel.js.map +0 -1
  3613. package/lib/servers/model/preprocess/preprocess.js.map +0 -1
  3614. package/lib/servers/model/preprocess/util.js.map +0 -1
  3615. package/lib/servers/model/preprocess.js.map +0 -1
  3616. package/lib/servers/model/properties/pdbe.js.map +0 -1
  3617. package/lib/servers/model/properties/providers/pdbe.js.map +0 -1
  3618. package/lib/servers/model/properties/providers/wwpdb.js.map +0 -1
  3619. package/lib/servers/model/properties/wwpdb.js.map +0 -1
  3620. package/lib/servers/model/property-provider.js.map +0 -1
  3621. package/lib/servers/model/query/atoms.js.map +0 -1
  3622. package/lib/servers/model/query/schemas.js.map +0 -1
  3623. package/lib/servers/model/query.js.map +0 -1
  3624. package/lib/servers/model/server/api-local.js.map +0 -1
  3625. package/lib/servers/model/server/api-schema.js.map +0 -1
  3626. package/lib/servers/model/server/api-web-multiple.js.map +0 -1
  3627. package/lib/servers/model/server/api-web.js.map +0 -1
  3628. package/lib/servers/model/server/api.js.map +0 -1
  3629. package/lib/servers/model/server/cache.js.map +0 -1
  3630. package/lib/servers/model/server/jobs.js.map +0 -1
  3631. package/lib/servers/model/server/query.js.map +0 -1
  3632. package/lib/servers/model/server/structure-wrapper.js.map +0 -1
  3633. package/lib/servers/model/server.js.map +0 -1
  3634. package/lib/servers/model/test.js.map +0 -1
  3635. package/lib/servers/model/utils/fetch-props-pdbe.js.map +0 -1
  3636. package/lib/servers/model/utils/fetch-retry.js.map +0 -1
  3637. package/lib/servers/model/utils/tar.js.map +0 -1
  3638. package/lib/servers/model/utils/writer.js.map +0 -1
  3639. package/lib/servers/model/version.js.map +0 -1
  3640. package/lib/servers/plugin-state/api-schema.js.map +0 -1
  3641. package/lib/servers/plugin-state/config.js.map +0 -1
  3642. package/lib/servers/plugin-state/index.js.map +0 -1
  3643. package/lib/servers/plugin-state/version.js.map +0 -1
  3644. package/lib/servers/volume/common/binary-schema.js.map +0 -1
  3645. package/lib/servers/volume/common/data-format.js.map +0 -1
  3646. package/lib/servers/volume/common/file.js.map +0 -1
  3647. package/lib/servers/volume/config.js.map +0 -1
  3648. package/lib/servers/volume/pack/data-model.js.map +0 -1
  3649. package/lib/servers/volume/pack/downsampling.js.map +0 -1
  3650. package/lib/servers/volume/pack/format/ccp4.js.map +0 -1
  3651. package/lib/servers/volume/pack/format/dsn6.js.map +0 -1
  3652. package/lib/servers/volume/pack/format.js.map +0 -1
  3653. package/lib/servers/volume/pack/main.js.map +0 -1
  3654. package/lib/servers/volume/pack/sampling.js.map +0 -1
  3655. package/lib/servers/volume/pack/version.js.map +0 -1
  3656. package/lib/servers/volume/pack/writer.js.map +0 -1
  3657. package/lib/servers/volume/pack.js.map +0 -1
  3658. package/lib/servers/volume/query.js.map +0 -1
  3659. package/lib/servers/volume/server/algebra/box.js.map +0 -1
  3660. package/lib/servers/volume/server/algebra/coordinate.js.map +0 -1
  3661. package/lib/servers/volume/server/api.js.map +0 -1
  3662. package/lib/servers/volume/server/local-api.js.map +0 -1
  3663. package/lib/servers/volume/server/query/compose.js.map +0 -1
  3664. package/lib/servers/volume/server/query/data-model.js.map +0 -1
  3665. package/lib/servers/volume/server/query/encode.js.map +0 -1
  3666. package/lib/servers/volume/server/query/execute.js.map +0 -1
  3667. package/lib/servers/volume/server/query/identify.js.map +0 -1
  3668. package/lib/servers/volume/server/state.js.map +0 -1
  3669. package/lib/servers/volume/server/version.js.map +0 -1
  3670. package/lib/servers/volume/server/web-api.js.map +0 -1
  3671. package/lib/servers/volume/server/web-schema.js.map +0 -1
  3672. package/lib/servers/volume/server.js.map +0 -1
  3673. package/lib/tests/browser/font-atlas.d.ts +0 -6
  3674. package/lib/tests/browser/font-atlas.js +0 -36
  3675. package/lib/tests/browser/font-atlas.js.map +0 -1
  3676. package/lib/tests/browser/index.html +0 -37
  3677. package/lib/tests/browser/marching-cubes.d.ts +0 -6
  3678. package/lib/tests/browser/marching-cubes.js +0 -142
  3679. package/lib/tests/browser/marching-cubes.js.map +0 -1
  3680. package/lib/tests/browser/parse-xtc.d.ts +0 -6
  3681. package/lib/tests/browser/parse-xtc.js +0 -40
  3682. package/lib/tests/browser/parse-xtc.js.map +0 -1
  3683. package/lib/tests/browser/render-lines.d.ts +0 -6
  3684. package/lib/tests/browser/render-lines.js +0 -40
  3685. package/lib/tests/browser/render-lines.js.map +0 -1
  3686. package/lib/tests/browser/render-mesh.d.ts +0 -6
  3687. package/lib/tests/browser/render-mesh.js +0 -49
  3688. package/lib/tests/browser/render-mesh.js.map +0 -1
  3689. package/lib/tests/browser/render-shape.d.ts +0 -7
  3690. package/lib/tests/browser/render-shape.js +0 -164
  3691. package/lib/tests/browser/render-shape.js.map +0 -1
  3692. package/lib/tests/browser/render-spheres.d.ts +0 -6
  3693. package/lib/tests/browser/render-spheres.js +0 -39
  3694. package/lib/tests/browser/render-spheres.js.map +0 -1
  3695. package/lib/tests/browser/render-structure.d.ts +0 -6
  3696. package/lib/tests/browser/render-structure.js +0 -287
  3697. package/lib/tests/browser/render-structure.js.map +0 -1
  3698. package/lib/tests/browser/render-text.d.ts +0 -6
  3699. package/lib/tests/browser/render-text.js +0 -59
  3700. package/lib/tests/browser/render-text.js.map +0 -1
  3701. package/lib/tsconfig.commonjs.tsbuildinfo +0 -1
@@ -1 +1 @@
1
- export declare const assign_material_color = "\n#if defined(dRenderVariant_color) || defined(dRenderVariant_marking)\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n float marker = floor(vMarker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dUsePalette)\n vec4 material = vec4(texture2D(tPalette, vec2(vPaletteV, 0.5)).rgb, uAlpha);\n #elif defined(dColorType_uniform)\n vec4 material = vec4(uColor, uAlpha);\n #elif defined(dColorType_varying)\n vec4 material = vec4(vColor.rgb, uAlpha);\n #endif\n\n // mix material with overpaint\n #if defined(dOverpaint)\n material.rgb = mix(material.rgb, vOverpaint.rgb, vOverpaint.a);\n #endif\n#elif defined(dRenderVariant_pick)\n vec4 material = vColor;\n#elif defined(dRenderVariant_depth)\n #ifdef enabledFragDepth\n vec4 material = packDepthToRGBA(gl_FragDepthEXT);\n #else\n vec4 material = packDepthToRGBA(gl_FragCoord.z);\n #endif\n#elif defined(dRenderVariant_markingDepth)\n if (marker > 0.0)\n discard;\n #ifdef enabledFragDepth\n vec4 material = packDepthToRGBA(gl_FragDepthEXT);\n #else\n vec4 material = packDepthToRGBA(gl_FragCoord.z);\n #endif\n#elif defined(dRenderVariant_markingMask)\n if (marker == 0.0)\n discard;\n float depthTest = 1.0;\n if (uMarkingDepthTest) {\n depthTest = (fragmentDepth >= getDepth(gl_FragCoord.xy / uDrawingBufferSize)) ? 1.0 : 0.0;\n }\n bool isHighlight = intMod(marker, 2.0) > 0.1;\n float viewZ = depthToViewZ(uIsOrtho, fragmentDepth, uNear, uFar);\n float fogFactor = smoothstep(uFogNear, uFogFar, abs(viewZ));\n if (fogFactor == 1.0)\n discard;\n vec4 material = vec4(0.0, depthTest, isHighlight ? 1.0 : 0.0, 1.0 - fogFactor);\n#endif\n\n// apply screendoor transparency\n#if defined(dTransparency)\n float ta = 1.0 - vTransparency;\n\n #if defined(dRenderVariant_pick)\n if (ta < uPickingAlphaThreshold)\n discard; // ignore so the element below can be picked\n #else\n #if defined(dRenderVariant_colorBlended)\n float at = 0.0;\n\n // shift by view-offset during multi-sample rendering to allow for blending\n vec2 coord = gl_FragCoord.xy + uViewOffset * 0.25;\n\n const mat4 thresholdMatrix = mat4(\n 1.0 / 17.0, 9.0 / 17.0, 3.0 / 17.0, 11.0 / 17.0,\n 13.0 / 17.0, 5.0 / 17.0, 15.0 / 17.0, 7.0 / 17.0,\n 4.0 / 17.0, 12.0 / 17.0, 2.0 / 17.0, 10.0 / 17.0,\n 16.0 / 17.0, 8.0 / 17.0, 14.0 / 17.0, 6.0 / 17.0\n );\n int ci = int(intMod(coord.x, 4.0));\n int ri = int(intMod(coord.y, 4.0));\n #if __VERSION__ == 100\n vec4 i = vec4(float(ci * 4 + ri));\n vec4 v = thresholdMatrix[0] * vec4(equal(i, vec4(0.0, 1.0, 2.0, 3.0))) +\n thresholdMatrix[1] * vec4(equal(i, vec4(4.0, 5.0, 6.0, 7.0))) +\n thresholdMatrix[2] * vec4(equal(i, vec4(8.0, 9.0, 10.0, 11.0))) +\n thresholdMatrix[3] * vec4(equal(i, vec4(12.0, 13.0, 14.0, 15.0)));\n at = v.x + v.y + v.z + v.w;\n #else\n at = thresholdMatrix[ci][ri];\n #endif\n\n if (ta < 0.99 && (ta < 0.01 || ta < at)) {\n discard;\n }\n #elif defined(dRenderVariant_colorWboit)\n material.a *= ta;\n #endif\n #endif\n#endif\n";
1
+ export declare const assign_material_color = "\n#if defined(dRenderVariant_color) || defined(dRenderVariant_marking)\n float marker = uMarker;\n if (uMarker == -1.0) {\n marker = floor(vMarker * 255.0 + 0.5); // rounding required to work on some cards on win\n }\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dUsePalette)\n vec4 material = vec4(texture2D(tPalette, vec2(vPaletteV, 0.5)).rgb, uAlpha);\n #elif defined(dColorType_uniform)\n vec4 material = vec4(uColor, uAlpha);\n #elif defined(dColorType_varying)\n vec4 material = vec4(vColor.rgb, uAlpha);\n #endif\n\n // mix material with overpaint\n #if defined(dOverpaint)\n material.rgb = mix(material.rgb, vOverpaint.rgb, vOverpaint.a);\n #endif\n\n float metalness = uMetalness;\n float roughness = uRoughness;\n float bumpiness = uBumpiness;\n #ifdef dSubstance\n metalness = mix(metalness, vSubstance.r, vSubstance.a);\n roughness = mix(roughness, vSubstance.g, vSubstance.a);\n bumpiness = mix(bumpiness, vSubstance.b, vSubstance.a);\n #endif\n#elif defined(dRenderVariant_pick)\n vec4 material = vColor;\n#elif defined(dRenderVariant_depth)\n #ifdef enabledFragDepth\n vec4 material = packDepthToRGBA(gl_FragDepthEXT);\n #else\n vec4 material = packDepthToRGBA(gl_FragCoord.z);\n #endif\n#elif defined(dRenderVariant_marking)\n vec4 material;\n if(uMarkingType == 1) {\n if (marker > 0.0)\n discard;\n #ifdef enabledFragDepth\n material = packDepthToRGBA(gl_FragDepthEXT);\n #else\n material = packDepthToRGBA(gl_FragCoord.z);\n #endif\n } else {\n if (marker == 0.0)\n discard;\n float depthTest = 1.0;\n if (uMarkingDepthTest) {\n depthTest = (fragmentDepth >= getDepth(gl_FragCoord.xy / uDrawingBufferSize)) ? 1.0 : 0.0;\n }\n bool isHighlight = intMod(marker, 2.0) > 0.1;\n float viewZ = depthToViewZ(uIsOrtho, fragmentDepth, uNear, uFar);\n float fogFactor = smoothstep(uFogNear, uFogFar, abs(viewZ));\n if (fogFactor == 1.0)\n discard;\n material = vec4(0.0, depthTest, isHighlight ? 1.0 : 0.0, 1.0 - fogFactor);\n }\n#endif\n\n// apply screendoor transparency\n#if defined(dTransparency)\n float ta = 1.0 - vTransparency;\n #if defined(dRenderVariant_colorWboit)\n if (vTransparency < 0.2) ta = 1.0; // hard cutoff looks better with wboit\n #endif\n\n #if defined(dRenderVariant_pick)\n if (ta < uPickingAlphaThreshold)\n discard; // ignore so the element below can be picked\n #else\n #if defined(dRenderVariant_colorBlended)\n float at = 0.0;\n\n // shift by view-offset during multi-sample rendering to allow for blending\n vec2 coord = gl_FragCoord.xy + uViewOffset * 0.25;\n\n const mat4 thresholdMatrix = mat4(\n 1.0 / 17.0, 9.0 / 17.0, 3.0 / 17.0, 11.0 / 17.0,\n 13.0 / 17.0, 5.0 / 17.0, 15.0 / 17.0, 7.0 / 17.0,\n 4.0 / 17.0, 12.0 / 17.0, 2.0 / 17.0, 10.0 / 17.0,\n 16.0 / 17.0, 8.0 / 17.0, 14.0 / 17.0, 6.0 / 17.0\n );\n int ci = int(intMod(coord.x, 4.0));\n int ri = int(intMod(coord.y, 4.0));\n #if __VERSION__ == 100\n vec4 i = vec4(float(ci * 4 + ri));\n vec4 v = thresholdMatrix[0] * vec4(equal(i, vec4(0.0, 1.0, 2.0, 3.0))) +\n thresholdMatrix[1] * vec4(equal(i, vec4(4.0, 5.0, 6.0, 7.0))) +\n thresholdMatrix[2] * vec4(equal(i, vec4(8.0, 9.0, 10.0, 11.0))) +\n thresholdMatrix[3] * vec4(equal(i, vec4(12.0, 13.0, 14.0, 15.0)));\n at = v.x + v.y + v.z + v.w;\n #else\n at = thresholdMatrix[ci][ri];\n #endif\n\n if (ta < 0.99 && (ta < 0.01 || ta < at)) {\n discard;\n }\n #elif defined(dRenderVariant_colorWboit)\n material.a *= ta;\n #endif\n #endif\n#endif\n";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assign_material_color = void 0;
4
- exports.assign_material_color = "\n#if defined(dRenderVariant_color) || defined(dRenderVariant_marking)\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n float marker = floor(vMarker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dUsePalette)\n vec4 material = vec4(texture2D(tPalette, vec2(vPaletteV, 0.5)).rgb, uAlpha);\n #elif defined(dColorType_uniform)\n vec4 material = vec4(uColor, uAlpha);\n #elif defined(dColorType_varying)\n vec4 material = vec4(vColor.rgb, uAlpha);\n #endif\n\n // mix material with overpaint\n #if defined(dOverpaint)\n material.rgb = mix(material.rgb, vOverpaint.rgb, vOverpaint.a);\n #endif\n#elif defined(dRenderVariant_pick)\n vec4 material = vColor;\n#elif defined(dRenderVariant_depth)\n #ifdef enabledFragDepth\n vec4 material = packDepthToRGBA(gl_FragDepthEXT);\n #else\n vec4 material = packDepthToRGBA(gl_FragCoord.z);\n #endif\n#elif defined(dRenderVariant_markingDepth)\n if (marker > 0.0)\n discard;\n #ifdef enabledFragDepth\n vec4 material = packDepthToRGBA(gl_FragDepthEXT);\n #else\n vec4 material = packDepthToRGBA(gl_FragCoord.z);\n #endif\n#elif defined(dRenderVariant_markingMask)\n if (marker == 0.0)\n discard;\n float depthTest = 1.0;\n if (uMarkingDepthTest) {\n depthTest = (fragmentDepth >= getDepth(gl_FragCoord.xy / uDrawingBufferSize)) ? 1.0 : 0.0;\n }\n bool isHighlight = intMod(marker, 2.0) > 0.1;\n float viewZ = depthToViewZ(uIsOrtho, fragmentDepth, uNear, uFar);\n float fogFactor = smoothstep(uFogNear, uFogFar, abs(viewZ));\n if (fogFactor == 1.0)\n discard;\n vec4 material = vec4(0.0, depthTest, isHighlight ? 1.0 : 0.0, 1.0 - fogFactor);\n#endif\n\n// apply screendoor transparency\n#if defined(dTransparency)\n float ta = 1.0 - vTransparency;\n\n #if defined(dRenderVariant_pick)\n if (ta < uPickingAlphaThreshold)\n discard; // ignore so the element below can be picked\n #else\n #if defined(dRenderVariant_colorBlended)\n float at = 0.0;\n\n // shift by view-offset during multi-sample rendering to allow for blending\n vec2 coord = gl_FragCoord.xy + uViewOffset * 0.25;\n\n const mat4 thresholdMatrix = mat4(\n 1.0 / 17.0, 9.0 / 17.0, 3.0 / 17.0, 11.0 / 17.0,\n 13.0 / 17.0, 5.0 / 17.0, 15.0 / 17.0, 7.0 / 17.0,\n 4.0 / 17.0, 12.0 / 17.0, 2.0 / 17.0, 10.0 / 17.0,\n 16.0 / 17.0, 8.0 / 17.0, 14.0 / 17.0, 6.0 / 17.0\n );\n int ci = int(intMod(coord.x, 4.0));\n int ri = int(intMod(coord.y, 4.0));\n #if __VERSION__ == 100\n vec4 i = vec4(float(ci * 4 + ri));\n vec4 v = thresholdMatrix[0] * vec4(equal(i, vec4(0.0, 1.0, 2.0, 3.0))) +\n thresholdMatrix[1] * vec4(equal(i, vec4(4.0, 5.0, 6.0, 7.0))) +\n thresholdMatrix[2] * vec4(equal(i, vec4(8.0, 9.0, 10.0, 11.0))) +\n thresholdMatrix[3] * vec4(equal(i, vec4(12.0, 13.0, 14.0, 15.0)));\n at = v.x + v.y + v.z + v.w;\n #else\n at = thresholdMatrix[ci][ri];\n #endif\n\n if (ta < 0.99 && (ta < 0.01 || ta < at)) {\n discard;\n }\n #elif defined(dRenderVariant_colorWboit)\n material.a *= ta;\n #endif\n #endif\n#endif\n";
4
+ exports.assign_material_color = "\n#if defined(dRenderVariant_color) || defined(dRenderVariant_marking)\n float marker = uMarker;\n if (uMarker == -1.0) {\n marker = floor(vMarker * 255.0 + 0.5); // rounding required to work on some cards on win\n }\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dUsePalette)\n vec4 material = vec4(texture2D(tPalette, vec2(vPaletteV, 0.5)).rgb, uAlpha);\n #elif defined(dColorType_uniform)\n vec4 material = vec4(uColor, uAlpha);\n #elif defined(dColorType_varying)\n vec4 material = vec4(vColor.rgb, uAlpha);\n #endif\n\n // mix material with overpaint\n #if defined(dOverpaint)\n material.rgb = mix(material.rgb, vOverpaint.rgb, vOverpaint.a);\n #endif\n\n float metalness = uMetalness;\n float roughness = uRoughness;\n float bumpiness = uBumpiness;\n #ifdef dSubstance\n metalness = mix(metalness, vSubstance.r, vSubstance.a);\n roughness = mix(roughness, vSubstance.g, vSubstance.a);\n bumpiness = mix(bumpiness, vSubstance.b, vSubstance.a);\n #endif\n#elif defined(dRenderVariant_pick)\n vec4 material = vColor;\n#elif defined(dRenderVariant_depth)\n #ifdef enabledFragDepth\n vec4 material = packDepthToRGBA(gl_FragDepthEXT);\n #else\n vec4 material = packDepthToRGBA(gl_FragCoord.z);\n #endif\n#elif defined(dRenderVariant_marking)\n vec4 material;\n if(uMarkingType == 1) {\n if (marker > 0.0)\n discard;\n #ifdef enabledFragDepth\n material = packDepthToRGBA(gl_FragDepthEXT);\n #else\n material = packDepthToRGBA(gl_FragCoord.z);\n #endif\n } else {\n if (marker == 0.0)\n discard;\n float depthTest = 1.0;\n if (uMarkingDepthTest) {\n depthTest = (fragmentDepth >= getDepth(gl_FragCoord.xy / uDrawingBufferSize)) ? 1.0 : 0.0;\n }\n bool isHighlight = intMod(marker, 2.0) > 0.1;\n float viewZ = depthToViewZ(uIsOrtho, fragmentDepth, uNear, uFar);\n float fogFactor = smoothstep(uFogNear, uFogFar, abs(viewZ));\n if (fogFactor == 1.0)\n discard;\n material = vec4(0.0, depthTest, isHighlight ? 1.0 : 0.0, 1.0 - fogFactor);\n }\n#endif\n\n// apply screendoor transparency\n#if defined(dTransparency)\n float ta = 1.0 - vTransparency;\n #if defined(dRenderVariant_colorWboit)\n if (vTransparency < 0.2) ta = 1.0; // hard cutoff looks better with wboit\n #endif\n\n #if defined(dRenderVariant_pick)\n if (ta < uPickingAlphaThreshold)\n discard; // ignore so the element below can be picked\n #else\n #if defined(dRenderVariant_colorBlended)\n float at = 0.0;\n\n // shift by view-offset during multi-sample rendering to allow for blending\n vec2 coord = gl_FragCoord.xy + uViewOffset * 0.25;\n\n const mat4 thresholdMatrix = mat4(\n 1.0 / 17.0, 9.0 / 17.0, 3.0 / 17.0, 11.0 / 17.0,\n 13.0 / 17.0, 5.0 / 17.0, 15.0 / 17.0, 7.0 / 17.0,\n 4.0 / 17.0, 12.0 / 17.0, 2.0 / 17.0, 10.0 / 17.0,\n 16.0 / 17.0, 8.0 / 17.0, 14.0 / 17.0, 6.0 / 17.0\n );\n int ci = int(intMod(coord.x, 4.0));\n int ri = int(intMod(coord.y, 4.0));\n #if __VERSION__ == 100\n vec4 i = vec4(float(ci * 4 + ri));\n vec4 v = thresholdMatrix[0] * vec4(equal(i, vec4(0.0, 1.0, 2.0, 3.0))) +\n thresholdMatrix[1] * vec4(equal(i, vec4(4.0, 5.0, 6.0, 7.0))) +\n thresholdMatrix[2] * vec4(equal(i, vec4(8.0, 9.0, 10.0, 11.0))) +\n thresholdMatrix[3] * vec4(equal(i, vec4(12.0, 13.0, 14.0, 15.0)));\n at = v.x + v.y + v.z + v.w;\n #else\n at = thresholdMatrix[ci][ri];\n #endif\n\n if (ta < 0.99 && (ta < 0.01 || ta < at)) {\n discard;\n }\n #elif defined(dRenderVariant_colorWboit)\n material.a *= ta;\n #endif\n #endif\n#endif\n";
5
5
  //# sourceMappingURL=assign-material-color.glsl.js.map
@@ -1 +1 @@
1
- export declare const assign_position = "\nmat4 model = uModel * aTransform;\nmat4 modelView = uView * model;\n#ifdef dGeoTexture\n vec3 position = readFromTexture(tPosition, VertexID, uGeoTexDim).xyz;\n#else\n vec3 position = aPosition;\n#endif\nvec4 position4 = vec4(position, 1.0);\n// for accessing tColorGrid in vert shader and for clipping in frag shader\nvModelPosition = (model * position4).xyz;\nvec4 mvPosition = modelView * position4;\nvViewPosition = mvPosition.xyz;\ngl_Position = uProjection * mvPosition;\n";
1
+ export declare const assign_position = "\nmat4 model = uModel * aTransform;\nmat4 modelView = uView * model;\n#ifdef dGeometryType_textureMesh\n vec3 position = readFromTexture(tPosition, VertexID, uGeoTexDim).xyz;\n#else\n vec3 position = aPosition;\n#endif\nvec4 position4 = vec4(position, 1.0);\n// for accessing tColorGrid in vert shader and for clipping in frag shader\nvModelPosition = (model * position4).xyz;\nvec4 mvPosition = modelView * position4;\nvViewPosition = mvPosition.xyz;\ngl_Position = uProjection * mvPosition;\n";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assign_position = void 0;
4
- exports.assign_position = "\nmat4 model = uModel * aTransform;\nmat4 modelView = uView * model;\n#ifdef dGeoTexture\n vec3 position = readFromTexture(tPosition, VertexID, uGeoTexDim).xyz;\n#else\n vec3 position = aPosition;\n#endif\nvec4 position4 = vec4(position, 1.0);\n// for accessing tColorGrid in vert shader and for clipping in frag shader\nvModelPosition = (model * position4).xyz;\nvec4 mvPosition = modelView * position4;\nvViewPosition = mvPosition.xyz;\ngl_Position = uProjection * mvPosition;\n";
4
+ exports.assign_position = "\nmat4 model = uModel * aTransform;\nmat4 modelView = uView * model;\n#ifdef dGeometryType_textureMesh\n vec3 position = readFromTexture(tPosition, VertexID, uGeoTexDim).xyz;\n#else\n vec3 position = aPosition;\n#endif\nvec4 position4 = vec4(position, 1.0);\n// for accessing tColorGrid in vert shader and for clipping in frag shader\nvModelPosition = (model * position4).xyz;\nvec4 mvPosition = modelView * position4;\nvViewPosition = mvPosition.xyz;\ngl_Position = uProjection * mvPosition;\n";
5
5
  //# sourceMappingURL=assign-position.glsl.js.map
@@ -1 +1 @@
1
- export declare const assign_size = "\n#if defined(dSizeType_uniform)\n float size = uSize;\n#elif defined(dSizeType_attribute)\n float size = aSize;\n#elif defined(dSizeType_instance)\n float size = decodeFloatRGB(readFromTexture(tSize, aInstance, uSizeTexDim).rgb);\n#elif defined(dSizeType_group)\n float size = decodeFloatRGB(readFromTexture(tSize, group, uSizeTexDim).rgb);\n#elif defined(dSizeType_groupInstance)\n float size = decodeFloatRGB(readFromTexture(tSize, aInstance * float(uGroupCount) + group, uSizeTexDim).rgb);\n#endif\n\n#if defined(dSizeType_instance) || defined(dSizeType_group) || defined(dSizeType_groupInstance)\n size /= 100.0; // NOTE factor also set in TypeScript\n#endif\n\nsize *= uSizeFactor;\n";
1
+ export declare const assign_size = "\n#if defined(dSizeType_uniform)\n float size = uSize;\n#elif defined(dSizeType_attribute)\n float size = aSize;\n#elif defined(dSizeType_instance)\n float size = unpackRGBToInt(readFromTexture(tSize, aInstance, uSizeTexDim).rgb);\n#elif defined(dSizeType_group)\n float size = unpackRGBToInt(readFromTexture(tSize, group, uSizeTexDim).rgb);\n#elif defined(dSizeType_groupInstance)\n float size = unpackRGBToInt(readFromTexture(tSize, aInstance * float(uGroupCount) + group, uSizeTexDim).rgb);\n#endif\n\n#if defined(dSizeType_instance) || defined(dSizeType_group) || defined(dSizeType_groupInstance)\n size /= 100.0; // NOTE factor also set in TypeScript\n#endif\n\nsize *= uSizeFactor;\n";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assign_size = void 0;
4
- exports.assign_size = "\n#if defined(dSizeType_uniform)\n float size = uSize;\n#elif defined(dSizeType_attribute)\n float size = aSize;\n#elif defined(dSizeType_instance)\n float size = decodeFloatRGB(readFromTexture(tSize, aInstance, uSizeTexDim).rgb);\n#elif defined(dSizeType_group)\n float size = decodeFloatRGB(readFromTexture(tSize, group, uSizeTexDim).rgb);\n#elif defined(dSizeType_groupInstance)\n float size = decodeFloatRGB(readFromTexture(tSize, aInstance * float(uGroupCount) + group, uSizeTexDim).rgb);\n#endif\n\n#if defined(dSizeType_instance) || defined(dSizeType_group) || defined(dSizeType_groupInstance)\n size /= 100.0; // NOTE factor also set in TypeScript\n#endif\n\nsize *= uSizeFactor;\n";
4
+ exports.assign_size = "\n#if defined(dSizeType_uniform)\n float size = uSize;\n#elif defined(dSizeType_attribute)\n float size = aSize;\n#elif defined(dSizeType_instance)\n float size = unpackRGBToInt(readFromTexture(tSize, aInstance, uSizeTexDim).rgb);\n#elif defined(dSizeType_group)\n float size = unpackRGBToInt(readFromTexture(tSize, group, uSizeTexDim).rgb);\n#elif defined(dSizeType_groupInstance)\n float size = unpackRGBToInt(readFromTexture(tSize, aInstance * float(uGroupCount) + group, uSizeTexDim).rgb);\n#endif\n\n#if defined(dSizeType_instance) || defined(dSizeType_group) || defined(dSizeType_groupInstance)\n size /= 100.0; // NOTE factor also set in TypeScript\n#endif\n\nsize *= uSizeFactor;\n";
5
5
  //# sourceMappingURL=assign-size.glsl.js.map
@@ -1 +1 @@
1
- export declare const color_frag_params = "\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_varying)\n varying vec4 vColor;\n #endif\n\n #ifdef dOverpaint\n varying vec4 vOverpaint;\n #endif\n#elif defined(dRenderVariant_pick)\n #if __VERSION__ == 100\n varying vec4 vColor;\n #else\n flat in vec4 vColor;\n #endif\n#endif\n\n#ifdef dTransparency\n varying float vGroup;\n varying float vTransparency;\n#endif\n\n#ifdef dUsePalette\n uniform sampler2D tPalette;\n varying float vPaletteV;\n#endif\n";
1
+ export declare const color_frag_params = "\nuniform float uMetalness;\nuniform float uRoughness;\nuniform float uBumpiness;\n#ifdef bumpEnabled\n uniform float uBumpFrequency;\n uniform float uBumpAmplitude;\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_varying)\n varying vec4 vColor;\n #endif\n\n #ifdef dUsePalette\n uniform sampler2D tPalette;\n varying float vPaletteV;\n #endif\n\n #ifdef dOverpaint\n varying vec4 vOverpaint;\n #endif\n\n #ifdef dSubstance\n varying vec4 vSubstance;\n #endif\n#elif defined(dRenderVariant_pick)\n #if __VERSION__ == 100\n varying vec4 vColor;\n #else\n flat in vec4 vColor;\n #endif\n#endif\n\n#ifdef dTransparency\n varying float vGroup;\n varying float vTransparency;\n#endif\n";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.color_frag_params = void 0;
4
- exports.color_frag_params = "\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_varying)\n varying vec4 vColor;\n #endif\n\n #ifdef dOverpaint\n varying vec4 vOverpaint;\n #endif\n#elif defined(dRenderVariant_pick)\n #if __VERSION__ == 100\n varying vec4 vColor;\n #else\n flat in vec4 vColor;\n #endif\n#endif\n\n#ifdef dTransparency\n varying float vGroup;\n varying float vTransparency;\n#endif\n\n#ifdef dUsePalette\n uniform sampler2D tPalette;\n varying float vPaletteV;\n#endif\n";
4
+ exports.color_frag_params = "\nuniform float uMetalness;\nuniform float uRoughness;\nuniform float uBumpiness;\n#ifdef bumpEnabled\n uniform float uBumpFrequency;\n uniform float uBumpAmplitude;\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_varying)\n varying vec4 vColor;\n #endif\n\n #ifdef dUsePalette\n uniform sampler2D tPalette;\n varying float vPaletteV;\n #endif\n\n #ifdef dOverpaint\n varying vec4 vOverpaint;\n #endif\n\n #ifdef dSubstance\n varying vec4 vSubstance;\n #endif\n#elif defined(dRenderVariant_pick)\n #if __VERSION__ == 100\n varying vec4 vColor;\n #else\n flat in vec4 vColor;\n #endif\n#endif\n\n#ifdef dTransparency\n varying float vGroup;\n varying float vTransparency;\n#endif\n";
5
5
  //# sourceMappingURL=color-frag-params.glsl.js.map
@@ -1 +1 @@
1
- export declare const color_vert_params = "\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_attribute)\n varying vec4 vColor;\n attribute vec3 aColor;\n #elif defined(dColorType_texture)\n varying vec4 vColor;\n uniform vec2 uColorTexDim;\n uniform sampler2D tColor;\n #elif defined(dColorType_grid)\n varying vec4 vColor;\n uniform vec2 uColorTexDim;\n uniform vec3 uColorGridDim;\n uniform vec4 uColorGridTransform;\n uniform sampler2D tColorGrid;\n #endif\n\n #ifdef dOverpaint\n varying vec4 vOverpaint;\n uniform vec2 uOverpaintTexDim;\n uniform sampler2D tOverpaint;\n #endif\n#elif defined(dRenderVariant_pick)\n #if __VERSION__ == 100\n varying vec4 vColor;\n #else\n flat out vec4 vColor;\n #endif\n#endif\n\n#ifdef dTransparency\n varying float vGroup;\n varying float vTransparency;\n uniform vec2 uTransparencyTexDim;\n uniform sampler2D tTransparency;\n#endif\n\n#ifdef dUsePalette\n varying float vPaletteV;\n#endif\n";
1
+ export declare const color_vert_params = "\nuniform float uMetalness;\nuniform float uRoughness;\nuniform float uBumpiness;\n\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_attribute)\n varying vec4 vColor;\n attribute vec3 aColor;\n #elif defined(dColorType_texture)\n varying vec4 vColor;\n uniform vec2 uColorTexDim;\n uniform sampler2D tColor;\n #elif defined(dColorType_grid)\n varying vec4 vColor;\n uniform vec2 uColorTexDim;\n uniform vec3 uColorGridDim;\n uniform vec4 uColorGridTransform;\n uniform sampler2D tColorGrid;\n #endif\n\n #ifdef dUsePalette\n varying float vPaletteV;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance) || defined(dOverpaintType_vertexInstance)\n varying vec4 vOverpaint;\n uniform vec2 uOverpaintTexDim;\n uniform sampler2D tOverpaint;\n #elif defined(dOverpaintType_volumeInstance)\n varying vec4 vOverpaint;\n uniform vec2 uOverpaintTexDim;\n uniform vec3 uOverpaintGridDim;\n uniform vec4 uOverpaintGridTransform;\n uniform sampler2D tOverpaintGrid;\n #endif\n #endif\n\n #ifdef dSubstance\n #if defined(dSubstanceType_groupInstance) || defined(dSubstanceType_vertexInstance)\n varying vec4 vSubstance;\n uniform vec2 uSubstanceTexDim;\n uniform sampler2D tSubstance;\n #elif defined(dSubstanceType_volumeInstance)\n varying vec4 vSubstance;\n uniform vec2 uSubstanceTexDim;\n uniform vec3 uSubstanceGridDim;\n uniform vec4 uSubstanceGridTransform;\n uniform sampler2D tSubstanceGrid;\n #endif\n #endif\n#elif defined(dRenderVariant_pick)\n #if __VERSION__ == 100\n varying vec4 vColor;\n #else\n flat out vec4 vColor;\n #endif\n#endif\n\n#ifdef dTransparency\n varying float vGroup;\n #if defined(dTransparencyType_groupInstance) || defined(dTransparencyType_vertexInstance)\n varying float vTransparency;\n uniform vec2 uTransparencyTexDim;\n uniform sampler2D tTransparency;\n #elif defined(dTransparencyType_volumeInstance)\n varying float vTransparency;\n uniform vec2 uTransparencyTexDim;\n uniform vec3 uTransparencyGridDim;\n uniform vec4 uTransparencyGridTransform;\n uniform sampler2D tTransparencyGrid;\n #endif\n#endif\n";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.color_vert_params = void 0;
4
- exports.color_vert_params = "\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_attribute)\n varying vec4 vColor;\n attribute vec3 aColor;\n #elif defined(dColorType_texture)\n varying vec4 vColor;\n uniform vec2 uColorTexDim;\n uniform sampler2D tColor;\n #elif defined(dColorType_grid)\n varying vec4 vColor;\n uniform vec2 uColorTexDim;\n uniform vec3 uColorGridDim;\n uniform vec4 uColorGridTransform;\n uniform sampler2D tColorGrid;\n #endif\n\n #ifdef dOverpaint\n varying vec4 vOverpaint;\n uniform vec2 uOverpaintTexDim;\n uniform sampler2D tOverpaint;\n #endif\n#elif defined(dRenderVariant_pick)\n #if __VERSION__ == 100\n varying vec4 vColor;\n #else\n flat out vec4 vColor;\n #endif\n#endif\n\n#ifdef dTransparency\n varying float vGroup;\n varying float vTransparency;\n uniform vec2 uTransparencyTexDim;\n uniform sampler2D tTransparency;\n#endif\n\n#ifdef dUsePalette\n varying float vPaletteV;\n#endif\n";
4
+ exports.color_vert_params = "\nuniform float uMetalness;\nuniform float uRoughness;\nuniform float uBumpiness;\n\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_attribute)\n varying vec4 vColor;\n attribute vec3 aColor;\n #elif defined(dColorType_texture)\n varying vec4 vColor;\n uniform vec2 uColorTexDim;\n uniform sampler2D tColor;\n #elif defined(dColorType_grid)\n varying vec4 vColor;\n uniform vec2 uColorTexDim;\n uniform vec3 uColorGridDim;\n uniform vec4 uColorGridTransform;\n uniform sampler2D tColorGrid;\n #endif\n\n #ifdef dUsePalette\n varying float vPaletteV;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance) || defined(dOverpaintType_vertexInstance)\n varying vec4 vOverpaint;\n uniform vec2 uOverpaintTexDim;\n uniform sampler2D tOverpaint;\n #elif defined(dOverpaintType_volumeInstance)\n varying vec4 vOverpaint;\n uniform vec2 uOverpaintTexDim;\n uniform vec3 uOverpaintGridDim;\n uniform vec4 uOverpaintGridTransform;\n uniform sampler2D tOverpaintGrid;\n #endif\n #endif\n\n #ifdef dSubstance\n #if defined(dSubstanceType_groupInstance) || defined(dSubstanceType_vertexInstance)\n varying vec4 vSubstance;\n uniform vec2 uSubstanceTexDim;\n uniform sampler2D tSubstance;\n #elif defined(dSubstanceType_volumeInstance)\n varying vec4 vSubstance;\n uniform vec2 uSubstanceTexDim;\n uniform vec3 uSubstanceGridDim;\n uniform vec4 uSubstanceGridTransform;\n uniform sampler2D tSubstanceGrid;\n #endif\n #endif\n#elif defined(dRenderVariant_pick)\n #if __VERSION__ == 100\n varying vec4 vColor;\n #else\n flat out vec4 vColor;\n #endif\n#endif\n\n#ifdef dTransparency\n varying float vGroup;\n #if defined(dTransparencyType_groupInstance) || defined(dTransparencyType_vertexInstance)\n varying float vTransparency;\n uniform vec2 uTransparencyTexDim;\n uniform sampler2D tTransparency;\n #elif defined(dTransparencyType_volumeInstance)\n varying float vTransparency;\n uniform vec2 uTransparencyTexDim;\n uniform vec3 uTransparencyGridDim;\n uniform vec4 uTransparencyGridTransform;\n uniform sampler2D tTransparencyGrid;\n #endif\n#endif\n";
5
5
  //# sourceMappingURL=color-vert-params.glsl.js.map
@@ -4,4 +4,4 @@
4
4
  * @author Ludovic Autin <autin@scripps.edu>
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
7
- export declare const common_clip = "\n#if dClipObjectCount != 0\n vec3 quaternionTransform(vec4 q, vec3 v) {\n vec3 t = 2.0 * cross(q.xyz, v);\n return v + q.w * t + cross(q.xyz, t);\n }\n\n vec4 computePlane(vec3 normal, vec3 inPoint) {\n return vec4(normalize(normal), -dot(normal, inPoint));\n }\n\n float planeSD(vec4 plane, vec3 center) {\n return -dot(plane.xyz, center - plane.xyz * -plane.w);\n }\n\n float sphereSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n return (\n length(quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position) / size) - 1.0\n ) * min(min(size.x, size.y), size.z);\n }\n\n float cubeSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 d = abs(quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position)) - size;\n return min(max(d.x, max(d.y, d.z)), 0.0) + length(max(d, 0.0));\n }\n\n float cylinderSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 t = quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position);\n\n vec2 d = abs(vec2(length(t.xz), t.y)) - size.xy;\n return min(max(d.x, d.y), 0.0) + length(max(d, 0.0));\n }\n\n float infiniteConeSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 t = quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position);\n\n float q = length(t.xy);\n return dot(size.xy, vec2(q, t.z));\n }\n\n float getSignedDistance(vec3 center, int type, vec3 position, vec4 rotation, vec3 scale) {\n if (type == 1) {\n vec3 normal = quaternionTransform(rotation, vec3(0.0, 1.0, 0.0));\n vec4 plane = computePlane(normal, position);\n return planeSD(plane, center);\n } else if (type == 2) {\n return sphereSD(position, rotation, scale * 0.5, center);\n } else if (type == 3) {\n return cubeSD(position, rotation, scale * 0.5, center);\n } else if (type == 4) {\n return cylinderSD(position, rotation, scale * 0.5, center);\n } else if (type == 5) {\n return infiniteConeSD(position, rotation, scale * 0.5, center);\n } else {\n return 0.1;\n }\n }\n\n #if __VERSION__ == 100\n // 8-bit\n int bitwiseAnd(int a, int b) {\n int d = 128;\n int result = 0;\n for (int i = 0; i < 8; ++i) {\n if (d <= 0) break;\n if (a >= d && b >= d) result += d;\n if (a >= d) a -= d;\n if (b >= d) b -= d;\n d /= 2;\n }\n return result;\n }\n\n bool hasBit(int mask, int bit) {\n return bitwiseAnd(mask, bit) == 0;\n }\n #else\n bool hasBit(int mask, int bit) {\n return (mask & bit) == 0;\n }\n #endif\n\n // flag is a bit-flag for clip-objects to ignore (note, object ids start at 1 not 0)\n bool clipTest(vec4 sphere, int flag) {\n for (int i = 0; i < dClipObjectCount; ++i) {\n if (flag == 0 || hasBit(flag, i + 1)) {\n // TODO take sphere radius into account?\n bool test = getSignedDistance(sphere.xyz, uClipObjectType[i], uClipObjectPosition[i], uClipObjectRotation[i], uClipObjectScale[i]) <= 0.0;\n if ((!uClipObjectInvert[i] && test) || (uClipObjectInvert[i] && !test)) {\n return true;\n }\n }\n }\n return false;\n }\n#endif\n";
7
+ export declare const common_clip = "\n#if dClipObjectCount != 0\n vec3 quaternionTransform(vec4 q, vec3 v) {\n vec3 t = 2.0 * cross(q.xyz, v);\n return v + q.w * t + cross(q.xyz, t);\n }\n\n vec4 computePlane(vec3 normal, vec3 inPoint) {\n return vec4(normalize(normal), -dot(normal, inPoint));\n }\n\n float planeSD(vec4 plane, vec3 center) {\n return -dot(plane.xyz, center - plane.xyz * -plane.w);\n }\n\n float sphereSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n return (\n length(quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position) / size) - 1.0\n ) * min(min(size.x, size.y), size.z);\n }\n\n float cubeSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 d = abs(quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position)) - size;\n return min(max(d.x, max(d.y, d.z)), 0.0) + length(max(d, 0.0));\n }\n\n float cylinderSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 t = quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position);\n\n vec2 d = abs(vec2(length(t.xz), t.y)) - size.xy;\n return min(max(d.x, d.y), 0.0) + length(max(d, 0.0));\n }\n\n float infiniteConeSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 t = quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position);\n\n float q = length(t.xy);\n return dot(size.xy, vec2(q, t.z));\n }\n\n float getSignedDistance(vec3 center, int type, vec3 position, vec4 rotation, vec3 scale) {\n if (type == 1) {\n vec3 normal = quaternionTransform(rotation, vec3(0.0, 1.0, 0.0));\n vec4 plane = computePlane(normal, position);\n return planeSD(plane, center);\n } else if (type == 2) {\n return sphereSD(position, rotation, scale * 0.5, center);\n } else if (type == 3) {\n return cubeSD(position, rotation, scale * 0.5, center);\n } else if (type == 4) {\n return cylinderSD(position, rotation, scale * 0.5, center);\n } else if (type == 5) {\n return infiniteConeSD(position, rotation, scale * 0.5, center);\n } else {\n return 0.1;\n }\n }\n\n #if __VERSION__ == 100\n // 8-bit\n int bitwiseAnd(int a, int b) {\n int d = 128;\n int result = 0;\n for (int i = 0; i < 8; ++i) {\n if (d <= 0) break;\n if (a >= d && b >= d) result += d;\n if (a >= d) a -= d;\n if (b >= d) b -= d;\n d /= 2;\n }\n return result;\n }\n\n bool hasBit(int mask, int bit) {\n return bitwiseAnd(mask, bit) == 0;\n }\n #else\n bool hasBit(int mask, int bit) {\n return (mask & bit) == 0;\n }\n #endif\n\n // flag is a bit-flag for clip-objects to ignore (note, object ids start at 1 not 0)\n bool clipTest(vec4 sphere, int flag) {\n #pragma unroll_loop_start\n for (int i = 0; i < dClipObjectCount; ++i) {\n if (flag == 0 || hasBit(flag, UNROLLED_LOOP_INDEX + 1)) {\n // TODO take sphere radius into account?\n bool test = getSignedDistance(sphere.xyz, uClipObjectType[i], uClipObjectPosition[i], uClipObjectRotation[i], uClipObjectScale[i]) <= 0.0;\n if ((!uClipObjectInvert[i] && test) || (uClipObjectInvert[i] && !test)) {\n return true;\n }\n }\n }\n #pragma unroll_loop_end\n return false;\n }\n#endif\n";
@@ -7,5 +7,5 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.common_clip = void 0;
10
- exports.common_clip = "\n#if dClipObjectCount != 0\n vec3 quaternionTransform(vec4 q, vec3 v) {\n vec3 t = 2.0 * cross(q.xyz, v);\n return v + q.w * t + cross(q.xyz, t);\n }\n\n vec4 computePlane(vec3 normal, vec3 inPoint) {\n return vec4(normalize(normal), -dot(normal, inPoint));\n }\n\n float planeSD(vec4 plane, vec3 center) {\n return -dot(plane.xyz, center - plane.xyz * -plane.w);\n }\n\n float sphereSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n return (\n length(quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position) / size) - 1.0\n ) * min(min(size.x, size.y), size.z);\n }\n\n float cubeSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 d = abs(quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position)) - size;\n return min(max(d.x, max(d.y, d.z)), 0.0) + length(max(d, 0.0));\n }\n\n float cylinderSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 t = quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position);\n\n vec2 d = abs(vec2(length(t.xz), t.y)) - size.xy;\n return min(max(d.x, d.y), 0.0) + length(max(d, 0.0));\n }\n\n float infiniteConeSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 t = quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position);\n\n float q = length(t.xy);\n return dot(size.xy, vec2(q, t.z));\n }\n\n float getSignedDistance(vec3 center, int type, vec3 position, vec4 rotation, vec3 scale) {\n if (type == 1) {\n vec3 normal = quaternionTransform(rotation, vec3(0.0, 1.0, 0.0));\n vec4 plane = computePlane(normal, position);\n return planeSD(plane, center);\n } else if (type == 2) {\n return sphereSD(position, rotation, scale * 0.5, center);\n } else if (type == 3) {\n return cubeSD(position, rotation, scale * 0.5, center);\n } else if (type == 4) {\n return cylinderSD(position, rotation, scale * 0.5, center);\n } else if (type == 5) {\n return infiniteConeSD(position, rotation, scale * 0.5, center);\n } else {\n return 0.1;\n }\n }\n\n #if __VERSION__ == 100\n // 8-bit\n int bitwiseAnd(int a, int b) {\n int d = 128;\n int result = 0;\n for (int i = 0; i < 8; ++i) {\n if (d <= 0) break;\n if (a >= d && b >= d) result += d;\n if (a >= d) a -= d;\n if (b >= d) b -= d;\n d /= 2;\n }\n return result;\n }\n\n bool hasBit(int mask, int bit) {\n return bitwiseAnd(mask, bit) == 0;\n }\n #else\n bool hasBit(int mask, int bit) {\n return (mask & bit) == 0;\n }\n #endif\n\n // flag is a bit-flag for clip-objects to ignore (note, object ids start at 1 not 0)\n bool clipTest(vec4 sphere, int flag) {\n for (int i = 0; i < dClipObjectCount; ++i) {\n if (flag == 0 || hasBit(flag, i + 1)) {\n // TODO take sphere radius into account?\n bool test = getSignedDistance(sphere.xyz, uClipObjectType[i], uClipObjectPosition[i], uClipObjectRotation[i], uClipObjectScale[i]) <= 0.0;\n if ((!uClipObjectInvert[i] && test) || (uClipObjectInvert[i] && !test)) {\n return true;\n }\n }\n }\n return false;\n }\n#endif\n";
10
+ exports.common_clip = "\n#if dClipObjectCount != 0\n vec3 quaternionTransform(vec4 q, vec3 v) {\n vec3 t = 2.0 * cross(q.xyz, v);\n return v + q.w * t + cross(q.xyz, t);\n }\n\n vec4 computePlane(vec3 normal, vec3 inPoint) {\n return vec4(normalize(normal), -dot(normal, inPoint));\n }\n\n float planeSD(vec4 plane, vec3 center) {\n return -dot(plane.xyz, center - plane.xyz * -plane.w);\n }\n\n float sphereSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n return (\n length(quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position) / size) - 1.0\n ) * min(min(size.x, size.y), size.z);\n }\n\n float cubeSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 d = abs(quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position)) - size;\n return min(max(d.x, max(d.y, d.z)), 0.0) + length(max(d, 0.0));\n }\n\n float cylinderSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 t = quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position);\n\n vec2 d = abs(vec2(length(t.xz), t.y)) - size.xy;\n return min(max(d.x, d.y), 0.0) + length(max(d, 0.0));\n }\n\n float infiniteConeSD(vec3 position, vec4 rotation, vec3 size, vec3 center) {\n vec3 t = quaternionTransform(vec4(-rotation.x, -rotation.y, -rotation.z, rotation.w), center - position);\n\n float q = length(t.xy);\n return dot(size.xy, vec2(q, t.z));\n }\n\n float getSignedDistance(vec3 center, int type, vec3 position, vec4 rotation, vec3 scale) {\n if (type == 1) {\n vec3 normal = quaternionTransform(rotation, vec3(0.0, 1.0, 0.0));\n vec4 plane = computePlane(normal, position);\n return planeSD(plane, center);\n } else if (type == 2) {\n return sphereSD(position, rotation, scale * 0.5, center);\n } else if (type == 3) {\n return cubeSD(position, rotation, scale * 0.5, center);\n } else if (type == 4) {\n return cylinderSD(position, rotation, scale * 0.5, center);\n } else if (type == 5) {\n return infiniteConeSD(position, rotation, scale * 0.5, center);\n } else {\n return 0.1;\n }\n }\n\n #if __VERSION__ == 100\n // 8-bit\n int bitwiseAnd(int a, int b) {\n int d = 128;\n int result = 0;\n for (int i = 0; i < 8; ++i) {\n if (d <= 0) break;\n if (a >= d && b >= d) result += d;\n if (a >= d) a -= d;\n if (b >= d) b -= d;\n d /= 2;\n }\n return result;\n }\n\n bool hasBit(int mask, int bit) {\n return bitwiseAnd(mask, bit) == 0;\n }\n #else\n bool hasBit(int mask, int bit) {\n return (mask & bit) == 0;\n }\n #endif\n\n // flag is a bit-flag for clip-objects to ignore (note, object ids start at 1 not 0)\n bool clipTest(vec4 sphere, int flag) {\n #pragma unroll_loop_start\n for (int i = 0; i < dClipObjectCount; ++i) {\n if (flag == 0 || hasBit(flag, UNROLLED_LOOP_INDEX + 1)) {\n // TODO take sphere radius into account?\n bool test = getSignedDistance(sphere.xyz, uClipObjectType[i], uClipObjectPosition[i], uClipObjectRotation[i], uClipObjectScale[i]) <= 0.0;\n if ((!uClipObjectInvert[i] && test) || (uClipObjectInvert[i] && !test)) {\n return true;\n }\n }\n }\n #pragma unroll_loop_end\n return false;\n }\n#endif\n";
11
11
  //# sourceMappingURL=common-clip.glsl.js.map
@@ -1 +1 @@
1
- export declare const common_frag_params = "\nuniform int uObjectId;\nuniform int uInstanceCount;\nuniform int uGroupCount;\n\n#if dClipObjectCount != 0\n uniform int uClipObjectType[dClipObjectCount];\n uniform bool uClipObjectInvert[dClipObjectCount];\n uniform vec3 uClipObjectPosition[dClipObjectCount];\n uniform vec4 uClipObjectRotation[dClipObjectCount];\n uniform vec3 uClipObjectScale[dClipObjectCount];\n\n #if defined(dClipping)\n #if __VERSION__ == 100\n varying float vClipping;\n #else\n flat in float vClipping;\n #endif\n #endif\n#endif\n\nuniform vec3 uHighlightColor;\nuniform vec3 uSelectColor;\nuniform float uHighlightStrength;\nuniform float uSelectStrength;\nuniform int uMarkerPriority;\n\n#if defined(dMarkerType_uniform)\n uniform float uMarker;\n#elif defined(dMarkerType_groupInstance)\n #if __VERSION__ == 100\n varying float vMarker;\n #else\n flat in float vMarker;\n #endif\n#endif\n\nvarying vec3 vModelPosition;\nvarying vec3 vViewPosition;\n\nuniform vec2 uViewOffset;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uIsOrtho;\n\nuniform float uFogNear;\nuniform float uFogFar;\nuniform vec3 uFogColor;\n\nuniform float uAlpha;\nuniform float uPickingAlphaThreshold;\nuniform bool uTransparentBackground;\n\nuniform float uInteriorDarkening;\nuniform bool uInteriorColorFlag;\nuniform vec3 uInteriorColor;\nbool interior;\n\nuniform float uXrayEdgeFalloff;\n\nuniform mat4 uProjection;\n\nuniform bool uRenderWboit;\nuniform bool uMarkingDepthTest;\n\nuniform sampler2D tDepth;\nuniform vec2 uDrawingBufferSize;\n\nfloat getDepth(const in vec2 coords) {\n // always packed due to merged depth from primitives and volumes\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n}\n\nfloat calcDepth(const in vec3 pos) {\n vec2 clipZW = pos.z * uProjection[2].zw + uProjection[3].zw;\n return 0.5 + 0.5 * clipZW.x / clipZW.y;\n}\n";
1
+ export declare const common_frag_params = "\nuniform int uObjectId;\nuniform int uInstanceCount;\nuniform int uGroupCount;\n\nuniform int uPickType;\nuniform int uMarkingType;\n\n#if dClipObjectCount != 0\n uniform int uClipObjectType[dClipObjectCount];\n uniform bool uClipObjectInvert[dClipObjectCount];\n uniform vec3 uClipObjectPosition[dClipObjectCount];\n uniform vec4 uClipObjectRotation[dClipObjectCount];\n uniform vec3 uClipObjectScale[dClipObjectCount];\n\n #if defined(dClipping)\n #if __VERSION__ == 100\n varying float vClipping;\n #else\n flat in float vClipping;\n #endif\n #endif\n#endif\n\nuniform vec3 uHighlightColor;\nuniform vec3 uSelectColor;\nuniform float uHighlightStrength;\nuniform float uSelectStrength;\nuniform int uMarkerPriority;\n\n#if defined(dRenderVariant_color) || defined(dRenderVariant_marking)\n uniform float uMarker;\n #if __VERSION__ == 100\n varying float vMarker;\n #else\n flat in float vMarker;\n #endif\n#endif\n\nvarying vec3 vModelPosition;\nvarying vec3 vViewPosition;\n\nuniform vec2 uViewOffset;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uIsOrtho;\n\nuniform float uFogNear;\nuniform float uFogFar;\nuniform vec3 uFogColor;\n\nuniform float uAlpha;\nuniform float uPickingAlphaThreshold;\nuniform bool uTransparentBackground;\n\nuniform bool uDoubleSided;\nuniform float uInteriorDarkening;\nuniform bool uInteriorColorFlag;\nuniform vec3 uInteriorColor;\nbool interior;\n\nuniform float uXrayEdgeFalloff;\n\nuniform mat4 uProjection;\n\nuniform bool uRenderWboit;\nuniform bool uMarkingDepthTest;\n\nuniform sampler2D tDepth;\nuniform vec2 uDrawingBufferSize;\n\nfloat getDepth(const in vec2 coords) {\n // always packed due to merged depth from primitives and volumes\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n}\n\nfloat calcDepth(const in vec3 pos) {\n vec2 clipZW = pos.z * uProjection[2].zw + uProjection[3].zw;\n return 0.5 + 0.5 * clipZW.x / clipZW.y;\n}\n\n// \"Bump Mapping Unparametrized Surfaces on the GPU\" Morten S. Mikkelsen\n// https://mmikk.github.io/papers3d/mm_sfgrad_bump.pdf\nvec3 perturbNormal(in vec3 position, in vec3 normal, in float height, in float scale) {\n vec3 sigmaS = dFdx(position);\n vec3 sigmaT = dFdy(position);\n\n vec3 r1 = cross(sigmaT, normal);\n vec3 r2 = cross(normal, sigmaS);\n float det = dot(sigmaS, r1);\n\n float bs = dFdx(height);\n float bt = dFdy(height);\n\n vec3 surfGrad = sign(det) * (bs * r1 + bt * r2);\n return normalize(abs(det) * normal - scale * surfGrad);\n}\n\nfloat hash(in float h) {\n return fract(sin(h) * 43758.5453123);\n}\n\nfloat noise(in vec3 x) {\n vec3 p = floor(x);\n vec3 f = fract(x);\n f = f * f * (3.0 - 2.0 * f);\n\n float n = p.x + p.y * 157.0 + 113.0 * p.z;\n return mix(\n mix(mix(hash(n + 0.0), hash(n + 1.0), f.x),\n mix(hash(n + 157.0), hash(n + 158.0), f.x), f.y),\n mix(mix(hash(n + 113.0), hash(n + 114.0), f.x),\n mix(hash(n + 270.0), hash(n + 271.0), f.x), f.y), f.z);\n}\n\nfloat fbm(in vec3 p) {\n float f = 0.0;\n f += 0.5 * noise(p);\n p *= 2.01;\n f += 0.25 * noise(p);\n p *= 2.02;\n f += 0.125 * noise(p);\n\n return f;\n}\n";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.common_frag_params = void 0;
4
- exports.common_frag_params = "\nuniform int uObjectId;\nuniform int uInstanceCount;\nuniform int uGroupCount;\n\n#if dClipObjectCount != 0\n uniform int uClipObjectType[dClipObjectCount];\n uniform bool uClipObjectInvert[dClipObjectCount];\n uniform vec3 uClipObjectPosition[dClipObjectCount];\n uniform vec4 uClipObjectRotation[dClipObjectCount];\n uniform vec3 uClipObjectScale[dClipObjectCount];\n\n #if defined(dClipping)\n #if __VERSION__ == 100\n varying float vClipping;\n #else\n flat in float vClipping;\n #endif\n #endif\n#endif\n\nuniform vec3 uHighlightColor;\nuniform vec3 uSelectColor;\nuniform float uHighlightStrength;\nuniform float uSelectStrength;\nuniform int uMarkerPriority;\n\n#if defined(dMarkerType_uniform)\n uniform float uMarker;\n#elif defined(dMarkerType_groupInstance)\n #if __VERSION__ == 100\n varying float vMarker;\n #else\n flat in float vMarker;\n #endif\n#endif\n\nvarying vec3 vModelPosition;\nvarying vec3 vViewPosition;\n\nuniform vec2 uViewOffset;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uIsOrtho;\n\nuniform float uFogNear;\nuniform float uFogFar;\nuniform vec3 uFogColor;\n\nuniform float uAlpha;\nuniform float uPickingAlphaThreshold;\nuniform bool uTransparentBackground;\n\nuniform float uInteriorDarkening;\nuniform bool uInteriorColorFlag;\nuniform vec3 uInteriorColor;\nbool interior;\n\nuniform float uXrayEdgeFalloff;\n\nuniform mat4 uProjection;\n\nuniform bool uRenderWboit;\nuniform bool uMarkingDepthTest;\n\nuniform sampler2D tDepth;\nuniform vec2 uDrawingBufferSize;\n\nfloat getDepth(const in vec2 coords) {\n // always packed due to merged depth from primitives and volumes\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n}\n\nfloat calcDepth(const in vec3 pos) {\n vec2 clipZW = pos.z * uProjection[2].zw + uProjection[3].zw;\n return 0.5 + 0.5 * clipZW.x / clipZW.y;\n}\n";
4
+ exports.common_frag_params = "\nuniform int uObjectId;\nuniform int uInstanceCount;\nuniform int uGroupCount;\n\nuniform int uPickType;\nuniform int uMarkingType;\n\n#if dClipObjectCount != 0\n uniform int uClipObjectType[dClipObjectCount];\n uniform bool uClipObjectInvert[dClipObjectCount];\n uniform vec3 uClipObjectPosition[dClipObjectCount];\n uniform vec4 uClipObjectRotation[dClipObjectCount];\n uniform vec3 uClipObjectScale[dClipObjectCount];\n\n #if defined(dClipping)\n #if __VERSION__ == 100\n varying float vClipping;\n #else\n flat in float vClipping;\n #endif\n #endif\n#endif\n\nuniform vec3 uHighlightColor;\nuniform vec3 uSelectColor;\nuniform float uHighlightStrength;\nuniform float uSelectStrength;\nuniform int uMarkerPriority;\n\n#if defined(dRenderVariant_color) || defined(dRenderVariant_marking)\n uniform float uMarker;\n #if __VERSION__ == 100\n varying float vMarker;\n #else\n flat in float vMarker;\n #endif\n#endif\n\nvarying vec3 vModelPosition;\nvarying vec3 vViewPosition;\n\nuniform vec2 uViewOffset;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uIsOrtho;\n\nuniform float uFogNear;\nuniform float uFogFar;\nuniform vec3 uFogColor;\n\nuniform float uAlpha;\nuniform float uPickingAlphaThreshold;\nuniform bool uTransparentBackground;\n\nuniform bool uDoubleSided;\nuniform float uInteriorDarkening;\nuniform bool uInteriorColorFlag;\nuniform vec3 uInteriorColor;\nbool interior;\n\nuniform float uXrayEdgeFalloff;\n\nuniform mat4 uProjection;\n\nuniform bool uRenderWboit;\nuniform bool uMarkingDepthTest;\n\nuniform sampler2D tDepth;\nuniform vec2 uDrawingBufferSize;\n\nfloat getDepth(const in vec2 coords) {\n // always packed due to merged depth from primitives and volumes\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n}\n\nfloat calcDepth(const in vec3 pos) {\n vec2 clipZW = pos.z * uProjection[2].zw + uProjection[3].zw;\n return 0.5 + 0.5 * clipZW.x / clipZW.y;\n}\n\n// \"Bump Mapping Unparametrized Surfaces on the GPU\" Morten S. Mikkelsen\n// https://mmikk.github.io/papers3d/mm_sfgrad_bump.pdf\nvec3 perturbNormal(in vec3 position, in vec3 normal, in float height, in float scale) {\n vec3 sigmaS = dFdx(position);\n vec3 sigmaT = dFdy(position);\n\n vec3 r1 = cross(sigmaT, normal);\n vec3 r2 = cross(normal, sigmaS);\n float det = dot(sigmaS, r1);\n\n float bs = dFdx(height);\n float bt = dFdy(height);\n\n vec3 surfGrad = sign(det) * (bs * r1 + bt * r2);\n return normalize(abs(det) * normal - scale * surfGrad);\n}\n\nfloat hash(in float h) {\n return fract(sin(h) * 43758.5453123);\n}\n\nfloat noise(in vec3 x) {\n vec3 p = floor(x);\n vec3 f = fract(x);\n f = f * f * (3.0 - 2.0 * f);\n\n float n = p.x + p.y * 157.0 + 113.0 * p.z;\n return mix(\n mix(mix(hash(n + 0.0), hash(n + 1.0), f.x),\n mix(hash(n + 157.0), hash(n + 158.0), f.x), f.y),\n mix(mix(hash(n + 113.0), hash(n + 114.0), f.x),\n mix(hash(n + 270.0), hash(n + 271.0), f.x), f.y), f.z);\n}\n\nfloat fbm(in vec3 p) {\n float f = 0.0;\n f += 0.5 * noise(p);\n p *= 2.01;\n f += 0.25 * noise(p);\n p *= 2.02;\n f += 0.125 * noise(p);\n\n return f;\n}\n";
5
5
  //# sourceMappingURL=common-frag-params.glsl.js.map
@@ -1 +1 @@
1
- export declare const common_vert_params = "\nuniform mat4 uProjection, uModel, uView;\nuniform vec3 uCameraPosition;\n\nuniform int uObjectId;\nuniform int uVertexCount;\nuniform int uInstanceCount;\nuniform int uGroupCount;\nuniform vec4 uInvariantBoundingSphere;\n\n#if dClipObjectCount != 0\n uniform int uClipObjectType[dClipObjectCount];\n uniform bool uClipObjectInvert[dClipObjectCount];\n uniform vec3 uClipObjectPosition[dClipObjectCount];\n uniform vec4 uClipObjectRotation[dClipObjectCount];\n uniform vec3 uClipObjectScale[dClipObjectCount];\n\n #if defined(dClipping)\n uniform vec2 uClippingTexDim;\n uniform sampler2D tClipping;\n #if __VERSION__ == 100\n varying float vClipping;\n #else\n flat out float vClipping;\n #endif\n #endif\n#endif\n\n#if defined(dMarkerType_uniform)\n uniform float uMarker;\n#elif defined(dMarkerType_groupInstance)\n uniform vec2 uMarkerTexDim;\n uniform sampler2D tMarker;\n #if __VERSION__ == 100\n varying float vMarker;\n #else\n flat out float vMarker;\n #endif\n#endif\n\nvarying vec3 vModelPosition;\nvarying vec3 vViewPosition;\n\n#if __VERSION__ == 100\n attribute float aVertex;\n #define VertexID int(aVertex)\n#else\n // not using gl_VertexID but aVertex to ensure there is an active attribute with divisor 0\n // since FF 85 this is not needed anymore but lets keep it for backwards compatibility\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1679693\n // see also note in src/mol-gl/webgl/render-item.ts\n attribute float aVertex;\n #define VertexID int(aVertex)\n // #define VertexID gl_VertexID\n#endif\n";
1
+ export declare const common_vert_params = "\nuniform mat4 uProjection, uModel, uView;\nuniform vec3 uCameraPosition;\n\nuniform int uObjectId;\nuniform int uVertexCount;\nuniform int uInstanceCount;\nuniform int uGroupCount;\nuniform vec4 uInvariantBoundingSphere;\n\nuniform bool uDoubleSided;\nuniform int uPickType;\n\n#if dClipObjectCount != 0\n uniform int uClipObjectType[dClipObjectCount];\n uniform bool uClipObjectInvert[dClipObjectCount];\n uniform vec3 uClipObjectPosition[dClipObjectCount];\n uniform vec4 uClipObjectRotation[dClipObjectCount];\n uniform vec3 uClipObjectScale[dClipObjectCount];\n\n #if defined(dClipping)\n uniform vec2 uClippingTexDim;\n uniform sampler2D tClipping;\n #if __VERSION__ == 100\n varying float vClipping;\n #else\n flat out float vClipping;\n #endif\n #endif\n#endif\n\n#if defined(dRenderVariant_color) || defined(dRenderVariant_marking)\n uniform float uMarker;\n uniform vec2 uMarkerTexDim;\n uniform sampler2D tMarker;\n #if __VERSION__ == 100\n varying float vMarker;\n #else\n flat out float vMarker;\n #endif\n#endif\n\nvarying vec3 vModelPosition;\nvarying vec3 vViewPosition;\n\n#if __VERSION__ == 100\n attribute float aVertex;\n #define VertexID int(aVertex)\n#else\n // not using gl_VertexID but aVertex to ensure there is an active attribute with divisor 0\n // since FF 85 this is not needed anymore but lets keep it for backwards compatibility\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1679693\n // see also note in src/mol-gl/webgl/render-item.ts\n attribute float aVertex;\n #define VertexID int(aVertex)\n // #define VertexID gl_VertexID\n#endif\n";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.common_vert_params = void 0;
4
- exports.common_vert_params = "\nuniform mat4 uProjection, uModel, uView;\nuniform vec3 uCameraPosition;\n\nuniform int uObjectId;\nuniform int uVertexCount;\nuniform int uInstanceCount;\nuniform int uGroupCount;\nuniform vec4 uInvariantBoundingSphere;\n\n#if dClipObjectCount != 0\n uniform int uClipObjectType[dClipObjectCount];\n uniform bool uClipObjectInvert[dClipObjectCount];\n uniform vec3 uClipObjectPosition[dClipObjectCount];\n uniform vec4 uClipObjectRotation[dClipObjectCount];\n uniform vec3 uClipObjectScale[dClipObjectCount];\n\n #if defined(dClipping)\n uniform vec2 uClippingTexDim;\n uniform sampler2D tClipping;\n #if __VERSION__ == 100\n varying float vClipping;\n #else\n flat out float vClipping;\n #endif\n #endif\n#endif\n\n#if defined(dMarkerType_uniform)\n uniform float uMarker;\n#elif defined(dMarkerType_groupInstance)\n uniform vec2 uMarkerTexDim;\n uniform sampler2D tMarker;\n #if __VERSION__ == 100\n varying float vMarker;\n #else\n flat out float vMarker;\n #endif\n#endif\n\nvarying vec3 vModelPosition;\nvarying vec3 vViewPosition;\n\n#if __VERSION__ == 100\n attribute float aVertex;\n #define VertexID int(aVertex)\n#else\n // not using gl_VertexID but aVertex to ensure there is an active attribute with divisor 0\n // since FF 85 this is not needed anymore but lets keep it for backwards compatibility\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1679693\n // see also note in src/mol-gl/webgl/render-item.ts\n attribute float aVertex;\n #define VertexID int(aVertex)\n // #define VertexID gl_VertexID\n#endif\n";
4
+ exports.common_vert_params = "\nuniform mat4 uProjection, uModel, uView;\nuniform vec3 uCameraPosition;\n\nuniform int uObjectId;\nuniform int uVertexCount;\nuniform int uInstanceCount;\nuniform int uGroupCount;\nuniform vec4 uInvariantBoundingSphere;\n\nuniform bool uDoubleSided;\nuniform int uPickType;\n\n#if dClipObjectCount != 0\n uniform int uClipObjectType[dClipObjectCount];\n uniform bool uClipObjectInvert[dClipObjectCount];\n uniform vec3 uClipObjectPosition[dClipObjectCount];\n uniform vec4 uClipObjectRotation[dClipObjectCount];\n uniform vec3 uClipObjectScale[dClipObjectCount];\n\n #if defined(dClipping)\n uniform vec2 uClippingTexDim;\n uniform sampler2D tClipping;\n #if __VERSION__ == 100\n varying float vClipping;\n #else\n flat out float vClipping;\n #endif\n #endif\n#endif\n\n#if defined(dRenderVariant_color) || defined(dRenderVariant_marking)\n uniform float uMarker;\n uniform vec2 uMarkerTexDim;\n uniform sampler2D tMarker;\n #if __VERSION__ == 100\n varying float vMarker;\n #else\n flat out float vMarker;\n #endif\n#endif\n\nvarying vec3 vModelPosition;\nvarying vec3 vViewPosition;\n\n#if __VERSION__ == 100\n attribute float aVertex;\n #define VertexID int(aVertex)\n#else\n // not using gl_VertexID but aVertex to ensure there is an active attribute with divisor 0\n // since FF 85 this is not needed anymore but lets keep it for backwards compatibility\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1679693\n // see also note in src/mol-gl/webgl/render-item.ts\n attribute float aVertex;\n #define VertexID int(aVertex)\n // #define VertexID gl_VertexID\n#endif\n";
5
5
  //# sourceMappingURL=common-vert-params.glsl.js.map
@@ -1 +1 @@
1
- export declare const common = "\n// TODO find a better place for these convenience defines\n\n#if defined(dRenderVariant_colorBlended) || defined(dRenderVariant_colorWboit)\n #define dRenderVariant_color\n#endif\n\n#if defined(dRenderVariant_pickObject) || defined(dRenderVariant_pickInstance) || defined(dRenderVariant_pickGroup)\n #define dRenderVariant_pick\n#endif\n\n#if defined(dRenderVariant_markingDepth) || defined(dRenderVariant_markingMask)\n #define dRenderVariant_marking\n#endif\n\n#if defined(dColorType_instance) || defined(dColorType_group) || defined(dColorType_groupInstance) || defined(dColorType_vertex) || defined(dColorType_vertexInstance)\n #define dColorType_texture\n#endif\n\n#if defined(dColorType_volume) || defined(dColorType_volumeInstance)\n #define dColorType_grid\n#endif\n\n#if defined(dColorType_attribute) || defined(dColorType_texture) || defined(dColorType_grid)\n #define dColorType_varying\n#endif\n\n//\n\n#define PI 3.14159265\n#define RECIPROCAL_PI 0.31830988618\n#define EPSILON 1e-6\n\n#define saturate(a) clamp(a, 0.0, 1.0)\n\nfloat intDiv(const in float a, const in float b) { return float(int(a) / int(b)); }\nvec2 ivec2Div(const in vec2 a, const in vec2 b) { return vec2(ivec2(a) / ivec2(b)); }\nfloat intMod(const in float a, const in float b) { return a - b * float(int(a) / int(b)); }\nint imod(const in int a, const in int b) { return a - b * (a / b); }\n\nfloat pow2(const in float x) { return x * x; }\n\nconst float maxFloat = 10000.0; // NOTE constant also set in TypeScript\nconst float floatLogFactor = 9.210440366976517; // log(maxFloat + 1.0);\nfloat encodeFloatLog(const in float value) { return log(value + 1.0) / floatLogFactor; }\nfloat decodeFloatLog(const in float value) { return exp(value * floatLogFactor) - 1.0; }\n\nvec3 encodeFloatRGB(in float value) {\n value = clamp(value, 0.0, 16777216.0 - 1.0) + 1.0;\n vec3 c = vec3(0.0);\n c.b = mod(value, 256.0);\n value = floor(value / 256.0);\n c.g = mod(value, 256.0);\n value = floor(value / 256.0);\n c.r = mod(value, 256.0);\n return c / 255.0;\n}\nfloat decodeFloatRGB(const in vec3 rgb) {\n return (rgb.r * 256.0 * 256.0 * 255.0 + rgb.g * 256.0 * 255.0 + rgb.b * 255.0) - 1.0;\n}\n\nvec2 packUnitIntervalToRG(const in float v) {\n vec2 enc;\n enc.xy = vec2(fract(v * 256.0), v);\n enc.y -= enc.x * (1.0 / 256.0);\n enc.xy *= 256.0 / 255.0;\n\n return enc;\n}\n\nfloat unpackRGToUnitInterval(const in vec2 enc) {\n return dot(enc, vec2(255.0 / (256.0 * 256.0), 255.0 / 256.0));\n}\n\nvec3 screenSpaceToViewSpace(const in vec3 ssPos, const in mat4 invProjection) {\n vec4 p = vec4(ssPos * 2.0 - 1.0, 1.0);\n p = invProjection * p;\n return p.xyz / p.w;\n}\n\nconst float PackUpscale = 256.0 / 255.0; // fraction -> 0..1 (including 1)\nconst float UnpackDownscale = 255.0 / 256.0; // 0..1 -> fraction (excluding 1)\nconst vec3 PackFactors = vec3(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0);\nconst vec4 UnpackFactors = UnpackDownscale / vec4(PackFactors, 1.0);\nconst float ShiftRight8 = 1.0 / 256.0;\n\nvec4 packDepthToRGBA(const in float v) {\n vec4 r = vec4(fract(v * PackFactors), v);\n r.yzw -= r.xyz * ShiftRight8; // tidy overflow\n return r * PackUpscale;\n}\nfloat unpackRGBAToDepth(const in vec4 v) {\n return dot(v, UnpackFactors);\n}\n\nvec4 sRGBToLinear(const in vec4 c) {\n return vec4(mix(pow(c.rgb * 0.9478672986 + vec3(0.0521327014), vec3(2.4)), c.rgb * 0.0773993808, vec3(lessThanEqual(c.rgb, vec3(0.04045)))), c.a);\n}\nvec4 linearTosRGB(const in vec4 c) {\n return vec4(mix(pow(c.rgb, vec3(0.41666)) * 1.055 - vec3(0.055), c.rgb * 12.92, vec3(lessThanEqual(c.rgb, vec3(0.0031308)))), c.a);\n}\n\nfloat linearizeDepth(const in float depth, const in float near, const in float far) {\n return (2.0 * near) / (far + near - depth * (far - near));\n}\n\nfloat perspectiveDepthToViewZ(const in float invClipZ, const in float near, const in float far) {\n return (near * far) / ((far - near) * invClipZ - far);\n}\n\nfloat orthographicDepthToViewZ(const in float linearClipZ, const in float near, const in float far) {\n return linearClipZ * (near - far) - near;\n}\n\nfloat depthToViewZ(const in float isOrtho, const in float linearClipZ, const in float near, const in float far) {\n return isOrtho == 1.0 ? orthographicDepthToViewZ(linearClipZ, near, far) : perspectiveDepthToViewZ(linearClipZ, near, far);\n}\n\n#if __VERSION__ == 100\n // transpose\n\n float transpose(const in float m) {\n return m;\n }\n\n mat2 transpose2(const in mat2 m) {\n return mat2(\n m[0][0], m[1][0],\n m[0][1], m[1][1]\n );\n }\n\n mat3 transpose3(const in mat3 m) {\n return mat3(\n m[0][0], m[1][0], m[2][0],\n m[0][1], m[1][1], m[2][1],\n m[0][2], m[1][2], m[2][2]\n );\n }\n\n mat4 transpose4(const in mat4 m) {\n return mat4(\n m[0][0], m[1][0], m[2][0], m[3][0],\n m[0][1], m[1][1], m[2][1], m[3][1],\n m[0][2], m[1][2], m[2][2], m[3][2],\n m[0][3], m[1][3], m[2][3], m[3][3]\n );\n }\n\n // inverse\n\n float inverse(const in float m) {\n return 1.0 / m;\n }\n\n mat2 inverse2(const in mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n }\n\n mat3 inverse3(const in mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n }\n\n mat4 inverse4(const in mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n }\n#else\n #define transpose2(m) transpose(m)\n #define transpose3(m) transpose(m)\n #define transpose4(m) transpose(m)\n\n #define inverse2(m) inverse(m)\n #define inverse3(m) inverse(m)\n #define inverse4(m) inverse(m)\n#endif\n";
1
+ export declare const common = "\n// TODO find a better place for these convenience defines\n\n#if defined(dRenderVariant_colorBlended) || defined(dRenderVariant_colorWboit)\n #define dRenderVariant_color\n#endif\n\n#if defined(dColorType_instance) || defined(dColorType_group) || defined(dColorType_groupInstance) || defined(dColorType_vertex) || defined(dColorType_vertexInstance)\n #define dColorType_texture\n#endif\n\n#if defined(dColorType_volume) || defined(dColorType_volumeInstance)\n #define dColorType_grid\n#endif\n\n#if defined(dColorType_attribute) || defined(dColorType_texture) || defined(dColorType_grid)\n #define dColorType_varying\n#endif\n\n//\n\n#define PI 3.14159265\n#define RECIPROCAL_PI 0.31830988618\n#define EPSILON 1e-6\n\n#define saturate(a) clamp(a, 0.0, 1.0)\n\n#if __VERSION__ == 100\n #define round(x) floor((x) + 0.5)\n#endif\n\nfloat intDiv(const in float a, const in float b) { return float(int(a) / int(b)); }\nvec2 ivec2Div(const in vec2 a, const in vec2 b) { return vec2(ivec2(a) / ivec2(b)); }\nfloat intMod(const in float a, const in float b) { return a - b * float(int(a) / int(b)); }\nint imod(const in int a, const in int b) { return a - b * (a / b); }\n\nfloat pow2(const in float x) { return x * x; }\n\nvec3 packIntToRGB(in float value) {\n value = clamp(round(value), 0.0, 16777216.0 - 1.0) + 1.0;\n vec3 c = vec3(0.0);\n c.b = mod(value, 256.0);\n value = floor(value / 256.0);\n c.g = mod(value, 256.0);\n value = floor(value / 256.0);\n c.r = mod(value, 256.0);\n return c / 255.0;\n}\nfloat unpackRGBToInt(const in vec3 rgb) {\n return (floor(rgb.r * 255.0 + 0.5) * 256.0 * 256.0 + floor(rgb.g * 255.0 + 0.5) * 256.0 + floor(rgb.b * 255.0 + 0.5)) - 1.0;\n}\n\nvec2 packUnitIntervalToRG(const in float v) {\n vec2 enc;\n enc.xy = vec2(fract(v * 256.0), v);\n enc.y -= enc.x * (1.0 / 256.0);\n enc.xy *= 256.0 / 255.0;\n\n return enc;\n}\n\nfloat unpackRGToUnitInterval(const in vec2 enc) {\n return dot(enc, vec2(255.0 / (256.0 * 256.0), 255.0 / 256.0));\n}\n\nvec3 screenSpaceToViewSpace(const in vec3 ssPos, const in mat4 invProjection) {\n vec4 p = vec4(ssPos * 2.0 - 1.0, 1.0);\n p = invProjection * p;\n return p.xyz / p.w;\n}\n\nconst float PackUpscale = 256.0 / 255.0; // fraction -> 0..1 (including 1)\nconst float UnpackDownscale = 255.0 / 256.0; // 0..1 -> fraction (excluding 1)\nconst vec3 PackFactors = vec3(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0);\nconst vec4 UnpackFactors = UnpackDownscale / vec4(PackFactors, 1.0);\nconst float ShiftRight8 = 1.0 / 256.0;\n\nvec4 packDepthToRGBA(const in float v) {\n vec4 r = vec4(fract(v * PackFactors), v);\n r.yzw -= r.xyz * ShiftRight8; // tidy overflow\n return r * PackUpscale;\n}\nfloat unpackRGBAToDepth(const in vec4 v) {\n return dot(v, UnpackFactors);\n}\n\nvec4 sRGBToLinear(const in vec4 c) {\n return vec4(mix(pow(c.rgb * 0.9478672986 + vec3(0.0521327014), vec3(2.4)), c.rgb * 0.0773993808, vec3(lessThanEqual(c.rgb, vec3(0.04045)))), c.a);\n}\nvec4 linearTosRGB(const in vec4 c) {\n return vec4(mix(pow(c.rgb, vec3(0.41666)) * 1.055 - vec3(0.055), c.rgb * 12.92, vec3(lessThanEqual(c.rgb, vec3(0.0031308)))), c.a);\n}\n\nfloat linearizeDepth(const in float depth, const in float near, const in float far) {\n return (2.0 * near) / (far + near - depth * (far - near));\n}\n\nfloat perspectiveDepthToViewZ(const in float invClipZ, const in float near, const in float far) {\n return (near * far) / ((far - near) * invClipZ - far);\n}\n\nfloat orthographicDepthToViewZ(const in float linearClipZ, const in float near, const in float far) {\n return linearClipZ * (near - far) - near;\n}\n\nfloat depthToViewZ(const in float isOrtho, const in float linearClipZ, const in float near, const in float far) {\n return isOrtho == 1.0 ? orthographicDepthToViewZ(linearClipZ, near, far) : perspectiveDepthToViewZ(linearClipZ, near, far);\n}\n\n#if __VERSION__ == 100\n // transpose\n\n float transpose(const in float m) {\n return m;\n }\n\n mat2 transpose2(const in mat2 m) {\n return mat2(\n m[0][0], m[1][0],\n m[0][1], m[1][1]\n );\n }\n\n mat3 transpose3(const in mat3 m) {\n return mat3(\n m[0][0], m[1][0], m[2][0],\n m[0][1], m[1][1], m[2][1],\n m[0][2], m[1][2], m[2][2]\n );\n }\n\n mat4 transpose4(const in mat4 m) {\n return mat4(\n m[0][0], m[1][0], m[2][0], m[3][0],\n m[0][1], m[1][1], m[2][1], m[3][1],\n m[0][2], m[1][2], m[2][2], m[3][2],\n m[0][3], m[1][3], m[2][3], m[3][3]\n );\n }\n\n // inverse\n\n float inverse(const in float m) {\n return 1.0 / m;\n }\n\n mat2 inverse2(const in mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n }\n\n mat3 inverse3(const in mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n }\n\n mat4 inverse4(const in mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n }\n\n #define isNaN(x) ((x) != (x))\n #define isInf(x) ((x) == (x) + 1.0)\n#else\n #define transpose2(m) transpose(m)\n #define transpose3(m) transpose(m)\n #define transpose4(m) transpose(m)\n\n #define inverse2(m) inverse(m)\n #define inverse3(m) inverse(m)\n #define inverse4(m) inverse(m)\n\n #define isNaN isnan\n #define isInf isinf\n#endif\n";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.common = void 0;
4
- exports.common = "\n// TODO find a better place for these convenience defines\n\n#if defined(dRenderVariant_colorBlended) || defined(dRenderVariant_colorWboit)\n #define dRenderVariant_color\n#endif\n\n#if defined(dRenderVariant_pickObject) || defined(dRenderVariant_pickInstance) || defined(dRenderVariant_pickGroup)\n #define dRenderVariant_pick\n#endif\n\n#if defined(dRenderVariant_markingDepth) || defined(dRenderVariant_markingMask)\n #define dRenderVariant_marking\n#endif\n\n#if defined(dColorType_instance) || defined(dColorType_group) || defined(dColorType_groupInstance) || defined(dColorType_vertex) || defined(dColorType_vertexInstance)\n #define dColorType_texture\n#endif\n\n#if defined(dColorType_volume) || defined(dColorType_volumeInstance)\n #define dColorType_grid\n#endif\n\n#if defined(dColorType_attribute) || defined(dColorType_texture) || defined(dColorType_grid)\n #define dColorType_varying\n#endif\n\n//\n\n#define PI 3.14159265\n#define RECIPROCAL_PI 0.31830988618\n#define EPSILON 1e-6\n\n#define saturate(a) clamp(a, 0.0, 1.0)\n\nfloat intDiv(const in float a, const in float b) { return float(int(a) / int(b)); }\nvec2 ivec2Div(const in vec2 a, const in vec2 b) { return vec2(ivec2(a) / ivec2(b)); }\nfloat intMod(const in float a, const in float b) { return a - b * float(int(a) / int(b)); }\nint imod(const in int a, const in int b) { return a - b * (a / b); }\n\nfloat pow2(const in float x) { return x * x; }\n\nconst float maxFloat = 10000.0; // NOTE constant also set in TypeScript\nconst float floatLogFactor = 9.210440366976517; // log(maxFloat + 1.0);\nfloat encodeFloatLog(const in float value) { return log(value + 1.0) / floatLogFactor; }\nfloat decodeFloatLog(const in float value) { return exp(value * floatLogFactor) - 1.0; }\n\nvec3 encodeFloatRGB(in float value) {\n value = clamp(value, 0.0, 16777216.0 - 1.0) + 1.0;\n vec3 c = vec3(0.0);\n c.b = mod(value, 256.0);\n value = floor(value / 256.0);\n c.g = mod(value, 256.0);\n value = floor(value / 256.0);\n c.r = mod(value, 256.0);\n return c / 255.0;\n}\nfloat decodeFloatRGB(const in vec3 rgb) {\n return (rgb.r * 256.0 * 256.0 * 255.0 + rgb.g * 256.0 * 255.0 + rgb.b * 255.0) - 1.0;\n}\n\nvec2 packUnitIntervalToRG(const in float v) {\n vec2 enc;\n enc.xy = vec2(fract(v * 256.0), v);\n enc.y -= enc.x * (1.0 / 256.0);\n enc.xy *= 256.0 / 255.0;\n\n return enc;\n}\n\nfloat unpackRGToUnitInterval(const in vec2 enc) {\n return dot(enc, vec2(255.0 / (256.0 * 256.0), 255.0 / 256.0));\n}\n\nvec3 screenSpaceToViewSpace(const in vec3 ssPos, const in mat4 invProjection) {\n vec4 p = vec4(ssPos * 2.0 - 1.0, 1.0);\n p = invProjection * p;\n return p.xyz / p.w;\n}\n\nconst float PackUpscale = 256.0 / 255.0; // fraction -> 0..1 (including 1)\nconst float UnpackDownscale = 255.0 / 256.0; // 0..1 -> fraction (excluding 1)\nconst vec3 PackFactors = vec3(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0);\nconst vec4 UnpackFactors = UnpackDownscale / vec4(PackFactors, 1.0);\nconst float ShiftRight8 = 1.0 / 256.0;\n\nvec4 packDepthToRGBA(const in float v) {\n vec4 r = vec4(fract(v * PackFactors), v);\n r.yzw -= r.xyz * ShiftRight8; // tidy overflow\n return r * PackUpscale;\n}\nfloat unpackRGBAToDepth(const in vec4 v) {\n return dot(v, UnpackFactors);\n}\n\nvec4 sRGBToLinear(const in vec4 c) {\n return vec4(mix(pow(c.rgb * 0.9478672986 + vec3(0.0521327014), vec3(2.4)), c.rgb * 0.0773993808, vec3(lessThanEqual(c.rgb, vec3(0.04045)))), c.a);\n}\nvec4 linearTosRGB(const in vec4 c) {\n return vec4(mix(pow(c.rgb, vec3(0.41666)) * 1.055 - vec3(0.055), c.rgb * 12.92, vec3(lessThanEqual(c.rgb, vec3(0.0031308)))), c.a);\n}\n\nfloat linearizeDepth(const in float depth, const in float near, const in float far) {\n return (2.0 * near) / (far + near - depth * (far - near));\n}\n\nfloat perspectiveDepthToViewZ(const in float invClipZ, const in float near, const in float far) {\n return (near * far) / ((far - near) * invClipZ - far);\n}\n\nfloat orthographicDepthToViewZ(const in float linearClipZ, const in float near, const in float far) {\n return linearClipZ * (near - far) - near;\n}\n\nfloat depthToViewZ(const in float isOrtho, const in float linearClipZ, const in float near, const in float far) {\n return isOrtho == 1.0 ? orthographicDepthToViewZ(linearClipZ, near, far) : perspectiveDepthToViewZ(linearClipZ, near, far);\n}\n\n#if __VERSION__ == 100\n // transpose\n\n float transpose(const in float m) {\n return m;\n }\n\n mat2 transpose2(const in mat2 m) {\n return mat2(\n m[0][0], m[1][0],\n m[0][1], m[1][1]\n );\n }\n\n mat3 transpose3(const in mat3 m) {\n return mat3(\n m[0][0], m[1][0], m[2][0],\n m[0][1], m[1][1], m[2][1],\n m[0][2], m[1][2], m[2][2]\n );\n }\n\n mat4 transpose4(const in mat4 m) {\n return mat4(\n m[0][0], m[1][0], m[2][0], m[3][0],\n m[0][1], m[1][1], m[2][1], m[3][1],\n m[0][2], m[1][2], m[2][2], m[3][2],\n m[0][3], m[1][3], m[2][3], m[3][3]\n );\n }\n\n // inverse\n\n float inverse(const in float m) {\n return 1.0 / m;\n }\n\n mat2 inverse2(const in mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n }\n\n mat3 inverse3(const in mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n }\n\n mat4 inverse4(const in mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n }\n#else\n #define transpose2(m) transpose(m)\n #define transpose3(m) transpose(m)\n #define transpose4(m) transpose(m)\n\n #define inverse2(m) inverse(m)\n #define inverse3(m) inverse(m)\n #define inverse4(m) inverse(m)\n#endif\n";
4
+ exports.common = "\n// TODO find a better place for these convenience defines\n\n#if defined(dRenderVariant_colorBlended) || defined(dRenderVariant_colorWboit)\n #define dRenderVariant_color\n#endif\n\n#if defined(dColorType_instance) || defined(dColorType_group) || defined(dColorType_groupInstance) || defined(dColorType_vertex) || defined(dColorType_vertexInstance)\n #define dColorType_texture\n#endif\n\n#if defined(dColorType_volume) || defined(dColorType_volumeInstance)\n #define dColorType_grid\n#endif\n\n#if defined(dColorType_attribute) || defined(dColorType_texture) || defined(dColorType_grid)\n #define dColorType_varying\n#endif\n\n//\n\n#define PI 3.14159265\n#define RECIPROCAL_PI 0.31830988618\n#define EPSILON 1e-6\n\n#define saturate(a) clamp(a, 0.0, 1.0)\n\n#if __VERSION__ == 100\n #define round(x) floor((x) + 0.5)\n#endif\n\nfloat intDiv(const in float a, const in float b) { return float(int(a) / int(b)); }\nvec2 ivec2Div(const in vec2 a, const in vec2 b) { return vec2(ivec2(a) / ivec2(b)); }\nfloat intMod(const in float a, const in float b) { return a - b * float(int(a) / int(b)); }\nint imod(const in int a, const in int b) { return a - b * (a / b); }\n\nfloat pow2(const in float x) { return x * x; }\n\nvec3 packIntToRGB(in float value) {\n value = clamp(round(value), 0.0, 16777216.0 - 1.0) + 1.0;\n vec3 c = vec3(0.0);\n c.b = mod(value, 256.0);\n value = floor(value / 256.0);\n c.g = mod(value, 256.0);\n value = floor(value / 256.0);\n c.r = mod(value, 256.0);\n return c / 255.0;\n}\nfloat unpackRGBToInt(const in vec3 rgb) {\n return (floor(rgb.r * 255.0 + 0.5) * 256.0 * 256.0 + floor(rgb.g * 255.0 + 0.5) * 256.0 + floor(rgb.b * 255.0 + 0.5)) - 1.0;\n}\n\nvec2 packUnitIntervalToRG(const in float v) {\n vec2 enc;\n enc.xy = vec2(fract(v * 256.0), v);\n enc.y -= enc.x * (1.0 / 256.0);\n enc.xy *= 256.0 / 255.0;\n\n return enc;\n}\n\nfloat unpackRGToUnitInterval(const in vec2 enc) {\n return dot(enc, vec2(255.0 / (256.0 * 256.0), 255.0 / 256.0));\n}\n\nvec3 screenSpaceToViewSpace(const in vec3 ssPos, const in mat4 invProjection) {\n vec4 p = vec4(ssPos * 2.0 - 1.0, 1.0);\n p = invProjection * p;\n return p.xyz / p.w;\n}\n\nconst float PackUpscale = 256.0 / 255.0; // fraction -> 0..1 (including 1)\nconst float UnpackDownscale = 255.0 / 256.0; // 0..1 -> fraction (excluding 1)\nconst vec3 PackFactors = vec3(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0);\nconst vec4 UnpackFactors = UnpackDownscale / vec4(PackFactors, 1.0);\nconst float ShiftRight8 = 1.0 / 256.0;\n\nvec4 packDepthToRGBA(const in float v) {\n vec4 r = vec4(fract(v * PackFactors), v);\n r.yzw -= r.xyz * ShiftRight8; // tidy overflow\n return r * PackUpscale;\n}\nfloat unpackRGBAToDepth(const in vec4 v) {\n return dot(v, UnpackFactors);\n}\n\nvec4 sRGBToLinear(const in vec4 c) {\n return vec4(mix(pow(c.rgb * 0.9478672986 + vec3(0.0521327014), vec3(2.4)), c.rgb * 0.0773993808, vec3(lessThanEqual(c.rgb, vec3(0.04045)))), c.a);\n}\nvec4 linearTosRGB(const in vec4 c) {\n return vec4(mix(pow(c.rgb, vec3(0.41666)) * 1.055 - vec3(0.055), c.rgb * 12.92, vec3(lessThanEqual(c.rgb, vec3(0.0031308)))), c.a);\n}\n\nfloat linearizeDepth(const in float depth, const in float near, const in float far) {\n return (2.0 * near) / (far + near - depth * (far - near));\n}\n\nfloat perspectiveDepthToViewZ(const in float invClipZ, const in float near, const in float far) {\n return (near * far) / ((far - near) * invClipZ - far);\n}\n\nfloat orthographicDepthToViewZ(const in float linearClipZ, const in float near, const in float far) {\n return linearClipZ * (near - far) - near;\n}\n\nfloat depthToViewZ(const in float isOrtho, const in float linearClipZ, const in float near, const in float far) {\n return isOrtho == 1.0 ? orthographicDepthToViewZ(linearClipZ, near, far) : perspectiveDepthToViewZ(linearClipZ, near, far);\n}\n\n#if __VERSION__ == 100\n // transpose\n\n float transpose(const in float m) {\n return m;\n }\n\n mat2 transpose2(const in mat2 m) {\n return mat2(\n m[0][0], m[1][0],\n m[0][1], m[1][1]\n );\n }\n\n mat3 transpose3(const in mat3 m) {\n return mat3(\n m[0][0], m[1][0], m[2][0],\n m[0][1], m[1][1], m[2][1],\n m[0][2], m[1][2], m[2][2]\n );\n }\n\n mat4 transpose4(const in mat4 m) {\n return mat4(\n m[0][0], m[1][0], m[2][0], m[3][0],\n m[0][1], m[1][1], m[2][1], m[3][1],\n m[0][2], m[1][2], m[2][2], m[3][2],\n m[0][3], m[1][3], m[2][3], m[3][3]\n );\n }\n\n // inverse\n\n float inverse(const in float m) {\n return 1.0 / m;\n }\n\n mat2 inverse2(const in mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n }\n\n mat3 inverse3(const in mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n }\n\n mat4 inverse4(const in mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n }\n\n #define isNaN(x) ((x) != (x))\n #define isInf(x) ((x) == (x) + 1.0)\n#else\n #define transpose2(m) transpose(m)\n #define transpose3(m) transpose(m)\n #define transpose4(m) transpose(m)\n\n #define inverse2(m) inverse(m)\n #define inverse3(m) inverse(m)\n #define inverse4(m) inverse(m)\n\n #define isNaN isnan\n #define isInf isinf\n#endif\n";
5
5
  //# sourceMappingURL=common.glsl.js.map
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  *
6
6
  * adapted from three.js (https://github.com/mrdoob/three.js/)
7
- * which under the MIT License, Copyright © 2010-2019 three.js authors
7
+ * which under the MIT License, Copyright © 2010-2021 three.js authors
8
8
  */
9
- export declare const light_frag_params = "\nuniform float uLightIntensity;\nuniform float uAmbientIntensity;\nuniform float uReflectivity;\nuniform float uMetalness;\nuniform float uRoughness;\n\nstruct PhysicalMaterial {\n vec3 diffuseColor;\n float specularRoughness;\n vec3 specularColor;\n};\n\nstruct IncidentLight {\n vec3 color;\n vec3 direction;\n};\n\nstruct ReflectedLight {\n vec3 directDiffuse;\n vec3 directSpecular;\n vec3 indirectDiffuse;\n};\n\nstruct GeometricContext {\n vec3 position;\n vec3 normal;\n vec3 viewDir;\n};\n\nvec3 F_Schlick(const in vec3 specularColor, const in float dotLH) {\n // Original approximation by Christophe Schlick '94\n // float fresnel = pow( 1.0 - dotLH, 5.0 );\n // Optimized variant (presented by Epic at SIGGRAPH '13)\n // https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf\n float fresnel = exp2((-5.55473 * dotLH - 6.98316) * dotLH);\n return (1.0 - specularColor) * fresnel + specularColor;\n}\n\n// Moving Frostbite to Physically Based Rendering 3.0 - page 12, listing 2\n// https://seblagarde.files.wordpress.com/2015/07/course_notes_moving_frostbite_to_pbr_v32.pdf\nfloat G_GGX_SmithCorrelated(const in float alpha, const in float dotNL, const in float dotNV) {\n float a2 = pow2(alpha);\n // dotNL and dotNV are explicitly swapped. This is not a mistake.\n float gv = dotNL * sqrt(a2 + (1.0 - a2) * pow2(dotNV));\n float gl = dotNV * sqrt(a2 + (1.0 - a2) * pow2(dotNL));\n return 0.5 / max(gv + gl, EPSILON);\n}\n\n// Microfacet Models for Refraction through Rough Surfaces - equation (33)\n// http://graphicrants.blogspot.com/2013/08/specular-brdf-reference.html\n// alpha is \"roughness squared\" in Disney\u2019s reparameterization\nfloat D_GGX(const in float alpha, const in float dotNH) {\n float a2 = pow2(alpha);\n float denom = pow2(dotNH) * (a2 - 1.0) + 1.0; // avoid alpha = 0 with dotNH = 1\n return RECIPROCAL_PI * a2 / pow2(denom);\n}\n\nvec3 BRDF_Diffuse_Lambert(const in vec3 diffuseColor) {\n return RECIPROCAL_PI * diffuseColor;\n}\n\n// GGX Distribution, Schlick Fresnel, GGX-Smith Visibility\nvec3 BRDF_Specular_GGX(const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float roughness) {\n float alpha = pow2(roughness); // UE4's roughness\n vec3 halfDir = normalize(incidentLight.direction + geometry.viewDir);\n\n float dotNL = saturate(dot(geometry.normal, incidentLight.direction));\n float dotNV = saturate(dot(geometry.normal, geometry.viewDir));\n float dotNH = saturate(dot(geometry.normal, halfDir));\n float dotLH = saturate(dot(incidentLight.direction, halfDir));\n\n vec3 F = F_Schlick(specularColor, dotLH);\n float G = G_GGX_SmithCorrelated(alpha, dotNL, dotNV);\n float D = D_GGX(alpha, dotNH);\n return F * (G * D);\n}\n\n// ref: https://www.unrealengine.com/blog/physically-based-shading-on-mobile - environmentBRDF for GGX on mobile\nvec3 BRDF_Specular_GGX_Environment(const in GeometricContext geometry, const in vec3 specularColor, const in float roughness) {\n float dotNV = saturate(dot(geometry.normal, geometry.viewDir));\n const vec4 c0 = vec4(-1, -0.0275, -0.572, 0.022);\n const vec4 c1 = vec4(1, 0.0425, 1.04, -0.04);\n vec4 r = roughness * c0 + c1;\n float a004 = min(r.x * r.x, exp2(-9.28 * dotNV)) * r.x + r.y;\n vec2 AB = vec2(-1.04, 1.04) * a004 + r.zw;\n return specularColor * AB.x + AB.y;\n}\n\nvoid RE_Direct_Physical(const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n float dotNL = saturate(dot(geometry.normal, directLight.direction));\n vec3 irradiance = dotNL * directLight.color;\n irradiance *= PI; // punctual light\n\n reflectedLight.directSpecular += irradiance * BRDF_Specular_GGX(directLight, geometry, material.specularColor, material.specularRoughness);\n reflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert(material.diffuseColor);\n}\n\nvoid RE_IndirectDiffuse_Physical(const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert(material.diffuseColor);\n}\n";
9
+ export declare const light_frag_params = "\n#if dLightCount != 0\n uniform vec3 uLightDirection[dLightCount];\n uniform vec3 uLightColor[dLightCount];\n#endif\nuniform vec3 uAmbientColor;\n\nstruct PhysicalMaterial {\n vec3 diffuseColor;\n float roughness;\n vec3 specularColor;\n float specularF90;\n};\n\nstruct IncidentLight {\n vec3 color;\n vec3 direction;\n};\n\nstruct ReflectedLight {\n vec3 directDiffuse;\n vec3 directSpecular;\n vec3 indirectDiffuse;\n vec3 indirectSpecular;\n};\n\nstruct GeometricContext {\n vec3 position;\n vec3 normal;\n vec3 viewDir;\n};\n\nvec3 BRDF_Lambert(const in vec3 diffuseColor) {\n return RECIPROCAL_PI * diffuseColor;\n}\n\nvec3 F_Schlick(const in vec3 f0, const in float f90, const in float dotVH) {\n // Original approximation by Christophe Schlick '94\n // float fresnel = pow( 1.0 - dotVH, 5.0 );\n // Optimized variant (presented by Epic at SIGGRAPH '13)\n // https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf\n float fresnel = exp2((-5.55473 * dotVH - 6.98316) * dotVH);\n return f0 * (1.0 - fresnel) + (f90 * fresnel);\n}\n\n// Moving Frostbite to Physically Based Rendering 3.0 - page 12, listing 2\n// https://seblagarde.files.wordpress.com/2015/07/course_notes_moving_frostbite_to_pbr_v32.pdf\nfloat V_GGX_SmithCorrelated(const in float alpha, const in float dotNL, const in float dotNV) {\n float a2 = pow2(alpha);\n float gv = dotNL * sqrt(a2 + (1.0 - a2) * pow2(dotNV));\n float gl = dotNV * sqrt(a2 + (1.0 - a2) * pow2(dotNL));\n return 0.5 / max(gv + gl, EPSILON);\n}\n\n// Microfacet Models for Refraction through Rough Surfaces - equation (33)\n// http://graphicrants.blogspot.com/2013/08/specular-brdf-reference.html\n// alpha is \"roughness squared\" in Disney\u2019s reparameterization\nfloat D_GGX(const in float alpha, const in float dotNH) {\n float a2 = pow2(alpha);\n float denom = pow2(dotNH) * (a2 - 1.0) + 1.0; // avoid alpha = 0 with dotNH = 1\n return RECIPROCAL_PI * a2 / pow2(denom);\n}\n\n// GGX Distribution, Schlick Fresnel, GGX_SmithCorrelated Visibility\nvec3 BRDF_GGX(const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float roughness) {\n float alpha = pow2(roughness); // UE4's roughness\n vec3 halfDir = normalize( lightDir + viewDir);\n float dotNL = saturate(dot(normal, lightDir));\n float dotNV = saturate(dot(normal, viewDir));\n float dotNH = saturate(dot(normal, halfDir));\n float dotVH = saturate(dot(viewDir, halfDir));\n vec3 F = F_Schlick(f0, f90, dotVH);\n float V = V_GGX_SmithCorrelated(alpha, dotNL, dotNV);\n float D = D_GGX(alpha, dotNH);\n return F * (V * D);\n}\n\n// Analytical approximation of the DFG LUT, one half of the\n// split-sum approximation used in indirect specular lighting.\n// via 'environmentBRDF' from \"Physically Based Shading on Mobile\"\n// https://www.unrealengine.com/blog/physically-based-shading-on-mobile\nvec2 DFGApprox(const in vec3 normal, const in vec3 viewDir, const in float roughness) {\n float dotNV = saturate(dot(normal, viewDir));\n const vec4 c0 = vec4(-1, -0.0275, -0.572, 0.022);\n const vec4 c1 = vec4(1, 0.0425, 1.04, -0.04);\n vec4 r = roughness * c0 + c1;\n float a004 = min(r.x * r.x, exp2(-9.28 * dotNV)) * r.x + r.y;\n vec2 fab = vec2(-1.04, 1.04) * a004 + r.zw;\n return fab;\n}\n\n// Fdez-Ag\u00FCera's \"Multiple-Scattering Microfacet Model for Real-Time Image Based Lighting\"\n// Approximates multiscattering in order to preserve energy.\n// http://www.jcgt.org/published/0008/01/03/\nvoid computeMultiscattering(const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter) {\n vec2 fab = DFGApprox(normal, viewDir, roughness);\n vec3 FssEss = specularColor * fab.x + specularF90 * fab.y;\n float Ess = fab.x + fab.y;\n float Ems = 1.0 - Ess;\n vec3 Favg = specularColor + (1.0 - specularColor) * 0.047619; // 1/21\n vec3 Fms = FssEss * Favg / (1.0 - Ems * Favg);\n singleScatter += FssEss;\n multiScatter += Fms * Ems;\n}\n\nvoid RE_Direct_Physical(const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n float dotNL = saturate(dot(geometry.normal, directLight.direction));\n vec3 irradiance = dotNL * directLight.color;\n reflectedLight.directSpecular += irradiance * BRDF_GGX(directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness);\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert(material.diffuseColor);\n}\n\nvoid RE_IndirectDiffuse_Physical(const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert(material.diffuseColor);\n}\n\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n // Both indirect specular and indirect diffuse light accumulate here\n vec3 singleScattering = vec3(0.0);\n vec3 multiScattering = vec3(0.0);\n vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n computeMultiscattering(geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering);\n vec3 diffuse = material.diffuseColor * (1.0 - ( singleScattering + multiScattering));\n reflectedLight.indirectSpecular += radiance * singleScattering;\n reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n";
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
+ * Copyright (c) 2017-2021 mol* contributors, licensed under MIT, See LICENSE file for more info.
4
4
  *
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  *
7
7
  * adapted from three.js (https://github.com/mrdoob/three.js/)
8
- * which under the MIT License, Copyright © 2010-2019 three.js authors
8
+ * which under the MIT License, Copyright © 2010-2021 three.js authors
9
9
  */
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
11
  exports.light_frag_params = void 0;
12
- exports.light_frag_params = "\nuniform float uLightIntensity;\nuniform float uAmbientIntensity;\nuniform float uReflectivity;\nuniform float uMetalness;\nuniform float uRoughness;\n\nstruct PhysicalMaterial {\n vec3 diffuseColor;\n float specularRoughness;\n vec3 specularColor;\n};\n\nstruct IncidentLight {\n vec3 color;\n vec3 direction;\n};\n\nstruct ReflectedLight {\n vec3 directDiffuse;\n vec3 directSpecular;\n vec3 indirectDiffuse;\n};\n\nstruct GeometricContext {\n vec3 position;\n vec3 normal;\n vec3 viewDir;\n};\n\nvec3 F_Schlick(const in vec3 specularColor, const in float dotLH) {\n // Original approximation by Christophe Schlick '94\n // float fresnel = pow( 1.0 - dotLH, 5.0 );\n // Optimized variant (presented by Epic at SIGGRAPH '13)\n // https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf\n float fresnel = exp2((-5.55473 * dotLH - 6.98316) * dotLH);\n return (1.0 - specularColor) * fresnel + specularColor;\n}\n\n// Moving Frostbite to Physically Based Rendering 3.0 - page 12, listing 2\n// https://seblagarde.files.wordpress.com/2015/07/course_notes_moving_frostbite_to_pbr_v32.pdf\nfloat G_GGX_SmithCorrelated(const in float alpha, const in float dotNL, const in float dotNV) {\n float a2 = pow2(alpha);\n // dotNL and dotNV are explicitly swapped. This is not a mistake.\n float gv = dotNL * sqrt(a2 + (1.0 - a2) * pow2(dotNV));\n float gl = dotNV * sqrt(a2 + (1.0 - a2) * pow2(dotNL));\n return 0.5 / max(gv + gl, EPSILON);\n}\n\n// Microfacet Models for Refraction through Rough Surfaces - equation (33)\n// http://graphicrants.blogspot.com/2013/08/specular-brdf-reference.html\n// alpha is \"roughness squared\" in Disney\u2019s reparameterization\nfloat D_GGX(const in float alpha, const in float dotNH) {\n float a2 = pow2(alpha);\n float denom = pow2(dotNH) * (a2 - 1.0) + 1.0; // avoid alpha = 0 with dotNH = 1\n return RECIPROCAL_PI * a2 / pow2(denom);\n}\n\nvec3 BRDF_Diffuse_Lambert(const in vec3 diffuseColor) {\n return RECIPROCAL_PI * diffuseColor;\n}\n\n// GGX Distribution, Schlick Fresnel, GGX-Smith Visibility\nvec3 BRDF_Specular_GGX(const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float roughness) {\n float alpha = pow2(roughness); // UE4's roughness\n vec3 halfDir = normalize(incidentLight.direction + geometry.viewDir);\n\n float dotNL = saturate(dot(geometry.normal, incidentLight.direction));\n float dotNV = saturate(dot(geometry.normal, geometry.viewDir));\n float dotNH = saturate(dot(geometry.normal, halfDir));\n float dotLH = saturate(dot(incidentLight.direction, halfDir));\n\n vec3 F = F_Schlick(specularColor, dotLH);\n float G = G_GGX_SmithCorrelated(alpha, dotNL, dotNV);\n float D = D_GGX(alpha, dotNH);\n return F * (G * D);\n}\n\n// ref: https://www.unrealengine.com/blog/physically-based-shading-on-mobile - environmentBRDF for GGX on mobile\nvec3 BRDF_Specular_GGX_Environment(const in GeometricContext geometry, const in vec3 specularColor, const in float roughness) {\n float dotNV = saturate(dot(geometry.normal, geometry.viewDir));\n const vec4 c0 = vec4(-1, -0.0275, -0.572, 0.022);\n const vec4 c1 = vec4(1, 0.0425, 1.04, -0.04);\n vec4 r = roughness * c0 + c1;\n float a004 = min(r.x * r.x, exp2(-9.28 * dotNV)) * r.x + r.y;\n vec2 AB = vec2(-1.04, 1.04) * a004 + r.zw;\n return specularColor * AB.x + AB.y;\n}\n\nvoid RE_Direct_Physical(const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n float dotNL = saturate(dot(geometry.normal, directLight.direction));\n vec3 irradiance = dotNL * directLight.color;\n irradiance *= PI; // punctual light\n\n reflectedLight.directSpecular += irradiance * BRDF_Specular_GGX(directLight, geometry, material.specularColor, material.specularRoughness);\n reflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert(material.diffuseColor);\n}\n\nvoid RE_IndirectDiffuse_Physical(const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert(material.diffuseColor);\n}\n";
12
+ exports.light_frag_params = "\n#if dLightCount != 0\n uniform vec3 uLightDirection[dLightCount];\n uniform vec3 uLightColor[dLightCount];\n#endif\nuniform vec3 uAmbientColor;\n\nstruct PhysicalMaterial {\n vec3 diffuseColor;\n float roughness;\n vec3 specularColor;\n float specularF90;\n};\n\nstruct IncidentLight {\n vec3 color;\n vec3 direction;\n};\n\nstruct ReflectedLight {\n vec3 directDiffuse;\n vec3 directSpecular;\n vec3 indirectDiffuse;\n vec3 indirectSpecular;\n};\n\nstruct GeometricContext {\n vec3 position;\n vec3 normal;\n vec3 viewDir;\n};\n\nvec3 BRDF_Lambert(const in vec3 diffuseColor) {\n return RECIPROCAL_PI * diffuseColor;\n}\n\nvec3 F_Schlick(const in vec3 f0, const in float f90, const in float dotVH) {\n // Original approximation by Christophe Schlick '94\n // float fresnel = pow( 1.0 - dotVH, 5.0 );\n // Optimized variant (presented by Epic at SIGGRAPH '13)\n // https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf\n float fresnel = exp2((-5.55473 * dotVH - 6.98316) * dotVH);\n return f0 * (1.0 - fresnel) + (f90 * fresnel);\n}\n\n// Moving Frostbite to Physically Based Rendering 3.0 - page 12, listing 2\n// https://seblagarde.files.wordpress.com/2015/07/course_notes_moving_frostbite_to_pbr_v32.pdf\nfloat V_GGX_SmithCorrelated(const in float alpha, const in float dotNL, const in float dotNV) {\n float a2 = pow2(alpha);\n float gv = dotNL * sqrt(a2 + (1.0 - a2) * pow2(dotNV));\n float gl = dotNV * sqrt(a2 + (1.0 - a2) * pow2(dotNL));\n return 0.5 / max(gv + gl, EPSILON);\n}\n\n// Microfacet Models for Refraction through Rough Surfaces - equation (33)\n// http://graphicrants.blogspot.com/2013/08/specular-brdf-reference.html\n// alpha is \"roughness squared\" in Disney\u2019s reparameterization\nfloat D_GGX(const in float alpha, const in float dotNH) {\n float a2 = pow2(alpha);\n float denom = pow2(dotNH) * (a2 - 1.0) + 1.0; // avoid alpha = 0 with dotNH = 1\n return RECIPROCAL_PI * a2 / pow2(denom);\n}\n\n// GGX Distribution, Schlick Fresnel, GGX_SmithCorrelated Visibility\nvec3 BRDF_GGX(const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float roughness) {\n float alpha = pow2(roughness); // UE4's roughness\n vec3 halfDir = normalize( lightDir + viewDir);\n float dotNL = saturate(dot(normal, lightDir));\n float dotNV = saturate(dot(normal, viewDir));\n float dotNH = saturate(dot(normal, halfDir));\n float dotVH = saturate(dot(viewDir, halfDir));\n vec3 F = F_Schlick(f0, f90, dotVH);\n float V = V_GGX_SmithCorrelated(alpha, dotNL, dotNV);\n float D = D_GGX(alpha, dotNH);\n return F * (V * D);\n}\n\n// Analytical approximation of the DFG LUT, one half of the\n// split-sum approximation used in indirect specular lighting.\n// via 'environmentBRDF' from \"Physically Based Shading on Mobile\"\n// https://www.unrealengine.com/blog/physically-based-shading-on-mobile\nvec2 DFGApprox(const in vec3 normal, const in vec3 viewDir, const in float roughness) {\n float dotNV = saturate(dot(normal, viewDir));\n const vec4 c0 = vec4(-1, -0.0275, -0.572, 0.022);\n const vec4 c1 = vec4(1, 0.0425, 1.04, -0.04);\n vec4 r = roughness * c0 + c1;\n float a004 = min(r.x * r.x, exp2(-9.28 * dotNV)) * r.x + r.y;\n vec2 fab = vec2(-1.04, 1.04) * a004 + r.zw;\n return fab;\n}\n\n// Fdez-Ag\u00FCera's \"Multiple-Scattering Microfacet Model for Real-Time Image Based Lighting\"\n// Approximates multiscattering in order to preserve energy.\n// http://www.jcgt.org/published/0008/01/03/\nvoid computeMultiscattering(const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter) {\n vec2 fab = DFGApprox(normal, viewDir, roughness);\n vec3 FssEss = specularColor * fab.x + specularF90 * fab.y;\n float Ess = fab.x + fab.y;\n float Ems = 1.0 - Ess;\n vec3 Favg = specularColor + (1.0 - specularColor) * 0.047619; // 1/21\n vec3 Fms = FssEss * Favg / (1.0 - Ems * Favg);\n singleScatter += FssEss;\n multiScatter += Fms * Ems;\n}\n\nvoid RE_Direct_Physical(const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n float dotNL = saturate(dot(geometry.normal, directLight.direction));\n vec3 irradiance = dotNL * directLight.color;\n reflectedLight.directSpecular += irradiance * BRDF_GGX(directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness);\n reflectedLight.directDiffuse += irradiance * BRDF_Lambert(material.diffuseColor);\n}\n\nvoid RE_IndirectDiffuse_Physical(const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert(material.diffuseColor);\n}\n\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n // Both indirect specular and indirect diffuse light accumulate here\n vec3 singleScattering = vec3(0.0);\n vec3 multiScattering = vec3(0.0);\n vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n computeMultiscattering(geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering);\n vec3 diffuse = material.diffuseColor * (1.0 - ( singleScattering + multiScattering));\n reflectedLight.indirectSpecular += radiance * singleScattering;\n reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n";
13
13
  //# sourceMappingURL=light-frag-params.glsl.js.map
@@ -4,4 +4,4 @@
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  * @author Áron Samuel Kovács <aron.kovacs@mail.muni.cz>
6
6
  */
7
- export declare const wboit_write = "\n#if defined(dRenderVariant_colorWboit)\n if (!uRenderWboit) {\n if (preFogAlpha < 1.0) {\n discard;\n }\n } else if (uRenderWboit) {\n // the 'fragmentDepth > 0.99' check is to handle precision issues with packed depth\n if (preFogAlpha != 1.0 && !interior && (fragmentDepth < getDepth(gl_FragCoord.xy / uDrawingBufferSize) || fragmentDepth > 0.99)) {\n float alpha = gl_FragColor.a;\n float wboitWeight = alpha * clamp(pow(1.0 - fragmentDepth, 2.0), 0.01, 1.0);\n gl_FragColor = vec4(gl_FragColor.rgb * alpha * wboitWeight, alpha);\n // extra alpha is to handle pre-multiplied alpha\n #if !defined(dRenderMode_volume) && !defined(dRenderMode_isosurface)\n gl_FragData[1] = vec4((uTransparentBackground ? alpha : 1.0) * alpha * wboitWeight);\n #else\n gl_FragData[1] = vec4(alpha * alpha * wboitWeight);\n #endif\n } else {\n discard;\n }\n }\n#endif\n";
7
+ export declare const wboit_write = "\n#if defined(dRenderVariant_colorWboit)\n if (!uRenderWboit) {\n if (preFogAlpha < 1.0) {\n discard;\n }\n } else if (uRenderWboit) {\n // the 'fragmentDepth > 0.99' check is to handle precision issues with packed depth\n if (preFogAlpha != 1.0 && !interior && (fragmentDepth < getDepth(gl_FragCoord.xy / uDrawingBufferSize) || fragmentDepth > 0.99)) {\n float alpha = gl_FragColor.a;\n float wboitWeight = alpha * clamp(pow(1.0 - fragmentDepth, 2.0), 0.01, 1.0);\n gl_FragColor = vec4(gl_FragColor.rgb * alpha * wboitWeight, alpha);\n // extra alpha is to handle pre-multiplied alpha\n #ifndef dGeometryType_directVolume\n gl_FragData[1] = vec4((uTransparentBackground ? alpha : 1.0) * alpha * wboitWeight);\n #else\n gl_FragData[1] = vec4(alpha * alpha * wboitWeight);\n #endif\n } else {\n discard;\n }\n }\n#endif\n";
@@ -7,5 +7,5 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.wboit_write = void 0;
10
- exports.wboit_write = "\n#if defined(dRenderVariant_colorWboit)\n if (!uRenderWboit) {\n if (preFogAlpha < 1.0) {\n discard;\n }\n } else if (uRenderWboit) {\n // the 'fragmentDepth > 0.99' check is to handle precision issues with packed depth\n if (preFogAlpha != 1.0 && !interior && (fragmentDepth < getDepth(gl_FragCoord.xy / uDrawingBufferSize) || fragmentDepth > 0.99)) {\n float alpha = gl_FragColor.a;\n float wboitWeight = alpha * clamp(pow(1.0 - fragmentDepth, 2.0), 0.01, 1.0);\n gl_FragColor = vec4(gl_FragColor.rgb * alpha * wboitWeight, alpha);\n // extra alpha is to handle pre-multiplied alpha\n #if !defined(dRenderMode_volume) && !defined(dRenderMode_isosurface)\n gl_FragData[1] = vec4((uTransparentBackground ? alpha : 1.0) * alpha * wboitWeight);\n #else\n gl_FragData[1] = vec4(alpha * alpha * wboitWeight);\n #endif\n } else {\n discard;\n }\n }\n#endif\n";
10
+ exports.wboit_write = "\n#if defined(dRenderVariant_colorWboit)\n if (!uRenderWboit) {\n if (preFogAlpha < 1.0) {\n discard;\n }\n } else if (uRenderWboit) {\n // the 'fragmentDepth > 0.99' check is to handle precision issues with packed depth\n if (preFogAlpha != 1.0 && !interior && (fragmentDepth < getDepth(gl_FragCoord.xy / uDrawingBufferSize) || fragmentDepth > 0.99)) {\n float alpha = gl_FragColor.a;\n float wboitWeight = alpha * clamp(pow(1.0 - fragmentDepth, 2.0), 0.01, 1.0);\n gl_FragColor = vec4(gl_FragColor.rgb * alpha * wboitWeight, alpha);\n // extra alpha is to handle pre-multiplied alpha\n #ifndef dGeometryType_directVolume\n gl_FragData[1] = vec4((uTransparentBackground ? alpha : 1.0) * alpha * wboitWeight);\n #else\n gl_FragData[1] = vec4(alpha * alpha * wboitWeight);\n #endif\n } else {\n discard;\n }\n }\n#endif\n";
11
11
  //# sourceMappingURL=wboit-write.glsl.js.map
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
6
- export declare const accumulate_frag = "\nprecision highp float;\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\n\nuniform float uCurrentSlice;\nuniform float uCurrentX;\nuniform float uCurrentY;\nuniform float uResolution;\n\nconst float p = 2.0;\n\nvoid main() {\n vec2 v = gl_FragCoord.xy - vec2(uCurrentX, uCurrentY) - 0.5;\n vec3 fragPos = vec3(v.x, v.y, uCurrentSlice);\n float dist = distance(fragPos, vPosition);\n if (dist > p) discard;\n\n gl_FragColor = vec4(vColor, 1.0) * (p - dist);\n}\n";
6
+ export declare const accumulate_frag = "\nprecision highp float;\n\nvarying vec3 vPosition;\nvarying vec4 vColor;\n\nuniform float uCurrentSlice;\nuniform float uCurrentX;\nuniform float uCurrentY;\nuniform float uResolution;\n\nconst float p = 2.0;\n\nvoid main() {\n vec2 v = gl_FragCoord.xy - vec2(uCurrentX, uCurrentY) - 0.5;\n vec3 fragPos = vec3(v.x, v.y, uCurrentSlice);\n float dist = distance(fragPos, vPosition);\n if (dist > p) discard;\n\n float f = p - dist;\n gl_FragColor = vColor * f;\n gl_FragData[1] = vec4(f);\n}\n";
@@ -6,5 +6,5 @@
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.accumulate_frag = void 0;
9
- exports.accumulate_frag = "\nprecision highp float;\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\n\nuniform float uCurrentSlice;\nuniform float uCurrentX;\nuniform float uCurrentY;\nuniform float uResolution;\n\nconst float p = 2.0;\n\nvoid main() {\n vec2 v = gl_FragCoord.xy - vec2(uCurrentX, uCurrentY) - 0.5;\n vec3 fragPos = vec3(v.x, v.y, uCurrentSlice);\n float dist = distance(fragPos, vPosition);\n if (dist > p) discard;\n\n gl_FragColor = vec4(vColor, 1.0) * (p - dist);\n}\n";
9
+ exports.accumulate_frag = "\nprecision highp float;\n\nvarying vec3 vPosition;\nvarying vec4 vColor;\n\nuniform float uCurrentSlice;\nuniform float uCurrentX;\nuniform float uCurrentY;\nuniform float uResolution;\n\nconst float p = 2.0;\n\nvoid main() {\n vec2 v = gl_FragCoord.xy - vec2(uCurrentX, uCurrentY) - 0.5;\n vec3 fragPos = vec3(v.x, v.y, uCurrentSlice);\n float dist = distance(fragPos, vPosition);\n if (dist > p) discard;\n\n float f = p - dist;\n gl_FragColor = vColor * f;\n gl_FragData[1] = vec4(f);\n}\n";
10
10
  //# sourceMappingURL=accumulate.frag.js.map
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
6
- export declare const accumulate_vert = "\nprecision highp float;\n\n#include common\n#include read_from_texture\n\nuniform int uTotalCount;\nuniform int uGroupCount;\n\nattribute float aSample;\n#define SampleID int(aSample)\n\nattribute mat4 aTransform;\nattribute float aInstance;\n\nuniform vec2 uGeoTexDim;\nuniform sampler2D tPosition;\nuniform sampler2D tGroup;\n\nuniform vec2 uColorTexDim;\nuniform sampler2D tColor;\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\n\nuniform vec3 uBboxSize;\nuniform vec3 uBboxMin;\nuniform float uResolution;\n\nvoid main() {\n vec3 position = readFromTexture(tPosition, SampleID, uGeoTexDim).xyz;\n float group = decodeFloatRGB(readFromTexture(tGroup, SampleID, uGeoTexDim).rgb);\n\n position = (aTransform * vec4(position, 1.0)).xyz;\n gl_PointSize = 7.0;\n vPosition = (position - uBboxMin) / uResolution;\n gl_Position = vec4(((position - uBboxMin) / uBboxSize) * 2.0 - 1.0, 1.0);\n\n #if defined(dColorType_group)\n vColor = readFromTexture(tColor, group, uColorTexDim).rgb;\n #elif defined(dColorType_groupInstance)\n vColor = readFromTexture(tColor, aInstance * float(uGroupCount) + group, uColorTexDim).rgb;\n #endif\n}\n";
6
+ export declare const accumulate_vert = "\nprecision highp float;\n\n#include common\n#include read_from_texture\n\nuniform int uTotalCount;\nuniform int uGroupCount;\n\nattribute float aSample;\n#define SampleID int(aSample)\n\nattribute mat4 aTransform;\nattribute float aInstance;\n\nuniform vec2 uGeoTexDim;\nuniform sampler2D tPosition;\nuniform sampler2D tGroup;\n\nuniform vec2 uColorTexDim;\nuniform sampler2D tColor;\n\nvarying vec3 vPosition;\nvarying vec4 vColor;\n\nuniform vec3 uBboxSize;\nuniform vec3 uBboxMin;\nuniform float uResolution;\n\nvoid main() {\n vec3 position = readFromTexture(tPosition, SampleID, uGeoTexDim).xyz;\n float group = unpackRGBToInt(readFromTexture(tGroup, SampleID, uGeoTexDim).rgb);\n\n position = (aTransform * vec4(position, 1.0)).xyz;\n gl_PointSize = 7.0;\n vPosition = (position - uBboxMin) / uResolution;\n gl_Position = vec4(((position - uBboxMin) / uBboxSize) * 2.0 - 1.0, 1.0);\n\n #if defined(dColorType_group)\n vColor = readFromTexture(tColor, group, uColorTexDim);\n #elif defined(dColorType_groupInstance)\n vColor = readFromTexture(tColor, aInstance * float(uGroupCount) + group, uColorTexDim);\n #endif\n}\n";
@@ -6,5 +6,5 @@
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.accumulate_vert = void 0;
9
- exports.accumulate_vert = "\nprecision highp float;\n\n#include common\n#include read_from_texture\n\nuniform int uTotalCount;\nuniform int uGroupCount;\n\nattribute float aSample;\n#define SampleID int(aSample)\n\nattribute mat4 aTransform;\nattribute float aInstance;\n\nuniform vec2 uGeoTexDim;\nuniform sampler2D tPosition;\nuniform sampler2D tGroup;\n\nuniform vec2 uColorTexDim;\nuniform sampler2D tColor;\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\n\nuniform vec3 uBboxSize;\nuniform vec3 uBboxMin;\nuniform float uResolution;\n\nvoid main() {\n vec3 position = readFromTexture(tPosition, SampleID, uGeoTexDim).xyz;\n float group = decodeFloatRGB(readFromTexture(tGroup, SampleID, uGeoTexDim).rgb);\n\n position = (aTransform * vec4(position, 1.0)).xyz;\n gl_PointSize = 7.0;\n vPosition = (position - uBboxMin) / uResolution;\n gl_Position = vec4(((position - uBboxMin) / uBboxSize) * 2.0 - 1.0, 1.0);\n\n #if defined(dColorType_group)\n vColor = readFromTexture(tColor, group, uColorTexDim).rgb;\n #elif defined(dColorType_groupInstance)\n vColor = readFromTexture(tColor, aInstance * float(uGroupCount) + group, uColorTexDim).rgb;\n #endif\n}\n";
9
+ exports.accumulate_vert = "\nprecision highp float;\n\n#include common\n#include read_from_texture\n\nuniform int uTotalCount;\nuniform int uGroupCount;\n\nattribute float aSample;\n#define SampleID int(aSample)\n\nattribute mat4 aTransform;\nattribute float aInstance;\n\nuniform vec2 uGeoTexDim;\nuniform sampler2D tPosition;\nuniform sampler2D tGroup;\n\nuniform vec2 uColorTexDim;\nuniform sampler2D tColor;\n\nvarying vec3 vPosition;\nvarying vec4 vColor;\n\nuniform vec3 uBboxSize;\nuniform vec3 uBboxMin;\nuniform float uResolution;\n\nvoid main() {\n vec3 position = readFromTexture(tPosition, SampleID, uGeoTexDim).xyz;\n float group = unpackRGBToInt(readFromTexture(tGroup, SampleID, uGeoTexDim).rgb);\n\n position = (aTransform * vec4(position, 1.0)).xyz;\n gl_PointSize = 7.0;\n vPosition = (position - uBboxMin) / uResolution;\n gl_Position = vec4(((position - uBboxMin) / uBboxSize) * 2.0 - 1.0, 1.0);\n\n #if defined(dColorType_group)\n vColor = readFromTexture(tColor, group, uColorTexDim);\n #elif defined(dColorType_groupInstance)\n vColor = readFromTexture(tColor, aInstance * float(uGroupCount) + group, uColorTexDim);\n #endif\n}\n";
10
10
  //# sourceMappingURL=accumulate.vert.js.map
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
6
- export declare const normalize_frag = "\nprecision highp float;\nprecision highp sampler2D;\n\nuniform sampler2D tColor;\nuniform vec2 uTexSize;\n\nvoid main(void) {\n vec2 coords = gl_FragCoord.xy / uTexSize;\n vec4 color = texture2D(tColor, coords);\n\n gl_FragColor.rgb = color.rgb / color.a;\n}\n";
6
+ export declare const normalize_frag = "\nprecision highp float;\nprecision highp sampler2D;\n\nuniform sampler2D tColor;\nuniform sampler2D tCount;\nuniform vec2 uTexSize;\n\nvoid main(void) {\n vec2 coords = gl_FragCoord.xy / uTexSize;\n vec4 color = texture2D(tColor, coords);\n float count = texture2D(tCount, coords).r;\n\n gl_FragColor = color / count;\n}\n";
@@ -6,5 +6,5 @@
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.normalize_frag = void 0;
9
- exports.normalize_frag = "\nprecision highp float;\nprecision highp sampler2D;\n\nuniform sampler2D tColor;\nuniform vec2 uTexSize;\n\nvoid main(void) {\n vec2 coords = gl_FragCoord.xy / uTexSize;\n vec4 color = texture2D(tColor, coords);\n\n gl_FragColor.rgb = color.rgb / color.a;\n}\n";
9
+ exports.normalize_frag = "\nprecision highp float;\nprecision highp sampler2D;\n\nuniform sampler2D tColor;\nuniform sampler2D tCount;\nuniform vec2 uTexSize;\n\nvoid main(void) {\n vec2 coords = gl_FragCoord.xy / uTexSize;\n vec4 color = texture2D(tColor, coords);\n float count = texture2D(tCount, coords).r;\n\n gl_FragColor = color / count;\n}\n";
10
10
  //# sourceMappingURL=normalize.frag.js.map
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
6
- export declare const cylinders_frag = "\nprecision highp float;\nprecision highp int;\n\nuniform mat4 uView;\n\nvarying mat4 vTransform;\nvarying vec3 vStart;\nvarying vec3 vEnd;\nvarying float vSize;\nvarying float vCap;\n\nuniform vec3 uCameraDir;\nuniform vec3 uCameraPosition;\n\n#include common\n#include common_frag_params\n#include color_frag_params\n#include light_frag_params\n#include common_clip\n\n// adapted from https://www.shadertoy.com/view/4lcSRn\n// The MIT License, Copyright 2016 Inigo Quilez\nbool CylinderImpostor(\n in vec3 rayOrigin, in vec3 rayDir,\n in vec3 start, in vec3 end, in float radius,\n out vec4 intersection, out bool interior\n){\n vec3 ba = end - start;\n vec3 oc = rayOrigin - start;\n\n float baba = dot(ba, ba);\n float bard = dot(ba, rayDir);\n float baoc = dot(ba, oc);\n\n float k2 = baba - bard*bard;\n float k1 = baba * dot(oc, rayDir) - baoc * bard;\n float k0 = baba * dot(oc, oc) - baoc * baoc - radius * radius * baba;\n\n float h = k1 * k1 - k2 * k0;\n if (h < 0.0) return false;\n\n bool topCap = (vCap > 0.9 && vCap < 1.1) || vCap >= 2.9;\n bool bottomCap = (vCap > 1.9 && vCap < 2.1) || vCap >= 2.9;\n\n // body outside\n h = sqrt(h);\n float t = (-k1 - h) / k2;\n float y = baoc + t * bard;\n if (y > 0.0 && y < baba) {\n interior = false;\n intersection = vec4(t, (oc + t * rayDir - ba * y / baba) / radius);\n return true;\n }\n\n if (topCap && y < 0.0) {\n // top cap\n t = -baoc / bard;\n if (abs(k1 + k2 * t) < h) {\n interior = false;\n intersection = vec4(t, ba * sign(y) / baba);\n return true;\n }\n } else if(bottomCap && y >= 0.0) {\n // bottom cap\n t = (baba - baoc) / bard;\n if (abs(k1 + k2 * t) < h) {\n interior = false;\n intersection = vec4(t, ba * sign(y) / baba);\n return true;\n }\n }\n\n #ifdef dDoubleSided\n // body inside\n h = -h;\n t = (-k1 - h) / k2;\n y = baoc + t * bard;\n if (y > 0.0 && y < baba) {\n interior = true;\n intersection = vec4(t, (oc + t * rayDir - ba * y / baba) / radius);\n return true;\n }\n\n // TODO: handle inside caps???\n #endif\n\n return false;\n}\n\nvoid main() {\n #include clip_pixel\n\n vec3 rayDir = mix(normalize(vModelPosition - uCameraPosition), uCameraDir, uIsOrtho);\n\n vec4 intersection;\n bool interior;\n bool hit = CylinderImpostor(vModelPosition, rayDir, vStart, vEnd, vSize, intersection, interior);\n if (!hit) discard;\n\n vec3 vViewPosition = vModelPosition + intersection.x * rayDir;\n vViewPosition = (uView * vec4(vViewPosition, 1.0)).xyz;\n gl_FragDepthEXT = calcDepth(vViewPosition);\n\n // bugfix (mac only?)\n if (gl_FragDepthEXT < 0.0) discard;\n if (gl_FragDepthEXT > 1.0) discard;\n\n float fragmentDepth = gl_FragDepthEXT;\n #include assign_material_color\n\n #if defined(dRenderVariant_pick)\n #include check_picking_alpha\n gl_FragColor = material;\n #elif defined(dRenderVariant_depth)\n gl_FragColor = material;\n #elif defined(dRenderVariant_marking)\n gl_FragColor = material;\n #elif defined(dRenderVariant_color)\n #ifdef dIgnoreLight\n gl_FragColor = material;\n #else\n mat3 normalMatrix = transpose3(inverse3(mat3(uView)));\n vec3 normal = normalize(normalMatrix * -normalize(intersection.yzw));\n #include apply_light_color\n #endif\n\n #include apply_interior_color\n #include apply_marker_color\n #include apply_fog\n #include wboit_write\n #endif\n}\n";
6
+ export declare const cylinders_frag = "\nprecision highp float;\nprecision highp int;\n\n#define bumpEnabled\n\nuniform mat4 uView;\n\nvarying mat4 vTransform;\nvarying vec3 vStart;\nvarying vec3 vEnd;\nvarying float vSize;\nvarying float vCap;\n\nuniform vec3 uCameraDir;\nuniform vec3 uCameraPosition;\nuniform mat4 uInvView;\n\n#include common\n#include common_frag_params\n#include color_frag_params\n#include light_frag_params\n#include common_clip\n\n// adapted from https://www.shadertoy.com/view/4lcSRn\n// The MIT License, Copyright 2016 Inigo Quilez\nbool CylinderImpostor(\n in vec3 rayOrigin, in vec3 rayDir,\n in vec3 start, in vec3 end, in float radius,\n out vec4 intersection, out bool interior\n){\n vec3 ba = end - start;\n vec3 oc = rayOrigin - start;\n\n float baba = dot(ba, ba);\n float bard = dot(ba, rayDir);\n float baoc = dot(ba, oc);\n\n float k2 = baba - bard*bard;\n float k1 = baba * dot(oc, rayDir) - baoc * bard;\n float k0 = baba * dot(oc, oc) - baoc * baoc - radius * radius * baba;\n\n float h = k1 * k1 - k2 * k0;\n if (h < 0.0) return false;\n\n bool topCap = (vCap > 0.9 && vCap < 1.1) || vCap >= 2.9;\n bool bottomCap = (vCap > 1.9 && vCap < 2.1) || vCap >= 2.9;\n\n // body outside\n h = sqrt(h);\n float t = (-k1 - h) / k2;\n float y = baoc + t * bard;\n if (y > 0.0 && y < baba) {\n interior = false;\n intersection = vec4(t, (oc + t * rayDir - ba * y / baba) / radius);\n return true;\n }\n\n if (topCap && y < 0.0) {\n // top cap\n t = -baoc / bard;\n if (abs(k1 + k2 * t) < h) {\n interior = false;\n intersection = vec4(t, ba * sign(y) / baba);\n return true;\n }\n } else if(bottomCap && y >= 0.0) {\n // bottom cap\n t = (baba - baoc) / bard;\n if (abs(k1 + k2 * t) < h) {\n interior = false;\n intersection = vec4(t, ba * sign(y) / baba);\n return true;\n }\n }\n\n if (uDoubleSided) {\n // body inside\n h = -h;\n t = (-k1 - h) / k2;\n y = baoc + t * bard;\n if (y > 0.0 && y < baba) {\n interior = true;\n intersection = vec4(t, (oc + t * rayDir - ba * y / baba) / radius);\n return true;\n }\n\n // TODO: handle inside caps???\n }\n\n return false;\n}\n\nvoid main() {\n #include clip_pixel\n\n vec3 rayDir = mix(normalize(vModelPosition - uCameraPosition), uCameraDir, uIsOrtho);\n\n vec4 intersection;\n bool interior;\n bool hit = CylinderImpostor(vModelPosition, rayDir, vStart, vEnd, vSize, intersection, interior);\n if (!hit) discard;\n\n vec3 vViewPosition = vModelPosition + intersection.x * rayDir;\n vViewPosition = (uView * vec4(vViewPosition, 1.0)).xyz;\n gl_FragDepthEXT = calcDepth(vViewPosition);\n\n vec3 vModelPosition = (uInvView * vec4(vViewPosition, 1.0)).xyz;\n\n if (gl_FragDepthEXT < 0.0) discard;\n if (gl_FragDepthEXT > 1.0) discard;\n\n float fragmentDepth = gl_FragDepthEXT;\n #include assign_material_color\n\n #if defined(dRenderVariant_pick)\n #include check_picking_alpha\n gl_FragColor = material;\n #elif defined(dRenderVariant_depth)\n gl_FragColor = material;\n #elif defined(dRenderVariant_marking)\n gl_FragColor = material;\n #elif defined(dRenderVariant_color)\n #ifdef dIgnoreLight\n gl_FragColor = material;\n #else\n mat3 normalMatrix = transpose3(inverse3(mat3(uView)));\n vec3 normal = normalize(normalMatrix * -normalize(intersection.yzw));\n #include apply_light_color\n #endif\n\n #include apply_interior_color\n #include apply_marker_color\n #include apply_fog\n #include wboit_write\n #endif\n}\n";
@@ -6,5 +6,5 @@
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.cylinders_frag = void 0;
9
- exports.cylinders_frag = "\nprecision highp float;\nprecision highp int;\n\nuniform mat4 uView;\n\nvarying mat4 vTransform;\nvarying vec3 vStart;\nvarying vec3 vEnd;\nvarying float vSize;\nvarying float vCap;\n\nuniform vec3 uCameraDir;\nuniform vec3 uCameraPosition;\n\n#include common\n#include common_frag_params\n#include color_frag_params\n#include light_frag_params\n#include common_clip\n\n// adapted from https://www.shadertoy.com/view/4lcSRn\n// The MIT License, Copyright 2016 Inigo Quilez\nbool CylinderImpostor(\n in vec3 rayOrigin, in vec3 rayDir,\n in vec3 start, in vec3 end, in float radius,\n out vec4 intersection, out bool interior\n){\n vec3 ba = end - start;\n vec3 oc = rayOrigin - start;\n\n float baba = dot(ba, ba);\n float bard = dot(ba, rayDir);\n float baoc = dot(ba, oc);\n\n float k2 = baba - bard*bard;\n float k1 = baba * dot(oc, rayDir) - baoc * bard;\n float k0 = baba * dot(oc, oc) - baoc * baoc - radius * radius * baba;\n\n float h = k1 * k1 - k2 * k0;\n if (h < 0.0) return false;\n\n bool topCap = (vCap > 0.9 && vCap < 1.1) || vCap >= 2.9;\n bool bottomCap = (vCap > 1.9 && vCap < 2.1) || vCap >= 2.9;\n\n // body outside\n h = sqrt(h);\n float t = (-k1 - h) / k2;\n float y = baoc + t * bard;\n if (y > 0.0 && y < baba) {\n interior = false;\n intersection = vec4(t, (oc + t * rayDir - ba * y / baba) / radius);\n return true;\n }\n\n if (topCap && y < 0.0) {\n // top cap\n t = -baoc / bard;\n if (abs(k1 + k2 * t) < h) {\n interior = false;\n intersection = vec4(t, ba * sign(y) / baba);\n return true;\n }\n } else if(bottomCap && y >= 0.0) {\n // bottom cap\n t = (baba - baoc) / bard;\n if (abs(k1 + k2 * t) < h) {\n interior = false;\n intersection = vec4(t, ba * sign(y) / baba);\n return true;\n }\n }\n\n #ifdef dDoubleSided\n // body inside\n h = -h;\n t = (-k1 - h) / k2;\n y = baoc + t * bard;\n if (y > 0.0 && y < baba) {\n interior = true;\n intersection = vec4(t, (oc + t * rayDir - ba * y / baba) / radius);\n return true;\n }\n\n // TODO: handle inside caps???\n #endif\n\n return false;\n}\n\nvoid main() {\n #include clip_pixel\n\n vec3 rayDir = mix(normalize(vModelPosition - uCameraPosition), uCameraDir, uIsOrtho);\n\n vec4 intersection;\n bool interior;\n bool hit = CylinderImpostor(vModelPosition, rayDir, vStart, vEnd, vSize, intersection, interior);\n if (!hit) discard;\n\n vec3 vViewPosition = vModelPosition + intersection.x * rayDir;\n vViewPosition = (uView * vec4(vViewPosition, 1.0)).xyz;\n gl_FragDepthEXT = calcDepth(vViewPosition);\n\n // bugfix (mac only?)\n if (gl_FragDepthEXT < 0.0) discard;\n if (gl_FragDepthEXT > 1.0) discard;\n\n float fragmentDepth = gl_FragDepthEXT;\n #include assign_material_color\n\n #if defined(dRenderVariant_pick)\n #include check_picking_alpha\n gl_FragColor = material;\n #elif defined(dRenderVariant_depth)\n gl_FragColor = material;\n #elif defined(dRenderVariant_marking)\n gl_FragColor = material;\n #elif defined(dRenderVariant_color)\n #ifdef dIgnoreLight\n gl_FragColor = material;\n #else\n mat3 normalMatrix = transpose3(inverse3(mat3(uView)));\n vec3 normal = normalize(normalMatrix * -normalize(intersection.yzw));\n #include apply_light_color\n #endif\n\n #include apply_interior_color\n #include apply_marker_color\n #include apply_fog\n #include wboit_write\n #endif\n}\n";
9
+ exports.cylinders_frag = "\nprecision highp float;\nprecision highp int;\n\n#define bumpEnabled\n\nuniform mat4 uView;\n\nvarying mat4 vTransform;\nvarying vec3 vStart;\nvarying vec3 vEnd;\nvarying float vSize;\nvarying float vCap;\n\nuniform vec3 uCameraDir;\nuniform vec3 uCameraPosition;\nuniform mat4 uInvView;\n\n#include common\n#include common_frag_params\n#include color_frag_params\n#include light_frag_params\n#include common_clip\n\n// adapted from https://www.shadertoy.com/view/4lcSRn\n// The MIT License, Copyright 2016 Inigo Quilez\nbool CylinderImpostor(\n in vec3 rayOrigin, in vec3 rayDir,\n in vec3 start, in vec3 end, in float radius,\n out vec4 intersection, out bool interior\n){\n vec3 ba = end - start;\n vec3 oc = rayOrigin - start;\n\n float baba = dot(ba, ba);\n float bard = dot(ba, rayDir);\n float baoc = dot(ba, oc);\n\n float k2 = baba - bard*bard;\n float k1 = baba * dot(oc, rayDir) - baoc * bard;\n float k0 = baba * dot(oc, oc) - baoc * baoc - radius * radius * baba;\n\n float h = k1 * k1 - k2 * k0;\n if (h < 0.0) return false;\n\n bool topCap = (vCap > 0.9 && vCap < 1.1) || vCap >= 2.9;\n bool bottomCap = (vCap > 1.9 && vCap < 2.1) || vCap >= 2.9;\n\n // body outside\n h = sqrt(h);\n float t = (-k1 - h) / k2;\n float y = baoc + t * bard;\n if (y > 0.0 && y < baba) {\n interior = false;\n intersection = vec4(t, (oc + t * rayDir - ba * y / baba) / radius);\n return true;\n }\n\n if (topCap && y < 0.0) {\n // top cap\n t = -baoc / bard;\n if (abs(k1 + k2 * t) < h) {\n interior = false;\n intersection = vec4(t, ba * sign(y) / baba);\n return true;\n }\n } else if(bottomCap && y >= 0.0) {\n // bottom cap\n t = (baba - baoc) / bard;\n if (abs(k1 + k2 * t) < h) {\n interior = false;\n intersection = vec4(t, ba * sign(y) / baba);\n return true;\n }\n }\n\n if (uDoubleSided) {\n // body inside\n h = -h;\n t = (-k1 - h) / k2;\n y = baoc + t * bard;\n if (y > 0.0 && y < baba) {\n interior = true;\n intersection = vec4(t, (oc + t * rayDir - ba * y / baba) / radius);\n return true;\n }\n\n // TODO: handle inside caps???\n }\n\n return false;\n}\n\nvoid main() {\n #include clip_pixel\n\n vec3 rayDir = mix(normalize(vModelPosition - uCameraPosition), uCameraDir, uIsOrtho);\n\n vec4 intersection;\n bool interior;\n bool hit = CylinderImpostor(vModelPosition, rayDir, vStart, vEnd, vSize, intersection, interior);\n if (!hit) discard;\n\n vec3 vViewPosition = vModelPosition + intersection.x * rayDir;\n vViewPosition = (uView * vec4(vViewPosition, 1.0)).xyz;\n gl_FragDepthEXT = calcDepth(vViewPosition);\n\n vec3 vModelPosition = (uInvView * vec4(vViewPosition, 1.0)).xyz;\n\n if (gl_FragDepthEXT < 0.0) discard;\n if (gl_FragDepthEXT > 1.0) discard;\n\n float fragmentDepth = gl_FragDepthEXT;\n #include assign_material_color\n\n #if defined(dRenderVariant_pick)\n #include check_picking_alpha\n gl_FragColor = material;\n #elif defined(dRenderVariant_depth)\n gl_FragColor = material;\n #elif defined(dRenderVariant_marking)\n gl_FragColor = material;\n #elif defined(dRenderVariant_color)\n #ifdef dIgnoreLight\n gl_FragColor = material;\n #else\n mat3 normalMatrix = transpose3(inverse3(mat3(uView)));\n vec3 normal = normalize(normalMatrix * -normalize(intersection.yzw));\n #include apply_light_color\n #endif\n\n #include apply_interior_color\n #include apply_marker_color\n #include apply_fog\n #include wboit_write\n #endif\n}\n";
10
10
  //# sourceMappingURL=cylinders.frag.js.map