molstar 2.4.1 → 3.0.0-dev.4

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 (3179) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +187 -176
  3. package/build/viewer/embedded.html +43 -43
  4. package/build/viewer/index.html +95 -94
  5. package/build/viewer/molstar.css +1 -1
  6. package/build/viewer/molstar.js +1 -1
  7. package/lib/apps/docking-viewer/index.html +36 -36
  8. package/lib/apps/docking-viewer/viewport.js +18 -15
  9. package/lib/apps/viewer/embedded.html +43 -43
  10. package/lib/apps/viewer/index.html +95 -94
  11. package/lib/commonjs/apps/docking-viewer/viewport.js +18 -15
  12. package/lib/commonjs/examples/lighting/index.js +2 -1
  13. package/lib/commonjs/extensions/anvil/behavior.d.ts +7 -0
  14. package/lib/commonjs/extensions/anvil/representation.d.ts +33 -0
  15. package/lib/commonjs/extensions/cellpack/representation.d.ts +7 -0
  16. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +21 -0
  17. package/lib/commonjs/extensions/geo-export/controls.js +15 -17
  18. package/lib/commonjs/extensions/geo-export/glb-exporter.d.ts +4 -3
  19. package/lib/commonjs/extensions/geo-export/glb-exporter.js +23 -11
  20. package/lib/commonjs/extensions/geo-export/obj-exporter.js +1 -1
  21. package/lib/commonjs/extensions/geo-export/usdz-exporter.d.ts +2 -5
  22. package/lib/commonjs/extensions/geo-export/usdz-exporter.js +15 -16
  23. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +9 -2
  24. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +7 -0
  25. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +35 -0
  26. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +24 -14
  27. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +7 -0
  28. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +7 -0
  29. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +6 -0
  30. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +4 -0
  31. package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  32. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +4 -2
  33. package/lib/commonjs/mol-geo/geometry/base.d.ts +12 -2
  34. package/lib/commonjs/mol-geo/geometry/base.js +14 -4
  35. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +7 -0
  36. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +6 -2
  37. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +5 -0
  38. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js +4 -3
  39. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +5 -0
  40. package/lib/commonjs/mol-geo/geometry/image/image.js +3 -1
  41. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +5 -0
  42. package/lib/commonjs/mol-geo/geometry/lines/lines.js +3 -1
  43. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -0
  44. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +35 -1
  45. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +7 -0
  46. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +6 -2
  47. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +5 -0
  48. package/lib/commonjs/mol-geo/geometry/points/points.js +3 -1
  49. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +7 -0
  50. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +6 -2
  51. package/lib/commonjs/mol-geo/geometry/substance-data.d.ts +23 -0
  52. package/lib/commonjs/mol-geo/geometry/substance-data.js +68 -0
  53. package/lib/commonjs/mol-geo/geometry/text/text.d.ts +5 -0
  54. package/lib/commonjs/mol-geo/geometry/text/text.js +3 -1
  55. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -0
  56. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +33 -1
  57. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +7 -0
  58. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +6 -2
  59. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +36 -23
  60. package/lib/commonjs/mol-gl/renderable/cylinders.js +2 -2
  61. package/lib/commonjs/mol-gl/renderable/direct-volume.d.ts +11 -0
  62. package/lib/commonjs/mol-gl/renderable/image.d.ts +11 -0
  63. package/lib/commonjs/mol-gl/renderable/lines.d.ts +11 -0
  64. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +33 -20
  65. package/lib/commonjs/mol-gl/renderable/mesh.js +2 -2
  66. package/lib/commonjs/mol-gl/renderable/points.d.ts +11 -0
  67. package/lib/commonjs/mol-gl/renderable/points.js +1 -2
  68. package/lib/commonjs/mol-gl/renderable/schema.d.ts +25 -5
  69. package/lib/commonjs/mol-gl/renderable/schema.js +15 -11
  70. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +36 -23
  71. package/lib/commonjs/mol-gl/renderable/spheres.js +2 -2
  72. package/lib/commonjs/mol-gl/renderable/text.d.ts +11 -0
  73. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +13 -0
  74. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +1 -1
  75. package/lib/commonjs/mol-gl/renderer.d.ts +9 -15
  76. package/lib/commonjs/mol-gl/renderer.js +53 -61
  77. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +3 -3
  78. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +3 -3
  79. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  80. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  81. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  82. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  83. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  84. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  85. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  86. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  87. package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.d.ts +1 -1
  88. package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.js +1 -1
  89. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  90. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  91. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  92. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js +1 -1
  93. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +3 -3
  94. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.js +3 -3
  95. package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +1 -1
  96. package/lib/commonjs/mol-gl/shader/cylinders.frag.js +1 -1
  97. package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  98. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
  99. package/lib/commonjs/mol-gl/shader/mesh.frag.d.ts +1 -1
  100. package/lib/commonjs/mol-gl/shader/mesh.frag.js +1 -1
  101. package/lib/commonjs/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  102. package/lib/commonjs/mol-gl/shader/postprocessing.frag.js +1 -1
  103. package/lib/commonjs/mol-gl/shader/spheres.frag.d.ts +1 -1
  104. package/lib/commonjs/mol-gl/shader/spheres.frag.js +1 -1
  105. package/lib/commonjs/mol-gl/shader-code.d.ts +0 -1
  106. package/lib/commonjs/mol-gl/shader-code.js +31 -13
  107. package/lib/commonjs/mol-gl/webgl/extensions.js +2 -4
  108. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.d.ts +6 -0
  109. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js +9 -0
  110. package/lib/commonjs/mol-model/loci.d.ts +18 -18
  111. package/lib/commonjs/mol-model/structure/model/model.js +7 -3
  112. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +14 -0
  113. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +7 -0
  114. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +7 -0
  115. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +21 -0
  116. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +28 -0
  117. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
  118. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +5 -0
  119. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +4 -2
  120. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  121. package/lib/commonjs/mol-plugin/commands.d.ts +16 -7
  122. package/lib/commonjs/mol-plugin/config.d.ts +1 -0
  123. package/lib/commonjs/mol-plugin/config.js +9 -3
  124. package/lib/commonjs/mol-plugin/spec.js +1 -0
  125. package/lib/commonjs/mol-plugin/state.d.ts +8 -0
  126. package/lib/commonjs/mol-plugin/state.js +27 -17
  127. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +21 -0
  128. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.d.ts +4 -4
  129. package/lib/commonjs/mol-plugin-state/helpers/structure-substance.d.ts +13 -0
  130. package/lib/commonjs/mol-plugin-state/helpers/structure-substance.js +126 -0
  131. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +13 -2
  132. package/lib/commonjs/mol-plugin-state/manager/structure/component.js +44 -22
  133. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +82 -4
  134. package/lib/commonjs/mol-plugin-state/transforms/representation.js +120 -1
  135. package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +11 -4
  136. package/lib/commonjs/mol-plugin-ui/controls/parameters.js +22 -5
  137. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  138. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js +8 -17
  139. package/lib/commonjs/mol-plugin-ui/plugin.d.ts +1 -1
  140. package/lib/commonjs/mol-plugin-ui/plugin.js +76 -10
  141. package/lib/commonjs/mol-plugin-ui/viewport/simple-settings.js +2 -5
  142. package/lib/commonjs/mol-repr/representation.d.ts +3 -0
  143. package/lib/commonjs/mol-repr/representation.js +7 -1
  144. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +8 -1
  145. package/lib/commonjs/mol-repr/shape/loci/common.d.ts +6 -1
  146. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +8 -1
  147. package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +6 -1
  148. package/lib/commonjs/mol-repr/shape/loci/label.d.ts +6 -1
  149. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +7 -0
  150. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +7 -0
  151. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +7 -0
  152. package/lib/commonjs/mol-repr/shape/representation.js +3 -0
  153. package/lib/commonjs/mol-repr/structure/complex-representation.js +6 -0
  154. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +37 -1
  155. package/lib/commonjs/mol-repr/structure/complex-visual.js +4 -0
  156. package/lib/commonjs/mol-repr/structure/params.d.ts +49 -1
  157. package/lib/commonjs/mol-repr/structure/registry.d.ts +92 -2
  158. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +21 -0
  159. package/lib/commonjs/mol-repr/structure/representation/backbone.js +2 -1
  160. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +21 -0
  161. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.js +2 -1
  162. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +21 -0
  163. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.js +2 -1
  164. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +21 -0
  165. package/lib/commonjs/mol-repr/structure/representation/cartoon.js +2 -1
  166. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +21 -0
  167. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.js +2 -1
  168. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +21 -0
  169. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.js +2 -1
  170. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +15 -0
  171. package/lib/commonjs/mol-repr/structure/representation/label.d.ts +21 -6
  172. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +15 -0
  173. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +21 -0
  174. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.js +2 -1
  175. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +21 -0
  176. package/lib/commonjs/mol-repr/structure/representation/orientation.js +2 -1
  177. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +15 -0
  178. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +21 -0
  179. package/lib/commonjs/mol-repr/structure/representation/putty.js +2 -1
  180. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +21 -0
  181. package/lib/commonjs/mol-repr/structure/representation/spacefill.js +2 -1
  182. package/lib/commonjs/mol-repr/structure/units-representation.js +8 -2
  183. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +49 -1
  184. package/lib/commonjs/mol-repr/structure/units-visual.js +4 -0
  185. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +14 -0
  186. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +5 -0
  187. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +14 -0
  188. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +5 -0
  189. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +7 -0
  190. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +7 -0
  191. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +7 -0
  192. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +5 -0
  193. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +5 -0
  194. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +14 -0
  195. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +7 -0
  196. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +10 -0
  197. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +28 -0
  198. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +5 -0
  199. package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +8 -3
  200. package/lib/commonjs/mol-repr/structure/visual/label-text.js +2 -2
  201. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +7 -0
  202. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +5 -0
  203. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +7 -0
  204. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +7 -0
  205. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +7 -0
  206. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +14 -0
  207. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +14 -0
  208. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +7 -0
  209. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +7 -0
  210. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +7 -0
  211. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +7 -0
  212. package/lib/commonjs/mol-repr/visual.d.ts +3 -0
  213. package/lib/commonjs/mol-repr/visual.js +53 -2
  214. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +15 -0
  215. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +40 -0
  216. package/lib/commonjs/mol-repr/volume/isosurface.js +2 -1
  217. package/lib/commonjs/mol-repr/volume/registry.d.ts +17 -0
  218. package/lib/commonjs/mol-repr/volume/representation.d.ts +5 -0
  219. package/lib/commonjs/mol-repr/volume/representation.js +3 -0
  220. package/lib/commonjs/mol-repr/volume/slice.d.ts +15 -0
  221. package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
  222. package/lib/commonjs/mol-theme/color/illustrative.d.ts +2 -0
  223. package/lib/commonjs/mol-theme/color/illustrative.js +2 -2
  224. package/lib/commonjs/mol-theme/color.d.ts +1 -0
  225. package/lib/commonjs/mol-theme/overpaint.js +1 -1
  226. package/lib/commonjs/mol-theme/substance.d.ts +43 -0
  227. package/lib/commonjs/mol-theme/substance.js +141 -0
  228. package/lib/commonjs/mol-util/material.d.ts +33 -0
  229. package/lib/commonjs/mol-util/material.js +43 -0
  230. package/lib/commonjs/mol-util/number.d.ts +1 -0
  231. package/lib/commonjs/mol-util/number.js +5 -1
  232. package/lib/commonjs/mol-util/param-definition.d.ts +2 -0
  233. package/lib/commonjs/mol-util/param-definition.js +2 -0
  234. package/lib/examples/alpha-orbitals/index.html +60 -60
  235. package/lib/examples/basic-wrapper/index.html +136 -136
  236. package/lib/examples/lighting/index.html +86 -86
  237. package/lib/examples/lighting/index.js +2 -1
  238. package/lib/examples/proteopedia-wrapper/index.html +235 -235
  239. package/lib/extensions/anvil/behavior.d.ts +7 -0
  240. package/lib/extensions/anvil/representation.d.ts +33 -0
  241. package/lib/extensions/cellpack/representation.d.ts +7 -0
  242. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +21 -0
  243. package/lib/extensions/geo-export/controls.js +15 -17
  244. package/lib/extensions/geo-export/glb-exporter.d.ts +4 -3
  245. package/lib/extensions/geo-export/glb-exporter.js +23 -11
  246. package/lib/extensions/geo-export/obj-exporter.js +1 -1
  247. package/lib/extensions/geo-export/usdz-exporter.d.ts +2 -5
  248. package/lib/extensions/geo-export/usdz-exporter.js +15 -16
  249. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +9 -2
  250. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +7 -0
  251. package/lib/extensions/rcsb/validation-report/representation.d.ts +35 -0
  252. package/lib/mol-canvas3d/canvas3d.d.ts +24 -14
  253. package/lib/mol-canvas3d/helper/camera-helper.d.ts +7 -0
  254. package/lib/mol-canvas3d/helper/handle-helper.d.ts +7 -0
  255. package/lib/mol-canvas3d/helper/helper.d.ts +6 -0
  256. package/lib/mol-canvas3d/passes/image.d.ts +4 -0
  257. package/lib/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  258. package/lib/mol-canvas3d/passes/postprocessing.js +4 -2
  259. package/lib/mol-geo/geometry/base.d.ts +12 -2
  260. package/lib/mol-geo/geometry/base.js +14 -4
  261. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +7 -0
  262. package/lib/mol-geo/geometry/cylinders/cylinders.js +6 -2
  263. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +5 -0
  264. package/lib/mol-geo/geometry/direct-volume/direct-volume.js +4 -3
  265. package/lib/mol-geo/geometry/image/image.d.ts +5 -0
  266. package/lib/mol-geo/geometry/image/image.js +3 -1
  267. package/lib/mol-geo/geometry/lines/lines.d.ts +5 -0
  268. package/lib/mol-geo/geometry/lines/lines.js +3 -1
  269. package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -0
  270. package/lib/mol-geo/geometry/mesh/color-smoothing.js +33 -0
  271. package/lib/mol-geo/geometry/mesh/mesh.d.ts +7 -0
  272. package/lib/mol-geo/geometry/mesh/mesh.js +6 -2
  273. package/lib/mol-geo/geometry/points/points.d.ts +5 -0
  274. package/lib/mol-geo/geometry/points/points.js +3 -1
  275. package/lib/mol-geo/geometry/spheres/spheres.d.ts +7 -0
  276. package/lib/mol-geo/geometry/spheres/spheres.js +6 -2
  277. package/lib/mol-geo/geometry/substance-data.d.ts +23 -0
  278. package/lib/mol-geo/geometry/substance-data.js +61 -0
  279. package/lib/mol-geo/geometry/text/text.d.ts +5 -0
  280. package/lib/mol-geo/geometry/text/text.js +3 -1
  281. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -0
  282. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +31 -0
  283. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +7 -0
  284. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +6 -2
  285. package/lib/mol-gl/renderable/cylinders.d.ts +36 -23
  286. package/lib/mol-gl/renderable/cylinders.js +3 -3
  287. package/lib/mol-gl/renderable/direct-volume.d.ts +11 -0
  288. package/lib/mol-gl/renderable/image.d.ts +11 -0
  289. package/lib/mol-gl/renderable/lines.d.ts +11 -0
  290. package/lib/mol-gl/renderable/mesh.d.ts +33 -20
  291. package/lib/mol-gl/renderable/mesh.js +3 -3
  292. package/lib/mol-gl/renderable/points.d.ts +11 -0
  293. package/lib/mol-gl/renderable/points.js +1 -2
  294. package/lib/mol-gl/renderable/schema.d.ts +25 -5
  295. package/lib/mol-gl/renderable/schema.js +14 -10
  296. package/lib/mol-gl/renderable/spheres.d.ts +36 -23
  297. package/lib/mol-gl/renderable/spheres.js +3 -3
  298. package/lib/mol-gl/renderable/text.d.ts +11 -0
  299. package/lib/mol-gl/renderable/texture-mesh.d.ts +13 -0
  300. package/lib/mol-gl/renderable/texture-mesh.js +1 -1
  301. package/lib/mol-gl/renderer.d.ts +9 -15
  302. package/lib/mol-gl/renderer.js +52 -59
  303. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +3 -3
  304. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +3 -3
  305. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  306. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  307. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  308. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  309. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  310. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  311. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  312. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  313. package/lib/mol-gl/shader/chunks/common-clip.glsl.d.ts +1 -1
  314. package/lib/mol-gl/shader/chunks/common-clip.glsl.js +1 -1
  315. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  316. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  317. package/lib/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  318. package/lib/mol-gl/shader/chunks/common.glsl.js +1 -1
  319. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +3 -3
  320. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.js +3 -3
  321. package/lib/mol-gl/shader/cylinders.frag.d.ts +1 -1
  322. package/lib/mol-gl/shader/cylinders.frag.js +1 -1
  323. package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  324. package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
  325. package/lib/mol-gl/shader/mesh.frag.d.ts +1 -1
  326. package/lib/mol-gl/shader/mesh.frag.js +1 -1
  327. package/lib/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  328. package/lib/mol-gl/shader/postprocessing.frag.js +1 -1
  329. package/lib/mol-gl/shader/spheres.frag.d.ts +1 -1
  330. package/lib/mol-gl/shader/spheres.frag.js +1 -1
  331. package/lib/mol-gl/shader-code.d.ts +0 -1
  332. package/lib/mol-gl/shader-code.js +31 -13
  333. package/lib/mol-gl/webgl/extensions.js +2 -4
  334. package/lib/mol-math/linear-algebra/3d/vec3.d.ts +6 -0
  335. package/lib/mol-math/linear-algebra/3d/vec3.js +9 -0
  336. package/lib/mol-model/loci.d.ts +18 -18
  337. package/lib/mol-model/structure/model/model.js +7 -3
  338. package/lib/mol-model-formats/shape/ply.d.ts +14 -0
  339. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +7 -0
  340. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +7 -0
  341. package/lib/mol-model-props/computed/representations/interactions.d.ts +21 -0
  342. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +28 -0
  343. package/lib/mol-plugin/behavior/dynamic/representation.d.ts +2 -2
  344. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +5 -0
  345. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js +4 -2
  346. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  347. package/lib/mol-plugin/commands.d.ts +16 -7
  348. package/lib/mol-plugin/config.d.ts +1 -0
  349. package/lib/mol-plugin/config.js +8 -3
  350. package/lib/mol-plugin/spec.js +1 -0
  351. package/lib/mol-plugin/state.d.ts +8 -0
  352. package/lib/mol-plugin/state.js +27 -17
  353. package/lib/mol-plugin/util/viewport-screenshot.d.ts +21 -0
  354. package/lib/mol-plugin/version.js +2 -2
  355. package/lib/mol-plugin-state/builder/structure/representation-preset.d.ts +4 -4
  356. package/lib/mol-plugin-state/helpers/structure-substance.d.ts +13 -0
  357. package/lib/mol-plugin-state/helpers/structure-substance.js +121 -0
  358. package/lib/mol-plugin-state/manager/structure/component.d.ts +13 -2
  359. package/lib/mol-plugin-state/manager/structure/component.js +44 -22
  360. package/lib/mol-plugin-state/transforms/representation.d.ts +82 -4
  361. package/lib/mol-plugin-state/transforms/representation.js +119 -0
  362. package/lib/mol-plugin-ui/controls/parameters.d.ts +11 -4
  363. package/lib/mol-plugin-ui/controls/parameters.js +23 -6
  364. package/lib/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  365. package/lib/mol-plugin-ui/hooks/use-behavior.js +9 -18
  366. package/lib/mol-plugin-ui/plugin.d.ts +1 -1
  367. package/lib/mol-plugin-ui/plugin.js +76 -10
  368. package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
  369. package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
  370. package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
  371. package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
  372. package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
  373. package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
  374. package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -616
  375. package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
  376. package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
  377. package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
  378. package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
  379. package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
  380. package/lib/mol-plugin-ui/skin/base/components/viewport.scss +127 -127
  381. package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
  382. package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
  383. package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
  384. package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
  385. package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
  386. package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
  387. package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
  388. package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
  389. package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
  390. package/lib/mol-plugin-ui/skin/blue.scss +1 -1
  391. package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
  392. package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
  393. package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
  394. package/lib/mol-plugin-ui/skin/dark.scss +1 -1
  395. package/lib/mol-plugin-ui/skin/light.scss +1 -1
  396. package/lib/mol-plugin-ui/viewport/simple-settings.js +2 -5
  397. package/lib/mol-repr/representation.d.ts +3 -0
  398. package/lib/mol-repr/representation.js +7 -1
  399. package/lib/mol-repr/shape/loci/angle.d.ts +8 -1
  400. package/lib/mol-repr/shape/loci/common.d.ts +6 -1
  401. package/lib/mol-repr/shape/loci/dihedral.d.ts +8 -1
  402. package/lib/mol-repr/shape/loci/distance.d.ts +6 -1
  403. package/lib/mol-repr/shape/loci/label.d.ts +6 -1
  404. package/lib/mol-repr/shape/loci/orientation.d.ts +7 -0
  405. package/lib/mol-repr/shape/loci/plane.d.ts +7 -0
  406. package/lib/mol-repr/shape/model/unitcell.d.ts +7 -0
  407. package/lib/mol-repr/shape/representation.js +3 -0
  408. package/lib/mol-repr/structure/complex-representation.js +6 -0
  409. package/lib/mol-repr/structure/complex-visual.d.ts +37 -1
  410. package/lib/mol-repr/structure/complex-visual.js +4 -0
  411. package/lib/mol-repr/structure/params.d.ts +49 -1
  412. package/lib/mol-repr/structure/registry.d.ts +92 -2
  413. package/lib/mol-repr/structure/representation/backbone.d.ts +21 -0
  414. package/lib/mol-repr/structure/representation/backbone.js +2 -1
  415. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +21 -0
  416. package/lib/mol-repr/structure/representation/ball-and-stick.js +2 -1
  417. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +21 -0
  418. package/lib/mol-repr/structure/representation/carbohydrate.js +2 -1
  419. package/lib/mol-repr/structure/representation/cartoon.d.ts +21 -0
  420. package/lib/mol-repr/structure/representation/cartoon.js +2 -1
  421. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +21 -0
  422. package/lib/mol-repr/structure/representation/ellipsoid.js +2 -1
  423. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +21 -0
  424. package/lib/mol-repr/structure/representation/gaussian-surface.js +2 -1
  425. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +15 -0
  426. package/lib/mol-repr/structure/representation/label.d.ts +21 -6
  427. package/lib/mol-repr/structure/representation/line.d.ts +15 -0
  428. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +21 -0
  429. package/lib/mol-repr/structure/representation/molecular-surface.js +2 -1
  430. package/lib/mol-repr/structure/representation/orientation.d.ts +21 -0
  431. package/lib/mol-repr/structure/representation/orientation.js +2 -1
  432. package/lib/mol-repr/structure/representation/point.d.ts +15 -0
  433. package/lib/mol-repr/structure/representation/putty.d.ts +21 -0
  434. package/lib/mol-repr/structure/representation/putty.js +2 -1
  435. package/lib/mol-repr/structure/representation/spacefill.d.ts +21 -0
  436. package/lib/mol-repr/structure/representation/spacefill.js +2 -1
  437. package/lib/mol-repr/structure/units-representation.js +8 -2
  438. package/lib/mol-repr/structure/units-visual.d.ts +49 -1
  439. package/lib/mol-repr/structure/units-visual.js +4 -0
  440. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +14 -0
  441. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +5 -0
  442. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +14 -0
  443. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +5 -0
  444. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +7 -0
  445. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +7 -0
  446. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +7 -0
  447. package/lib/mol-repr/structure/visual/element-cross.d.ts +5 -0
  448. package/lib/mol-repr/structure/visual/element-point.d.ts +5 -0
  449. package/lib/mol-repr/structure/visual/element-sphere.d.ts +14 -0
  450. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +7 -0
  451. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +10 -0
  452. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +28 -0
  453. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +5 -0
  454. package/lib/mol-repr/structure/visual/label-text.d.ts +8 -3
  455. package/lib/mol-repr/structure/visual/label-text.js +2 -2
  456. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +7 -0
  457. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +5 -0
  458. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +7 -0
  459. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +7 -0
  460. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +7 -0
  461. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +14 -0
  462. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +14 -0
  463. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +7 -0
  464. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +7 -0
  465. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +7 -0
  466. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +7 -0
  467. package/lib/mol-repr/visual.d.ts +3 -0
  468. package/lib/mol-repr/visual.js +55 -4
  469. package/lib/mol-repr/volume/direct-volume.d.ts +15 -0
  470. package/lib/mol-repr/volume/isosurface.d.ts +40 -0
  471. package/lib/mol-repr/volume/isosurface.js +2 -1
  472. package/lib/mol-repr/volume/registry.d.ts +17 -0
  473. package/lib/mol-repr/volume/representation.d.ts +5 -0
  474. package/lib/mol-repr/volume/representation.js +3 -0
  475. package/lib/mol-repr/volume/slice.d.ts +15 -0
  476. package/lib/mol-script/language/builder.d.ts +1 -0
  477. package/lib/mol-theme/color/illustrative.d.ts +2 -0
  478. package/lib/mol-theme/color/illustrative.js +2 -2
  479. package/lib/mol-theme/color.d.ts +1 -0
  480. package/lib/mol-theme/overpaint.js +1 -1
  481. package/lib/mol-theme/substance.d.ts +43 -0
  482. package/lib/mol-theme/substance.js +137 -0
  483. package/lib/mol-util/material.d.ts +33 -0
  484. package/lib/mol-util/material.js +39 -0
  485. package/lib/mol-util/number.d.ts +1 -0
  486. package/lib/mol-util/number.js +3 -0
  487. package/lib/mol-util/param-definition.d.ts +2 -0
  488. package/lib/mol-util/param-definition.js +2 -0
  489. package/package.json +162 -158
  490. package/lib/apps/docking-viewer/index.js.map +0 -1
  491. package/lib/apps/docking-viewer/viewport.js.map +0 -1
  492. package/lib/apps/viewer/index.js.map +0 -1
  493. package/lib/cli/chem-comp-dict/create-ions.js.map +0 -1
  494. package/lib/cli/chem-comp-dict/create-table.js.map +0 -1
  495. package/lib/cli/chem-comp-dict/util.js.map +0 -1
  496. package/lib/cli/cif2bcif/converter.js.map +0 -1
  497. package/lib/cli/cif2bcif/index.js.map +0 -1
  498. package/lib/cli/cifschema/index.js.map +0 -1
  499. package/lib/cli/cifschema/util/cif-dic.js.map +0 -1
  500. package/lib/cli/cifschema/util/generate.js.map +0 -1
  501. package/lib/cli/cifschema/util/helper.js.map +0 -1
  502. package/lib/cli/cifschema/util/schema.js.map +0 -1
  503. package/lib/cli/lipid-params/index.js.map +0 -1
  504. package/lib/cli/state-docs/index.js.map +0 -1
  505. package/lib/cli/state-docs/pd-to-md.js.map +0 -1
  506. package/lib/cli/structure-info/helpers.js.map +0 -1
  507. package/lib/cli/structure-info/model.js.map +0 -1
  508. package/lib/cli/structure-info/volume.js.map +0 -1
  509. package/lib/commonjs/apps/docking-viewer/index.js.map +0 -1
  510. package/lib/commonjs/apps/docking-viewer/viewport.js.map +0 -1
  511. package/lib/commonjs/apps/viewer/index.js.map +0 -1
  512. package/lib/commonjs/cli/chem-comp-dict/create-ions.js.map +0 -1
  513. package/lib/commonjs/cli/chem-comp-dict/create-table.js.map +0 -1
  514. package/lib/commonjs/cli/chem-comp-dict/util.js.map +0 -1
  515. package/lib/commonjs/cli/cif2bcif/converter.js.map +0 -1
  516. package/lib/commonjs/cli/cif2bcif/index.js.map +0 -1
  517. package/lib/commonjs/cli/cifschema/index.js.map +0 -1
  518. package/lib/commonjs/cli/cifschema/util/cif-dic.js.map +0 -1
  519. package/lib/commonjs/cli/cifschema/util/generate.js.map +0 -1
  520. package/lib/commonjs/cli/cifschema/util/helper.js.map +0 -1
  521. package/lib/commonjs/cli/cifschema/util/schema.js.map +0 -1
  522. package/lib/commonjs/cli/lipid-params/index.js.map +0 -1
  523. package/lib/commonjs/cli/state-docs/index.js.map +0 -1
  524. package/lib/commonjs/cli/state-docs/pd-to-md.js.map +0 -1
  525. package/lib/commonjs/cli/structure-info/helpers.js.map +0 -1
  526. package/lib/commonjs/cli/structure-info/model.js.map +0 -1
  527. package/lib/commonjs/cli/structure-info/volume.js.map +0 -1
  528. package/lib/commonjs/examples/alpha-orbitals/controls.js.map +0 -1
  529. package/lib/commonjs/examples/alpha-orbitals/example-data.js.map +0 -1
  530. package/lib/commonjs/examples/alpha-orbitals/index.js.map +0 -1
  531. package/lib/commonjs/examples/basic-wrapper/coloring.js.map +0 -1
  532. package/lib/commonjs/examples/basic-wrapper/controls.js.map +0 -1
  533. package/lib/commonjs/examples/basic-wrapper/custom-theme.js.map +0 -1
  534. package/lib/commonjs/examples/basic-wrapper/index.js.map +0 -1
  535. package/lib/commonjs/examples/basic-wrapper/superposition.js.map +0 -1
  536. package/lib/commonjs/examples/domain-annotation-server/mapping.js.map +0 -1
  537. package/lib/commonjs/examples/domain-annotation-server/schemas.js.map +0 -1
  538. package/lib/commonjs/examples/domain-annotation-server/server.js.map +0 -1
  539. package/lib/commonjs/examples/domain-annotation-server/test.js.map +0 -1
  540. package/lib/commonjs/examples/lighting/index.js.map +0 -1
  541. package/lib/commonjs/examples/proteopedia-wrapper/annotation.js.map +0 -1
  542. package/lib/commonjs/examples/proteopedia-wrapper/coloring.js.map +0 -1
  543. package/lib/commonjs/examples/proteopedia-wrapper/helpers.js.map +0 -1
  544. package/lib/commonjs/examples/proteopedia-wrapper/index.js.map +0 -1
  545. package/lib/commonjs/examples/proteopedia-wrapper/ui/controls.js.map +0 -1
  546. package/lib/commonjs/examples/task.js.map +0 -1
  547. package/lib/commonjs/extensions/alpha-orbitals/_spec/collocation.spec.d.ts +0 -6
  548. package/lib/commonjs/extensions/alpha-orbitals/_spec/collocation.spec.js +0 -219
  549. package/lib/commonjs/extensions/alpha-orbitals/_spec/collocation.spec.js.map +0 -1
  550. package/lib/commonjs/extensions/alpha-orbitals/collocation.js.map +0 -1
  551. package/lib/commonjs/extensions/alpha-orbitals/data-model.js.map +0 -1
  552. package/lib/commonjs/extensions/alpha-orbitals/density.js.map +0 -1
  553. package/lib/commonjs/extensions/alpha-orbitals/gpu/compute.js.map +0 -1
  554. package/lib/commonjs/extensions/alpha-orbitals/gpu/shader.frag.js.map +0 -1
  555. package/lib/commonjs/extensions/alpha-orbitals/orbitals.js.map +0 -1
  556. package/lib/commonjs/extensions/alpha-orbitals/spherical-functions.js.map +0 -1
  557. package/lib/commonjs/extensions/alpha-orbitals/transforms.js.map +0 -1
  558. package/lib/commonjs/extensions/anvil/algorithm.js.map +0 -1
  559. package/lib/commonjs/extensions/anvil/behavior.js.map +0 -1
  560. package/lib/commonjs/extensions/anvil/prop.js.map +0 -1
  561. package/lib/commonjs/extensions/anvil/representation.js.map +0 -1
  562. package/lib/commonjs/extensions/cellpack/color/generate.js.map +0 -1
  563. package/lib/commonjs/extensions/cellpack/color/provided.js.map +0 -1
  564. package/lib/commonjs/extensions/cellpack/curve.js.map +0 -1
  565. package/lib/commonjs/extensions/cellpack/data.js.map +0 -1
  566. package/lib/commonjs/extensions/cellpack/index.js.map +0 -1
  567. package/lib/commonjs/extensions/cellpack/model.js.map +0 -1
  568. package/lib/commonjs/extensions/cellpack/preset.js.map +0 -1
  569. package/lib/commonjs/extensions/cellpack/property.js.map +0 -1
  570. package/lib/commonjs/extensions/cellpack/representation.js.map +0 -1
  571. package/lib/commonjs/extensions/cellpack/state.js.map +0 -1
  572. package/lib/commonjs/extensions/cellpack/util.js.map +0 -1
  573. package/lib/commonjs/extensions/dnatco/confal-pyramids/behavior.js.map +0 -1
  574. package/lib/commonjs/extensions/dnatco/confal-pyramids/color.js.map +0 -1
  575. package/lib/commonjs/extensions/dnatco/confal-pyramids/property.js.map +0 -1
  576. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.js.map +0 -1
  577. package/lib/commonjs/extensions/dnatco/confal-pyramids/types.js.map +0 -1
  578. package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js.map +0 -1
  579. package/lib/commonjs/extensions/dnatco/index.js.map +0 -1
  580. package/lib/commonjs/extensions/g3d/data.js.map +0 -1
  581. package/lib/commonjs/extensions/g3d/format.js.map +0 -1
  582. package/lib/commonjs/extensions/g3d/model.js.map +0 -1
  583. package/lib/commonjs/extensions/geo-export/controls.js.map +0 -1
  584. package/lib/commonjs/extensions/geo-export/glb-exporter.js.map +0 -1
  585. package/lib/commonjs/extensions/geo-export/index.js.map +0 -1
  586. package/lib/commonjs/extensions/geo-export/mesh-exporter.js.map +0 -1
  587. package/lib/commonjs/extensions/geo-export/obj-exporter.js.map +0 -1
  588. package/lib/commonjs/extensions/geo-export/render-object-exporter.js.map +0 -1
  589. package/lib/commonjs/extensions/geo-export/stl-exporter.js.map +0 -1
  590. package/lib/commonjs/extensions/geo-export/ui.js.map +0 -1
  591. package/lib/commonjs/extensions/geo-export/usdz-exporter.js.map +0 -1
  592. package/lib/commonjs/extensions/mp4-export/controls.js.map +0 -1
  593. package/lib/commonjs/extensions/mp4-export/encoder.js.map +0 -1
  594. package/lib/commonjs/extensions/mp4-export/index.js.map +0 -1
  595. package/lib/commonjs/extensions/mp4-export/ui.js.map +0 -1
  596. package/lib/commonjs/extensions/pdbe/index.js.map +0 -1
  597. package/lib/commonjs/extensions/pdbe/preferred-assembly.js.map +0 -1
  598. package/lib/commonjs/extensions/pdbe/struct-ref-domain.js.map +0 -1
  599. package/lib/commonjs/extensions/pdbe/structure-quality-report/behavior.js.map +0 -1
  600. package/lib/commonjs/extensions/pdbe/structure-quality-report/color.js.map +0 -1
  601. package/lib/commonjs/extensions/pdbe/structure-quality-report/prop.js.map +0 -1
  602. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.js.map +0 -1
  603. package/lib/commonjs/extensions/rcsb/assembly-symmetry/color.js.map +0 -1
  604. package/lib/commonjs/extensions/rcsb/assembly-symmetry/prop.js.map +0 -1
  605. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.js.map +0 -1
  606. package/lib/commonjs/extensions/rcsb/assembly-symmetry/ui.js.map +0 -1
  607. package/lib/commonjs/extensions/rcsb/graphql/symmetry.gql.js.map +0 -1
  608. package/lib/commonjs/extensions/rcsb/graphql/types.js.map +0 -1
  609. package/lib/commonjs/extensions/rcsb/index.js.map +0 -1
  610. package/lib/commonjs/extensions/rcsb/validation-report/behavior.js.map +0 -1
  611. package/lib/commonjs/extensions/rcsb/validation-report/color/density-fit.js.map +0 -1
  612. package/lib/commonjs/extensions/rcsb/validation-report/color/geometry-quality.js.map +0 -1
  613. package/lib/commonjs/extensions/rcsb/validation-report/color/random-coil-index.js.map +0 -1
  614. package/lib/commonjs/extensions/rcsb/validation-report/prop.js.map +0 -1
  615. package/lib/commonjs/extensions/rcsb/validation-report/representation.js.map +0 -1
  616. package/lib/commonjs/mol-canvas3d/camera/stereo.js.map +0 -1
  617. package/lib/commonjs/mol-canvas3d/camera/transition.js.map +0 -1
  618. package/lib/commonjs/mol-canvas3d/camera/util.js.map +0 -1
  619. package/lib/commonjs/mol-canvas3d/camera.js.map +0 -1
  620. package/lib/commonjs/mol-canvas3d/canvas3d.js.map +0 -1
  621. package/lib/commonjs/mol-canvas3d/controls/object.js.map +0 -1
  622. package/lib/commonjs/mol-canvas3d/controls/trackball.js.map +0 -1
  623. package/lib/commonjs/mol-canvas3d/helper/bounding-sphere-helper.js.map +0 -1
  624. package/lib/commonjs/mol-canvas3d/helper/camera-helper.js.map +0 -1
  625. package/lib/commonjs/mol-canvas3d/helper/handle-helper.js.map +0 -1
  626. package/lib/commonjs/mol-canvas3d/helper/helper.js.map +0 -1
  627. package/lib/commonjs/mol-canvas3d/helper/interaction-events.js.map +0 -1
  628. package/lib/commonjs/mol-canvas3d/passes/draw.js.map +0 -1
  629. package/lib/commonjs/mol-canvas3d/passes/fxaa.js.map +0 -1
  630. package/lib/commonjs/mol-canvas3d/passes/image.js.map +0 -1
  631. package/lib/commonjs/mol-canvas3d/passes/marking.js.map +0 -1
  632. package/lib/commonjs/mol-canvas3d/passes/multi-sample.js.map +0 -1
  633. package/lib/commonjs/mol-canvas3d/passes/passes.js.map +0 -1
  634. package/lib/commonjs/mol-canvas3d/passes/pick.js.map +0 -1
  635. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js.map +0 -1
  636. package/lib/commonjs/mol-canvas3d/passes/smaa.js.map +0 -1
  637. package/lib/commonjs/mol-canvas3d/passes/wboit.js.map +0 -1
  638. package/lib/commonjs/mol-canvas3d/util.js.map +0 -1
  639. package/lib/commonjs/mol-data/_spec/equiv-index.spec.d.ts +0 -6
  640. package/lib/commonjs/mol-data/_spec/equiv-index.spec.js +0 -19
  641. package/lib/commonjs/mol-data/_spec/equiv-index.spec.js.map +0 -1
  642. package/lib/commonjs/mol-data/_spec/iterators.spec.d.ts +0 -6
  643. package/lib/commonjs/mol-data/_spec/iterators.spec.js +0 -30
  644. package/lib/commonjs/mol-data/_spec/iterators.spec.js.map +0 -1
  645. package/lib/commonjs/mol-data/_spec/sort.spec.d.ts +0 -6
  646. package/lib/commonjs/mol-data/_spec/sort.spec.js +0 -90
  647. package/lib/commonjs/mol-data/_spec/sort.spec.js.map +0 -1
  648. package/lib/commonjs/mol-data/db/_spec/table.spec.d.ts +0 -7
  649. package/lib/commonjs/mol-data/db/_spec/table.spec.js +0 -118
  650. package/lib/commonjs/mol-data/db/_spec/table.spec.js.map +0 -1
  651. package/lib/commonjs/mol-data/db/column-helpers.js.map +0 -1
  652. package/lib/commonjs/mol-data/db/column.js.map +0 -1
  653. package/lib/commonjs/mol-data/db/database.js.map +0 -1
  654. package/lib/commonjs/mol-data/db/table.js.map +0 -1
  655. package/lib/commonjs/mol-data/db.js.map +0 -1
  656. package/lib/commonjs/mol-data/generic/_spec/linked-list.spec.d.ts +0 -6
  657. package/lib/commonjs/mol-data/generic/_spec/linked-list.spec.js +0 -60
  658. package/lib/commonjs/mol-data/generic/_spec/linked-list.spec.js.map +0 -1
  659. package/lib/commonjs/mol-data/generic/hash-set.js.map +0 -1
  660. package/lib/commonjs/mol-data/generic/linked-list.js.map +0 -1
  661. package/lib/commonjs/mol-data/generic/unique-array.js.map +0 -1
  662. package/lib/commonjs/mol-data/generic.js.map +0 -1
  663. package/lib/commonjs/mol-data/index.js.map +0 -1
  664. package/lib/commonjs/mol-data/int/_spec/interval.spec.d.ts +0 -6
  665. package/lib/commonjs/mol-data/int/_spec/interval.spec.js +0 -67
  666. package/lib/commonjs/mol-data/int/_spec/interval.spec.js.map +0 -1
  667. package/lib/commonjs/mol-data/int/_spec/linked-index.spec.d.ts +0 -6
  668. package/lib/commonjs/mol-data/int/_spec/linked-index.spec.js +0 -47
  669. package/lib/commonjs/mol-data/int/_spec/linked-index.spec.js.map +0 -1
  670. package/lib/commonjs/mol-data/int/_spec/ordered-set.spec.d.ts +0 -6
  671. package/lib/commonjs/mol-data/int/_spec/ordered-set.spec.js +0 -172
  672. package/lib/commonjs/mol-data/int/_spec/ordered-set.spec.js.map +0 -1
  673. package/lib/commonjs/mol-data/int/_spec/segmentation.spec.d.ts +0 -6
  674. package/lib/commonjs/mol-data/int/_spec/segmentation.spec.js +0 -112
  675. package/lib/commonjs/mol-data/int/_spec/segmentation.spec.js.map +0 -1
  676. package/lib/commonjs/mol-data/int/_spec/sorted-array.spec.d.ts +0 -6
  677. package/lib/commonjs/mol-data/int/_spec/sorted-array.spec.js +0 -85
  678. package/lib/commonjs/mol-data/int/_spec/sorted-array.spec.js.map +0 -1
  679. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.d.ts +0 -6
  680. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js +0 -43
  681. package/lib/commonjs/mol-data/int/_spec/sorted-ranges.spec.js.map +0 -1
  682. package/lib/commonjs/mol-data/int/_spec/tuple.spec.d.ts +0 -6
  683. package/lib/commonjs/mol-data/int/_spec/tuple.spec.js +0 -20
  684. package/lib/commonjs/mol-data/int/_spec/tuple.spec.js.map +0 -1
  685. package/lib/commonjs/mol-data/int/impl/interval.js.map +0 -1
  686. package/lib/commonjs/mol-data/int/impl/ordered-set.js.map +0 -1
  687. package/lib/commonjs/mol-data/int/impl/segmentation.js.map +0 -1
  688. package/lib/commonjs/mol-data/int/impl/sorted-array.js.map +0 -1
  689. package/lib/commonjs/mol-data/int/interval.js.map +0 -1
  690. package/lib/commonjs/mol-data/int/linked-index.js.map +0 -1
  691. package/lib/commonjs/mol-data/int/map.js.map +0 -1
  692. package/lib/commonjs/mol-data/int/ordered-set.js.map +0 -1
  693. package/lib/commonjs/mol-data/int/segmentation.js.map +0 -1
  694. package/lib/commonjs/mol-data/int/sorted-array.js.map +0 -1
  695. package/lib/commonjs/mol-data/int/sorted-ranges.js.map +0 -1
  696. package/lib/commonjs/mol-data/int/tuple.js.map +0 -1
  697. package/lib/commonjs/mol-data/int.js.map +0 -1
  698. package/lib/commonjs/mol-data/iterator.js.map +0 -1
  699. package/lib/commonjs/mol-data/util/_spec/buckets.spec.d.ts +0 -6
  700. package/lib/commonjs/mol-data/util/_spec/buckets.spec.js +0 -40
  701. package/lib/commonjs/mol-data/util/_spec/buckets.spec.js.map +0 -1
  702. package/lib/commonjs/mol-data/util/_spec/chunked-array.spec.d.ts +0 -6
  703. package/lib/commonjs/mol-data/util/_spec/chunked-array.spec.js +0 -48
  704. package/lib/commonjs/mol-data/util/_spec/chunked-array.spec.js.map +0 -1
  705. package/lib/commonjs/mol-data/util/_spec/combination.spec.d.ts +0 -6
  706. package/lib/commonjs/mol-data/util/_spec/combination.spec.js +0 -27
  707. package/lib/commonjs/mol-data/util/_spec/combination.spec.js.map +0 -1
  708. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.d.ts +0 -6
  709. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js +0 -28
  710. package/lib/commonjs/mol-data/util/_spec/interval-iterator.spec.js.map +0 -1
  711. package/lib/commonjs/mol-data/util/array.js.map +0 -1
  712. package/lib/commonjs/mol-data/util/buckets.js.map +0 -1
  713. package/lib/commonjs/mol-data/util/chunked-array.js.map +0 -1
  714. package/lib/commonjs/mol-data/util/combination.js.map +0 -1
  715. package/lib/commonjs/mol-data/util/equivalence-classes.js.map +0 -1
  716. package/lib/commonjs/mol-data/util/grouping.js.map +0 -1
  717. package/lib/commonjs/mol-data/util/hash-functions.js.map +0 -1
  718. package/lib/commonjs/mol-data/util/interval-iterator.js.map +0 -1
  719. package/lib/commonjs/mol-data/util/sort.js.map +0 -1
  720. package/lib/commonjs/mol-data/util.js.map +0 -1
  721. package/lib/commonjs/mol-geo/geometry/base.js.map +0 -1
  722. package/lib/commonjs/mol-geo/geometry/clipping-data.js.map +0 -1
  723. package/lib/commonjs/mol-geo/geometry/color-data.js.map +0 -1
  724. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders-builder.js.map +0 -1
  725. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js.map +0 -1
  726. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.js.map +0 -1
  727. package/lib/commonjs/mol-geo/geometry/direct-volume/transfer-function.js.map +0 -1
  728. package/lib/commonjs/mol-geo/geometry/geometry.js.map +0 -1
  729. package/lib/commonjs/mol-geo/geometry/image/image.js.map +0 -1
  730. package/lib/commonjs/mol-geo/geometry/lines/lines-builder.js.map +0 -1
  731. package/lib/commonjs/mol-geo/geometry/lines/lines.js.map +0 -1
  732. package/lib/commonjs/mol-geo/geometry/marker-data.js.map +0 -1
  733. package/lib/commonjs/mol-geo/geometry/mesh/builder/axes.js.map +0 -1
  734. package/lib/commonjs/mol-geo/geometry/mesh/builder/box.js.map +0 -1
  735. package/lib/commonjs/mol-geo/geometry/mesh/builder/cylinder.js.map +0 -1
  736. package/lib/commonjs/mol-geo/geometry/mesh/builder/ellipsoid.js.map +0 -1
  737. package/lib/commonjs/mol-geo/geometry/mesh/builder/ribbon.js.map +0 -1
  738. package/lib/commonjs/mol-geo/geometry/mesh/builder/sheet.js.map +0 -1
  739. package/lib/commonjs/mol-geo/geometry/mesh/builder/sphere.js.map +0 -1
  740. package/lib/commonjs/mol-geo/geometry/mesh/builder/tube.js.map +0 -1
  741. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js.map +0 -1
  742. package/lib/commonjs/mol-geo/geometry/mesh/laplacian-smoothing.js.map +0 -1
  743. package/lib/commonjs/mol-geo/geometry/mesh/mesh-builder.js.map +0 -1
  744. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js.map +0 -1
  745. package/lib/commonjs/mol-geo/geometry/overpaint-data.js.map +0 -1
  746. package/lib/commonjs/mol-geo/geometry/picking.js.map +0 -1
  747. package/lib/commonjs/mol-geo/geometry/points/points-builder.js.map +0 -1
  748. package/lib/commonjs/mol-geo/geometry/points/points.js.map +0 -1
  749. package/lib/commonjs/mol-geo/geometry/size-data.js.map +0 -1
  750. package/lib/commonjs/mol-geo/geometry/spheres/spheres-builder.js.map +0 -1
  751. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js.map +0 -1
  752. package/lib/commonjs/mol-geo/geometry/text/font-atlas.js.map +0 -1
  753. package/lib/commonjs/mol-geo/geometry/text/text-builder.js.map +0 -1
  754. package/lib/commonjs/mol-geo/geometry/text/text.js.map +0 -1
  755. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js.map +0 -1
  756. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js.map +0 -1
  757. package/lib/commonjs/mol-geo/geometry/transform-data.js.map +0 -1
  758. package/lib/commonjs/mol-geo/geometry/transparency-data.js.map +0 -1
  759. package/lib/commonjs/mol-geo/primitive/box.js.map +0 -1
  760. package/lib/commonjs/mol-geo/primitive/cage.js.map +0 -1
  761. package/lib/commonjs/mol-geo/primitive/circle.js.map +0 -1
  762. package/lib/commonjs/mol-geo/primitive/cylinder.js.map +0 -1
  763. package/lib/commonjs/mol-geo/primitive/dodecahedron.js.map +0 -1
  764. package/lib/commonjs/mol-geo/primitive/icosahedron.js.map +0 -1
  765. package/lib/commonjs/mol-geo/primitive/octahedron.js.map +0 -1
  766. package/lib/commonjs/mol-geo/primitive/plane.js.map +0 -1
  767. package/lib/commonjs/mol-geo/primitive/polygon.js.map +0 -1
  768. package/lib/commonjs/mol-geo/primitive/polyhedron.js.map +0 -1
  769. package/lib/commonjs/mol-geo/primitive/primitive.js.map +0 -1
  770. package/lib/commonjs/mol-geo/primitive/prism.js.map +0 -1
  771. package/lib/commonjs/mol-geo/primitive/pyramid.js.map +0 -1
  772. package/lib/commonjs/mol-geo/primitive/sphere.js.map +0 -1
  773. package/lib/commonjs/mol-geo/primitive/spiked-ball.js.map +0 -1
  774. package/lib/commonjs/mol-geo/primitive/star.js.map +0 -1
  775. package/lib/commonjs/mol-geo/primitive/tetrahedron.js.map +0 -1
  776. package/lib/commonjs/mol-geo/primitive/torus.js.map +0 -1
  777. package/lib/commonjs/mol-geo/primitive/wedge.js.map +0 -1
  778. package/lib/commonjs/mol-geo/util/location-iterator.js.map +0 -1
  779. package/lib/commonjs/mol-geo/util/marching-cubes/algorithm.js.map +0 -1
  780. package/lib/commonjs/mol-geo/util/marching-cubes/builder.js.map +0 -1
  781. package/lib/commonjs/mol-geo/util/marching-cubes/tables.js.map +0 -1
  782. package/lib/commonjs/mol-geo/util.js.map +0 -1
  783. package/lib/commonjs/mol-gl/_spec/cylinders.spec.d.ts +0 -6
  784. package/lib/commonjs/mol-gl/_spec/cylinders.spec.js +0 -42
  785. package/lib/commonjs/mol-gl/_spec/cylinders.spec.js.map +0 -1
  786. package/lib/commonjs/mol-gl/_spec/direct-volume.spec.d.ts +0 -6
  787. package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js +0 -42
  788. package/lib/commonjs/mol-gl/_spec/direct-volume.spec.js.map +0 -1
  789. package/lib/commonjs/mol-gl/_spec/gl.d.ts +0 -9
  790. package/lib/commonjs/mol-gl/_spec/gl.js +0 -33
  791. package/lib/commonjs/mol-gl/_spec/gl.js.map +0 -1
  792. package/lib/commonjs/mol-gl/_spec/gl.shim.d.ts +0 -6
  793. package/lib/commonjs/mol-gl/_spec/gl.shim.js +0 -631
  794. package/lib/commonjs/mol-gl/_spec/gl.shim.js.map +0 -1
  795. package/lib/commonjs/mol-gl/_spec/image.spec.d.ts +0 -6
  796. package/lib/commonjs/mol-gl/_spec/image.spec.js +0 -42
  797. package/lib/commonjs/mol-gl/_spec/image.spec.js.map +0 -1
  798. package/lib/commonjs/mol-gl/_spec/lines.spec.d.ts +0 -6
  799. package/lib/commonjs/mol-gl/_spec/lines.spec.js +0 -42
  800. package/lib/commonjs/mol-gl/_spec/lines.spec.js.map +0 -1
  801. package/lib/commonjs/mol-gl/_spec/mesh.spec.d.ts +0 -6
  802. package/lib/commonjs/mol-gl/_spec/mesh.spec.js +0 -42
  803. package/lib/commonjs/mol-gl/_spec/mesh.spec.js.map +0 -1
  804. package/lib/commonjs/mol-gl/_spec/points.spec.d.ts +0 -6
  805. package/lib/commonjs/mol-gl/_spec/points.spec.js +0 -42
  806. package/lib/commonjs/mol-gl/_spec/points.spec.js.map +0 -1
  807. package/lib/commonjs/mol-gl/_spec/renderable.spec.d.ts +0 -6
  808. package/lib/commonjs/mol-gl/_spec/renderable.spec.js +0 -38
  809. package/lib/commonjs/mol-gl/_spec/renderable.spec.js.map +0 -1
  810. package/lib/commonjs/mol-gl/_spec/renderer.spec.d.ts +0 -12
  811. package/lib/commonjs/mol-gl/_spec/renderer.spec.js +0 -71
  812. package/lib/commonjs/mol-gl/_spec/renderer.spec.js.map +0 -1
  813. package/lib/commonjs/mol-gl/_spec/spheres.spec.d.ts +0 -6
  814. package/lib/commonjs/mol-gl/_spec/spheres.spec.js +0 -42
  815. package/lib/commonjs/mol-gl/_spec/spheres.spec.js.map +0 -1
  816. package/lib/commonjs/mol-gl/_spec/text.spec.d.ts +0 -6
  817. package/lib/commonjs/mol-gl/_spec/text.spec.js +0 -42
  818. package/lib/commonjs/mol-gl/_spec/text.spec.js.map +0 -1
  819. package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.d.ts +0 -6
  820. package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js +0 -42
  821. package/lib/commonjs/mol-gl/_spec/texture-mesh.spec.js.map +0 -1
  822. package/lib/commonjs/mol-gl/commit-queue.js.map +0 -1
  823. package/lib/commonjs/mol-gl/compute/grid3d.js.map +0 -1
  824. package/lib/commonjs/mol-gl/compute/histogram-pyramid/reduction.js.map +0 -1
  825. package/lib/commonjs/mol-gl/compute/histogram-pyramid/sum.js.map +0 -1
  826. package/lib/commonjs/mol-gl/compute/marching-cubes/active-voxels.js.map +0 -1
  827. package/lib/commonjs/mol-gl/compute/marching-cubes/isosurface.js.map +0 -1
  828. package/lib/commonjs/mol-gl/compute/marching-cubes/tables.js.map +0 -1
  829. package/lib/commonjs/mol-gl/compute/util.js.map +0 -1
  830. package/lib/commonjs/mol-gl/object3d.js.map +0 -1
  831. package/lib/commonjs/mol-gl/render-object.js.map +0 -1
  832. package/lib/commonjs/mol-gl/renderable/cylinders.js.map +0 -1
  833. package/lib/commonjs/mol-gl/renderable/direct-volume.js.map +0 -1
  834. package/lib/commonjs/mol-gl/renderable/image.js.map +0 -1
  835. package/lib/commonjs/mol-gl/renderable/lines.js.map +0 -1
  836. package/lib/commonjs/mol-gl/renderable/mesh.js.map +0 -1
  837. package/lib/commonjs/mol-gl/renderable/points.js.map +0 -1
  838. package/lib/commonjs/mol-gl/renderable/schema.js.map +0 -1
  839. package/lib/commonjs/mol-gl/renderable/spheres.js.map +0 -1
  840. package/lib/commonjs/mol-gl/renderable/text.js.map +0 -1
  841. package/lib/commonjs/mol-gl/renderable/texture-mesh.js.map +0 -1
  842. package/lib/commonjs/mol-gl/renderable/util.js.map +0 -1
  843. package/lib/commonjs/mol-gl/renderable.js.map +0 -1
  844. package/lib/commonjs/mol-gl/renderer.js.map +0 -1
  845. package/lib/commonjs/mol-gl/scene.js.map +0 -1
  846. package/lib/commonjs/mol-gl/shader/chunks/apply-fog.glsl.js.map +0 -1
  847. package/lib/commonjs/mol-gl/shader/chunks/apply-interior-color.glsl.js.map +0 -1
  848. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js.map +0 -1
  849. package/lib/commonjs/mol-gl/shader/chunks/apply-marker-color.glsl.js.map +0 -1
  850. package/lib/commonjs/mol-gl/shader/chunks/assign-clipping-varying.glsl.js.map +0 -1
  851. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js.map +0 -1
  852. package/lib/commonjs/mol-gl/shader/chunks/assign-group.glsl.js.map +0 -1
  853. package/lib/commonjs/mol-gl/shader/chunks/assign-marker-varying.glsl.js.map +0 -1
  854. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js.map +0 -1
  855. package/lib/commonjs/mol-gl/shader/chunks/assign-position.glsl.js.map +0 -1
  856. package/lib/commonjs/mol-gl/shader/chunks/assign-size.glsl.js.map +0 -1
  857. package/lib/commonjs/mol-gl/shader/chunks/check-picking-alpha.glsl.js.map +0 -1
  858. package/lib/commonjs/mol-gl/shader/chunks/clip-instance.glsl.js.map +0 -1
  859. package/lib/commonjs/mol-gl/shader/chunks/clip-pixel.glsl.js.map +0 -1
  860. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js.map +0 -1
  861. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js.map +0 -1
  862. package/lib/commonjs/mol-gl/shader/chunks/common-clip.glsl.js.map +0 -1
  863. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js.map +0 -1
  864. package/lib/commonjs/mol-gl/shader/chunks/common-vert-params.glsl.js.map +0 -1
  865. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js.map +0 -1
  866. package/lib/commonjs/mol-gl/shader/chunks/float-to-rgba.glsl.js.map +0 -1
  867. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.js.map +0 -1
  868. package/lib/commonjs/mol-gl/shader/chunks/matrix-scale.glsl.js.map +0 -1
  869. package/lib/commonjs/mol-gl/shader/chunks/normal-frag-params.glsl.js.map +0 -1
  870. package/lib/commonjs/mol-gl/shader/chunks/read-from-texture.glsl.js.map +0 -1
  871. package/lib/commonjs/mol-gl/shader/chunks/rgba-to-float.glsl.js.map +0 -1
  872. package/lib/commonjs/mol-gl/shader/chunks/size-vert-params.glsl.js.map +0 -1
  873. package/lib/commonjs/mol-gl/shader/chunks/texture3d-from-1d-trilinear.glsl.js.map +0 -1
  874. package/lib/commonjs/mol-gl/shader/chunks/texture3d-from-2d-linear.glsl.js.map +0 -1
  875. package/lib/commonjs/mol-gl/shader/chunks/texture3d-from-2d-nearest.glsl.js.map +0 -1
  876. package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.js.map +0 -1
  877. package/lib/commonjs/mol-gl/shader/compose.frag.js.map +0 -1
  878. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.frag.js.map +0 -1
  879. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/accumulate.vert.js.map +0 -1
  880. package/lib/commonjs/mol-gl/shader/compute/color-smoothing/normalize.frag.js.map +0 -1
  881. package/lib/commonjs/mol-gl/shader/copy.frag.js.map +0 -1
  882. package/lib/commonjs/mol-gl/shader/cylinders.frag.js.map +0 -1
  883. package/lib/commonjs/mol-gl/shader/cylinders.vert.js.map +0 -1
  884. package/lib/commonjs/mol-gl/shader/depth-merge.frag.js.map +0 -1
  885. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js.map +0 -1
  886. package/lib/commonjs/mol-gl/shader/direct-volume.vert.js.map +0 -1
  887. package/lib/commonjs/mol-gl/shader/evaluate-wboit.frag.js.map +0 -1
  888. package/lib/commonjs/mol-gl/shader/fxaa.frag.js.map +0 -1
  889. package/lib/commonjs/mol-gl/shader/gaussian-density.frag.js.map +0 -1
  890. package/lib/commonjs/mol-gl/shader/gaussian-density.vert.js.map +0 -1
  891. package/lib/commonjs/mol-gl/shader/histogram-pyramid/reduction.frag.js.map +0 -1
  892. package/lib/commonjs/mol-gl/shader/histogram-pyramid/sum.frag.js.map +0 -1
  893. package/lib/commonjs/mol-gl/shader/image.frag.js.map +0 -1
  894. package/lib/commonjs/mol-gl/shader/image.vert.js.map +0 -1
  895. package/lib/commonjs/mol-gl/shader/lines.frag.js.map +0 -1
  896. package/lib/commonjs/mol-gl/shader/lines.vert.js.map +0 -1
  897. package/lib/commonjs/mol-gl/shader/marching-cubes/active-voxels.frag.js.map +0 -1
  898. package/lib/commonjs/mol-gl/shader/marching-cubes/isosurface.frag.js.map +0 -1
  899. package/lib/commonjs/mol-gl/shader/marking/edge.frag.js.map +0 -1
  900. package/lib/commonjs/mol-gl/shader/marking/overlay.frag.js.map +0 -1
  901. package/lib/commonjs/mol-gl/shader/mesh.frag.js.map +0 -1
  902. package/lib/commonjs/mol-gl/shader/mesh.vert.js.map +0 -1
  903. package/lib/commonjs/mol-gl/shader/outlines.frag.js.map +0 -1
  904. package/lib/commonjs/mol-gl/shader/points.frag.js.map +0 -1
  905. package/lib/commonjs/mol-gl/shader/points.vert.js.map +0 -1
  906. package/lib/commonjs/mol-gl/shader/postprocessing.frag.js.map +0 -1
  907. package/lib/commonjs/mol-gl/shader/quad.vert.js.map +0 -1
  908. package/lib/commonjs/mol-gl/shader/smaa/blend.frag.js.map +0 -1
  909. package/lib/commonjs/mol-gl/shader/smaa/blend.vert.js.map +0 -1
  910. package/lib/commonjs/mol-gl/shader/smaa/edges.frag.js.map +0 -1
  911. package/lib/commonjs/mol-gl/shader/smaa/edges.vert.js.map +0 -1
  912. package/lib/commonjs/mol-gl/shader/smaa/weights.frag.js.map +0 -1
  913. package/lib/commonjs/mol-gl/shader/smaa/weights.vert.js.map +0 -1
  914. package/lib/commonjs/mol-gl/shader/spheres.frag.js.map +0 -1
  915. package/lib/commonjs/mol-gl/shader/spheres.vert.js.map +0 -1
  916. package/lib/commonjs/mol-gl/shader/ssao-blur.frag.js.map +0 -1
  917. package/lib/commonjs/mol-gl/shader/ssao.frag.js.map +0 -1
  918. package/lib/commonjs/mol-gl/shader/text.frag.js.map +0 -1
  919. package/lib/commonjs/mol-gl/shader/text.vert.js.map +0 -1
  920. package/lib/commonjs/mol-gl/shader/util/grid3d-template.frag.js.map +0 -1
  921. package/lib/commonjs/mol-gl/shader-code.js.map +0 -1
  922. package/lib/commonjs/mol-gl/webgl/buffer.js.map +0 -1
  923. package/lib/commonjs/mol-gl/webgl/compat.js.map +0 -1
  924. package/lib/commonjs/mol-gl/webgl/context.js.map +0 -1
  925. package/lib/commonjs/mol-gl/webgl/extensions.js.map +0 -1
  926. package/lib/commonjs/mol-gl/webgl/framebuffer.js.map +0 -1
  927. package/lib/commonjs/mol-gl/webgl/program.js.map +0 -1
  928. package/lib/commonjs/mol-gl/webgl/render-item.js.map +0 -1
  929. package/lib/commonjs/mol-gl/webgl/render-target.js.map +0 -1
  930. package/lib/commonjs/mol-gl/webgl/renderbuffer.js.map +0 -1
  931. package/lib/commonjs/mol-gl/webgl/resources.js.map +0 -1
  932. package/lib/commonjs/mol-gl/webgl/shader.js.map +0 -1
  933. package/lib/commonjs/mol-gl/webgl/state.js.map +0 -1
  934. package/lib/commonjs/mol-gl/webgl/texture.js.map +0 -1
  935. package/lib/commonjs/mol-gl/webgl/uniform.js.map +0 -1
  936. package/lib/commonjs/mol-gl/webgl/vertex-array.js.map +0 -1
  937. package/lib/commonjs/mol-io/common/ascii.js.map +0 -1
  938. package/lib/commonjs/mol-io/common/binary-cif/array-encoder.js.map +0 -1
  939. package/lib/commonjs/mol-io/common/binary-cif/classifier.js.map +0 -1
  940. package/lib/commonjs/mol-io/common/binary-cif/decoder.js.map +0 -1
  941. package/lib/commonjs/mol-io/common/binary-cif/encoding.js.map +0 -1
  942. package/lib/commonjs/mol-io/common/binary-cif.js.map +0 -1
  943. package/lib/commonjs/mol-io/common/binary.js.map +0 -1
  944. package/lib/commonjs/mol-io/common/file-handle.js.map +0 -1
  945. package/lib/commonjs/mol-io/common/msgpack/decode.js.map +0 -1
  946. package/lib/commonjs/mol-io/common/msgpack/encode.js.map +0 -1
  947. package/lib/commonjs/mol-io/common/simple-buffer.js.map +0 -1
  948. package/lib/commonjs/mol-io/common/typed-array.js.map +0 -1
  949. package/lib/commonjs/mol-io/common/utf8.js.map +0 -1
  950. package/lib/commonjs/mol-io/reader/_spec/ccp4.spec.d.ts +0 -6
  951. package/lib/commonjs/mol-io/reader/_spec/ccp4.spec.js +0 -48
  952. package/lib/commonjs/mol-io/reader/_spec/ccp4.spec.js.map +0 -1
  953. package/lib/commonjs/mol-io/reader/_spec/cif.spec.d.ts +0 -7
  954. package/lib/commonjs/mol-io/reader/_spec/cif.spec.js +0 -75
  955. package/lib/commonjs/mol-io/reader/_spec/cif.spec.js.map +0 -1
  956. package/lib/commonjs/mol-io/reader/_spec/column.spec.d.ts +0 -7
  957. package/lib/commonjs/mol-io/reader/_spec/column.spec.js +0 -74
  958. package/lib/commonjs/mol-io/reader/_spec/column.spec.js.map +0 -1
  959. package/lib/commonjs/mol-io/reader/_spec/common.spec.d.ts +0 -6
  960. package/lib/commonjs/mol-io/reader/_spec/common.spec.js +0 -39
  961. package/lib/commonjs/mol-io/reader/_spec/common.spec.js.map +0 -1
  962. package/lib/commonjs/mol-io/reader/_spec/csv.spec.d.ts +0 -6
  963. package/lib/commonjs/mol-io/reader/_spec/csv.spec.js +0 -87
  964. package/lib/commonjs/mol-io/reader/_spec/csv.spec.js.map +0 -1
  965. package/lib/commonjs/mol-io/reader/_spec/dcd.spec.d.ts +0 -6
  966. package/lib/commonjs/mol-io/reader/_spec/dcd.spec.js +0 -71
  967. package/lib/commonjs/mol-io/reader/_spec/dcd.spec.js.map +0 -1
  968. package/lib/commonjs/mol-io/reader/_spec/gro.spec.d.ts +0 -7
  969. package/lib/commonjs/mol-io/reader/_spec/gro.spec.js +0 -81
  970. package/lib/commonjs/mol-io/reader/_spec/gro.spec.js.map +0 -1
  971. package/lib/commonjs/mol-io/reader/_spec/mol.spec.d.ts +0 -1
  972. package/lib/commonjs/mol-io/reader/_spec/mol.spec.js +0 -33
  973. package/lib/commonjs/mol-io/reader/_spec/mol.spec.js.map +0 -1
  974. package/lib/commonjs/mol-io/reader/_spec/mol2.spec.d.ts +0 -1
  975. package/lib/commonjs/mol-io/reader/_spec/mol2.spec.js +0 -163
  976. package/lib/commonjs/mol-io/reader/_spec/mol2.spec.js.map +0 -1
  977. package/lib/commonjs/mol-io/reader/_spec/ply.spec.d.ts +0 -6
  978. package/lib/commonjs/mol-io/reader/_spec/ply.spec.js +0 -68
  979. package/lib/commonjs/mol-io/reader/_spec/ply.spec.js.map +0 -1
  980. package/lib/commonjs/mol-io/reader/_spec/psf.spec.d.ts +0 -6
  981. package/lib/commonjs/mol-io/reader/_spec/psf.spec.js +0 -52
  982. package/lib/commonjs/mol-io/reader/_spec/psf.spec.js.map +0 -1
  983. package/lib/commonjs/mol-io/reader/_spec/sdf.spec.d.ts +0 -1
  984. package/lib/commonjs/mol-io/reader/_spec/sdf.spec.js +0 -105
  985. package/lib/commonjs/mol-io/reader/_spec/sdf.spec.js.map +0 -1
  986. package/lib/commonjs/mol-io/reader/ccp4/parser.js.map +0 -1
  987. package/lib/commonjs/mol-io/reader/ccp4/schema.js.map +0 -1
  988. package/lib/commonjs/mol-io/reader/cif/binary/field.js.map +0 -1
  989. package/lib/commonjs/mol-io/reader/cif/binary/parser.js.map +0 -1
  990. package/lib/commonjs/mol-io/reader/cif/data-model.js.map +0 -1
  991. package/lib/commonjs/mol-io/reader/cif/schema/bird.js.map +0 -1
  992. package/lib/commonjs/mol-io/reader/cif/schema/ccd-extras.js.map +0 -1
  993. package/lib/commonjs/mol-io/reader/cif/schema/ccd.js.map +0 -1
  994. package/lib/commonjs/mol-io/reader/cif/schema/cif-core.js.map +0 -1
  995. package/lib/commonjs/mol-io/reader/cif/schema/ddl.js.map +0 -1
  996. package/lib/commonjs/mol-io/reader/cif/schema/density-server.js.map +0 -1
  997. package/lib/commonjs/mol-io/reader/cif/schema/dic.js.map +0 -1
  998. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.js.map +0 -1
  999. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js.map +0 -1
  1000. package/lib/commonjs/mol-io/reader/cif/schema.js.map +0 -1
  1001. package/lib/commonjs/mol-io/reader/cif/text/parser.js.map +0 -1
  1002. package/lib/commonjs/mol-io/reader/cif.js.map +0 -1
  1003. package/lib/commonjs/mol-io/reader/common/binary/column.js.map +0 -1
  1004. package/lib/commonjs/mol-io/reader/common/text/column/fixed.js.map +0 -1
  1005. package/lib/commonjs/mol-io/reader/common/text/column/token.js.map +0 -1
  1006. package/lib/commonjs/mol-io/reader/common/text/number-parser.js.map +0 -1
  1007. package/lib/commonjs/mol-io/reader/common/text/tokenizer.js.map +0 -1
  1008. package/lib/commonjs/mol-io/reader/csv/data-model.js.map +0 -1
  1009. package/lib/commonjs/mol-io/reader/csv/field.js.map +0 -1
  1010. package/lib/commonjs/mol-io/reader/csv/parser.js.map +0 -1
  1011. package/lib/commonjs/mol-io/reader/csv/schema.js.map +0 -1
  1012. package/lib/commonjs/mol-io/reader/cube/parser.js.map +0 -1
  1013. package/lib/commonjs/mol-io/reader/dcd/parser.js.map +0 -1
  1014. package/lib/commonjs/mol-io/reader/dsn6/parser.js.map +0 -1
  1015. package/lib/commonjs/mol-io/reader/dsn6/schema.js.map +0 -1
  1016. package/lib/commonjs/mol-io/reader/dx/parser.js.map +0 -1
  1017. package/lib/commonjs/mol-io/reader/gro/parser.js.map +0 -1
  1018. package/lib/commonjs/mol-io/reader/mol/parser.js.map +0 -1
  1019. package/lib/commonjs/mol-io/reader/mol2/parser.js.map +0 -1
  1020. package/lib/commonjs/mol-io/reader/mol2/schema.js.map +0 -1
  1021. package/lib/commonjs/mol-io/reader/obj/parser.js.map +0 -1
  1022. package/lib/commonjs/mol-io/reader/pdb/parser.js.map +0 -1
  1023. package/lib/commonjs/mol-io/reader/pdb/schema.js.map +0 -1
  1024. package/lib/commonjs/mol-io/reader/ply/parser.js.map +0 -1
  1025. package/lib/commonjs/mol-io/reader/ply/schema.js.map +0 -1
  1026. package/lib/commonjs/mol-io/reader/psf/parser.js.map +0 -1
  1027. package/lib/commonjs/mol-io/reader/result.js.map +0 -1
  1028. package/lib/commonjs/mol-io/reader/sdf/parser-v3-util.js.map +0 -1
  1029. package/lib/commonjs/mol-io/reader/sdf/parser.js.map +0 -1
  1030. package/lib/commonjs/mol-io/reader/xtc/parser.js.map +0 -1
  1031. package/lib/commonjs/mol-io/reader/xyz/parser.js.map +0 -1
  1032. package/lib/commonjs/mol-io/utils/short-string-pool.js.map +0 -1
  1033. package/lib/commonjs/mol-io/writer/_spec/cif.spec.d.ts +0 -1
  1034. package/lib/commonjs/mol-io/writer/_spec/cif.spec.js +0 -206
  1035. package/lib/commonjs/mol-io/writer/_spec/cif.spec.js.map +0 -1
  1036. package/lib/commonjs/mol-io/writer/cif/encoder/binary.js.map +0 -1
  1037. package/lib/commonjs/mol-io/writer/cif/encoder/text.js.map +0 -1
  1038. package/lib/commonjs/mol-io/writer/cif/encoder/util.js.map +0 -1
  1039. package/lib/commonjs/mol-io/writer/cif/encoder.js.map +0 -1
  1040. package/lib/commonjs/mol-io/writer/cif.js.map +0 -1
  1041. package/lib/commonjs/mol-io/writer/encoder.js.map +0 -1
  1042. package/lib/commonjs/mol-io/writer/ligand-encoder.js.map +0 -1
  1043. package/lib/commonjs/mol-io/writer/mol/encoder.js.map +0 -1
  1044. package/lib/commonjs/mol-io/writer/mol.js.map +0 -1
  1045. package/lib/commonjs/mol-io/writer/mol2/encoder.js.map +0 -1
  1046. package/lib/commonjs/mol-io/writer/mol2.js.map +0 -1
  1047. package/lib/commonjs/mol-io/writer/sdf.js.map +0 -1
  1048. package/lib/commonjs/mol-io/writer/writer.js.map +0 -1
  1049. package/lib/commonjs/mol-math/approx.js.map +0 -1
  1050. package/lib/commonjs/mol-math/easing.js.map +0 -1
  1051. package/lib/commonjs/mol-math/geometry/_spec/lookup3d.spec.d.ts +0 -6
  1052. package/lib/commonjs/mol-math/geometry/_spec/lookup3d.spec.js +0 -50
  1053. package/lib/commonjs/mol-math/geometry/_spec/lookup3d.spec.js.map +0 -1
  1054. package/lib/commonjs/mol-math/geometry/_spec/spacegroup.spec.d.ts +0 -6
  1055. package/lib/commonjs/mol-math/geometry/_spec/spacegroup.spec.js +0 -35
  1056. package/lib/commonjs/mol-math/geometry/_spec/spacegroup.spec.js.map +0 -1
  1057. package/lib/commonjs/mol-math/geometry/boundary-helper.js.map +0 -1
  1058. package/lib/commonjs/mol-math/geometry/boundary.js.map +0 -1
  1059. package/lib/commonjs/mol-math/geometry/centroid-helper.js.map +0 -1
  1060. package/lib/commonjs/mol-math/geometry/common.js.map +0 -1
  1061. package/lib/commonjs/mol-math/geometry/distance-transform.js.map +0 -1
  1062. package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.js.map +0 -1
  1063. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js.map +0 -1
  1064. package/lib/commonjs/mol-math/geometry/gaussian-density.js.map +0 -1
  1065. package/lib/commonjs/mol-math/geometry/lookup3d/common.js.map +0 -1
  1066. package/lib/commonjs/mol-math/geometry/lookup3d/grid.js.map +0 -1
  1067. package/lib/commonjs/mol-math/geometry/molecular-surface.js.map +0 -1
  1068. package/lib/commonjs/mol-math/geometry/primitives/axes3d.js.map +0 -1
  1069. package/lib/commonjs/mol-math/geometry/primitives/box3d.js.map +0 -1
  1070. package/lib/commonjs/mol-math/geometry/primitives/sphere3d.js.map +0 -1
  1071. package/lib/commonjs/mol-math/geometry/spacegroup/cell.js.map +0 -1
  1072. package/lib/commonjs/mol-math/geometry/spacegroup/construction.js.map +0 -1
  1073. package/lib/commonjs/mol-math/geometry/spacegroup/tables.js.map +0 -1
  1074. package/lib/commonjs/mol-math/geometry/symmetry-operator.js.map +0 -1
  1075. package/lib/commonjs/mol-math/geometry.js.map +0 -1
  1076. package/lib/commonjs/mol-math/graph/_spec/int-graph.spec.d.ts +0 -6
  1077. package/lib/commonjs/mol-math/graph/_spec/int-graph.spec.js +0 -40
  1078. package/lib/commonjs/mol-math/graph/_spec/int-graph.spec.js.map +0 -1
  1079. package/lib/commonjs/mol-math/graph/int-adjacency-graph.js.map +0 -1
  1080. package/lib/commonjs/mol-math/graph/inter-unit-graph.js.map +0 -1
  1081. package/lib/commonjs/mol-math/graph.js.map +0 -1
  1082. package/lib/commonjs/mol-math/histogram.js.map +0 -1
  1083. package/lib/commonjs/mol-math/interpolate.js.map +0 -1
  1084. package/lib/commonjs/mol-math/linear-algebra/3d/common.js.map +0 -1
  1085. package/lib/commonjs/mol-math/linear-algebra/3d/mat3.js.map +0 -1
  1086. package/lib/commonjs/mol-math/linear-algebra/3d/mat4.js.map +0 -1
  1087. package/lib/commonjs/mol-math/linear-algebra/3d/minimize-rmsd.js.map +0 -1
  1088. package/lib/commonjs/mol-math/linear-algebra/3d/quat.js.map +0 -1
  1089. package/lib/commonjs/mol-math/linear-algebra/3d/vec2.js.map +0 -1
  1090. package/lib/commonjs/mol-math/linear-algebra/3d/vec3.js.map +0 -1
  1091. package/lib/commonjs/mol-math/linear-algebra/3d/vec4.js.map +0 -1
  1092. package/lib/commonjs/mol-math/linear-algebra/3d.js.map +0 -1
  1093. package/lib/commonjs/mol-math/linear-algebra/_spec/approx.spec.d.ts +0 -6
  1094. package/lib/commonjs/mol-math/linear-algebra/_spec/approx.spec.js +0 -77
  1095. package/lib/commonjs/mol-math/linear-algebra/_spec/approx.spec.js.map +0 -1
  1096. package/lib/commonjs/mol-math/linear-algebra/_spec/mat3.spec.d.ts +0 -6
  1097. package/lib/commonjs/mol-math/linear-algebra/_spec/mat3.spec.js +0 -27
  1098. package/lib/commonjs/mol-math/linear-algebra/_spec/mat3.spec.js.map +0 -1
  1099. package/lib/commonjs/mol-math/linear-algebra/_spec/mat4.spec.d.ts +0 -6
  1100. package/lib/commonjs/mol-math/linear-algebra/_spec/mat4.spec.js +0 -23
  1101. package/lib/commonjs/mol-math/linear-algebra/_spec/mat4.spec.js.map +0 -1
  1102. package/lib/commonjs/mol-math/linear-algebra/_spec/tensor.spec.d.ts +0 -6
  1103. package/lib/commonjs/mol-math/linear-algebra/_spec/tensor.spec.js +0 -286
  1104. package/lib/commonjs/mol-math/linear-algebra/_spec/tensor.spec.js.map +0 -1
  1105. package/lib/commonjs/mol-math/linear-algebra/_spec/vec3.spec.d.ts +0 -6
  1106. package/lib/commonjs/mol-math/linear-algebra/_spec/vec3.spec.js +0 -20
  1107. package/lib/commonjs/mol-math/linear-algebra/_spec/vec3.spec.js.map +0 -1
  1108. package/lib/commonjs/mol-math/linear-algebra/matrix/evd.js.map +0 -1
  1109. package/lib/commonjs/mol-math/linear-algebra/matrix/matrix.js.map +0 -1
  1110. package/lib/commonjs/mol-math/linear-algebra/matrix/principal-axes.js.map +0 -1
  1111. package/lib/commonjs/mol-math/linear-algebra/matrix/svd.js.map +0 -1
  1112. package/lib/commonjs/mol-math/linear-algebra/tensor.js.map +0 -1
  1113. package/lib/commonjs/mol-math/linear-algebra.js.map +0 -1
  1114. package/lib/commonjs/mol-math/misc.js.map +0 -1
  1115. package/lib/commonjs/mol-model/custom-property.js.map +0 -1
  1116. package/lib/commonjs/mol-model/location.js.map +0 -1
  1117. package/lib/commonjs/mol-model/loci.js.map +0 -1
  1118. package/lib/commonjs/mol-model/sequence/alignment/_spec/alignment.spec.d.ts +0 -6
  1119. package/lib/commonjs/mol-model/sequence/alignment/_spec/alignment.spec.js +0 -25
  1120. package/lib/commonjs/mol-model/sequence/alignment/_spec/alignment.spec.js.map +0 -1
  1121. package/lib/commonjs/mol-model/sequence/alignment/alignment.js.map +0 -1
  1122. package/lib/commonjs/mol-model/sequence/alignment/sequence.js.map +0 -1
  1123. package/lib/commonjs/mol-model/sequence/alignment/substitution-matrix.js.map +0 -1
  1124. package/lib/commonjs/mol-model/sequence/alignment.js.map +0 -1
  1125. package/lib/commonjs/mol-model/sequence/constants.js.map +0 -1
  1126. package/lib/commonjs/mol-model/sequence/sequence.js.map +0 -1
  1127. package/lib/commonjs/mol-model/sequence.js.map +0 -1
  1128. package/lib/commonjs/mol-model/shape/provider.js.map +0 -1
  1129. package/lib/commonjs/mol-model/shape/shape.js.map +0 -1
  1130. package/lib/commonjs/mol-model/shape.js.map +0 -1
  1131. package/lib/commonjs/mol-model/structure/coordinates/coordinates.js.map +0 -1
  1132. package/lib/commonjs/mol-model/structure/coordinates.js.map +0 -1
  1133. package/lib/commonjs/mol-model/structure/export/categories/atom_site.js.map +0 -1
  1134. package/lib/commonjs/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +0 -1
  1135. package/lib/commonjs/mol-model/structure/export/categories/misc.js.map +0 -1
  1136. package/lib/commonjs/mol-model/structure/export/categories/secondary-structure.js.map +0 -1
  1137. package/lib/commonjs/mol-model/structure/export/categories/sequence.js.map +0 -1
  1138. package/lib/commonjs/mol-model/structure/export/categories/utils.js.map +0 -1
  1139. package/lib/commonjs/mol-model/structure/export/mmcif.js.map +0 -1
  1140. package/lib/commonjs/mol-model/structure/model/indexing.js.map +0 -1
  1141. package/lib/commonjs/mol-model/structure/model/model.js.map +0 -1
  1142. package/lib/commonjs/mol-model/structure/model/properties/atomic/bonds.js.map +0 -1
  1143. package/lib/commonjs/mol-model/structure/model/properties/atomic/conformation.js.map +0 -1
  1144. package/lib/commonjs/mol-model/structure/model/properties/atomic/hierarchy.js.map +0 -1
  1145. package/lib/commonjs/mol-model/structure/model/properties/atomic/measures.js.map +0 -1
  1146. package/lib/commonjs/mol-model/structure/model/properties/atomic/types.js.map +0 -1
  1147. package/lib/commonjs/mol-model/structure/model/properties/atomic.js.map +0 -1
  1148. package/lib/commonjs/mol-model/structure/model/properties/coarse/conformation.js.map +0 -1
  1149. package/lib/commonjs/mol-model/structure/model/properties/coarse/hierarchy.js.map +0 -1
  1150. package/lib/commonjs/mol-model/structure/model/properties/coarse.js.map +0 -1
  1151. package/lib/commonjs/mol-model/structure/model/properties/common.js.map +0 -1
  1152. package/lib/commonjs/mol-model/structure/model/properties/custom/indexed.js.map +0 -1
  1153. package/lib/commonjs/mol-model/structure/model/properties/global-transform.js.map +0 -1
  1154. package/lib/commonjs/mol-model/structure/model/properties/seconday-structure.js.map +0 -1
  1155. package/lib/commonjs/mol-model/structure/model/properties/sequence.js.map +0 -1
  1156. package/lib/commonjs/mol-model/structure/model/properties/symmetry.js.map +0 -1
  1157. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-derived.js.map +0 -1
  1158. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-index.js.map +0 -1
  1159. package/lib/commonjs/mol-model/structure/model/properties/utils/atomic-ranges.js.map +0 -1
  1160. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-keys.js.map +0 -1
  1161. package/lib/commonjs/mol-model/structure/model/properties/utils/coarse-ranges.js.map +0 -1
  1162. package/lib/commonjs/mol-model/structure/model/properties/utils/residue-set.js.map +0 -1
  1163. package/lib/commonjs/mol-model/structure/model/types/ions.js.map +0 -1
  1164. package/lib/commonjs/mol-model/structure/model/types/lipids.js.map +0 -1
  1165. package/lib/commonjs/mol-model/structure/model/types.js.map +0 -1
  1166. package/lib/commonjs/mol-model/structure/model/util.js.map +0 -1
  1167. package/lib/commonjs/mol-model/structure/model.js.map +0 -1
  1168. package/lib/commonjs/mol-model/structure/query/context.js.map +0 -1
  1169. package/lib/commonjs/mol-model/structure/query/predicates.js.map +0 -1
  1170. package/lib/commonjs/mol-model/structure/query/queries/combinators.js.map +0 -1
  1171. package/lib/commonjs/mol-model/structure/query/queries/filters.js.map +0 -1
  1172. package/lib/commonjs/mol-model/structure/query/queries/generators.js.map +0 -1
  1173. package/lib/commonjs/mol-model/structure/query/queries/internal.js.map +0 -1
  1174. package/lib/commonjs/mol-model/structure/query/queries/modifiers.js.map +0 -1
  1175. package/lib/commonjs/mol-model/structure/query/query.js.map +0 -1
  1176. package/lib/commonjs/mol-model/structure/query/selection.js.map +0 -1
  1177. package/lib/commonjs/mol-model/structure/query/utils/builders.js.map +0 -1
  1178. package/lib/commonjs/mol-model/structure/query/utils/structure-distance.js.map +0 -1
  1179. package/lib/commonjs/mol-model/structure/query/utils/structure-set.js.map +0 -1
  1180. package/lib/commonjs/mol-model/structure/query.js.map +0 -1
  1181. package/lib/commonjs/mol-model/structure/structure/carbohydrates/compute.js.map +0 -1
  1182. package/lib/commonjs/mol-model/structure/structure/carbohydrates/constants.js.map +0 -1
  1183. package/lib/commonjs/mol-model/structure/structure/carbohydrates/data.js.map +0 -1
  1184. package/lib/commonjs/mol-model/structure/structure/element/bundle.js.map +0 -1
  1185. package/lib/commonjs/mol-model/structure/structure/element/element.js.map +0 -1
  1186. package/lib/commonjs/mol-model/structure/structure/element/location.js.map +0 -1
  1187. package/lib/commonjs/mol-model/structure/structure/element/loci.js.map +0 -1
  1188. package/lib/commonjs/mol-model/structure/structure/element/stats.js.map +0 -1
  1189. package/lib/commonjs/mol-model/structure/structure/element/util.js.map +0 -1
  1190. package/lib/commonjs/mol-model/structure/structure/element.js.map +0 -1
  1191. package/lib/commonjs/mol-model/structure/structure/properties.js.map +0 -1
  1192. package/lib/commonjs/mol-model/structure/structure/structure.js.map +0 -1
  1193. package/lib/commonjs/mol-model/structure/structure/symmetry.js.map +0 -1
  1194. package/lib/commonjs/mol-model/structure/structure/unit/bonds/common.js.map +0 -1
  1195. package/lib/commonjs/mol-model/structure/structure/unit/bonds/data.js.map +0 -1
  1196. package/lib/commonjs/mol-model/structure/structure/unit/bonds/element-set-intra-bond-cache.js.map +0 -1
  1197. package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js.map +0 -1
  1198. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js.map +0 -1
  1199. package/lib/commonjs/mol-model/structure/structure/unit/bonds.js.map +0 -1
  1200. package/lib/commonjs/mol-model/structure/structure/unit/rings/compute.js.map +0 -1
  1201. package/lib/commonjs/mol-model/structure/structure/unit/rings.js.map +0 -1
  1202. package/lib/commonjs/mol-model/structure/structure/unit.js.map +0 -1
  1203. package/lib/commonjs/mol-model/structure/structure/util/boundary.js.map +0 -1
  1204. package/lib/commonjs/mol-model/structure/structure/util/lookup3d.js.map +0 -1
  1205. package/lib/commonjs/mol-model/structure/structure/util/polymer.js.map +0 -1
  1206. package/lib/commonjs/mol-model/structure/structure/util/principal-axes.js.map +0 -1
  1207. package/lib/commonjs/mol-model/structure/structure/util/subset-builder.js.map +0 -1
  1208. package/lib/commonjs/mol-model/structure/structure/util/superposition-db-mapping.js.map +0 -1
  1209. package/lib/commonjs/mol-model/structure/structure/util/superposition.js.map +0 -1
  1210. package/lib/commonjs/mol-model/structure/structure/util/unique-subset-builder.js.map +0 -1
  1211. package/lib/commonjs/mol-model/structure/structure/util/unit-transforms.js.map +0 -1
  1212. package/lib/commonjs/mol-model/structure/structure.js.map +0 -1
  1213. package/lib/commonjs/mol-model/structure/topology/topology.js.map +0 -1
  1214. package/lib/commonjs/mol-model/structure/topology.js.map +0 -1
  1215. package/lib/commonjs/mol-model/structure/trajectory.js.map +0 -1
  1216. package/lib/commonjs/mol-model/structure/util.js.map +0 -1
  1217. package/lib/commonjs/mol-model/structure.js.map +0 -1
  1218. package/lib/commonjs/mol-model/volume/grid.js.map +0 -1
  1219. package/lib/commonjs/mol-model/volume/volume.js.map +0 -1
  1220. package/lib/commonjs/mol-model/volume.js.map +0 -1
  1221. package/lib/commonjs/mol-model-formats/format.js.map +0 -1
  1222. package/lib/commonjs/mol-model-formats/shape/ply.js.map +0 -1
  1223. package/lib/commonjs/mol-model-formats/structure/_spec/cif-core.spec.d.ts +0 -6
  1224. package/lib/commonjs/mol-model-formats/structure/_spec/cif-core.spec.js +0 -51
  1225. package/lib/commonjs/mol-model-formats/structure/_spec/cif-core.spec.js.map +0 -1
  1226. package/lib/commonjs/mol-model-formats/structure/_spec/pdb.spec.d.ts +0 -6
  1227. package/lib/commonjs/mol-model-formats/structure/_spec/pdb.spec.js +0 -26
  1228. package/lib/commonjs/mol-model-formats/structure/_spec/pdb.spec.js.map +0 -1
  1229. package/lib/commonjs/mol-model-formats/structure/basic/atomic.js.map +0 -1
  1230. package/lib/commonjs/mol-model-formats/structure/basic/coarse.js.map +0 -1
  1231. package/lib/commonjs/mol-model-formats/structure/basic/entities.js.map +0 -1
  1232. package/lib/commonjs/mol-model-formats/structure/basic/parser.js.map +0 -1
  1233. package/lib/commonjs/mol-model-formats/structure/basic/properties.js.map +0 -1
  1234. package/lib/commonjs/mol-model-formats/structure/basic/schema.js.map +0 -1
  1235. package/lib/commonjs/mol-model-formats/structure/basic/sequence.js.map +0 -1
  1236. package/lib/commonjs/mol-model-formats/structure/basic/sort.js.map +0 -1
  1237. package/lib/commonjs/mol-model-formats/structure/basic/util.js.map +0 -1
  1238. package/lib/commonjs/mol-model-formats/structure/cif-core.js.map +0 -1
  1239. package/lib/commonjs/mol-model-formats/structure/common/component.js.map +0 -1
  1240. package/lib/commonjs/mol-model-formats/structure/common/entity.js.map +0 -1
  1241. package/lib/commonjs/mol-model-formats/structure/common/property.js.map +0 -1
  1242. package/lib/commonjs/mol-model-formats/structure/common/util.js.map +0 -1
  1243. package/lib/commonjs/mol-model-formats/structure/cube.js.map +0 -1
  1244. package/lib/commonjs/mol-model-formats/structure/dcd.js.map +0 -1
  1245. package/lib/commonjs/mol-model-formats/structure/gro.js.map +0 -1
  1246. package/lib/commonjs/mol-model-formats/structure/mmcif.js.map +0 -1
  1247. package/lib/commonjs/mol-model-formats/structure/mol.js.map +0 -1
  1248. package/lib/commonjs/mol-model-formats/structure/mol2.js.map +0 -1
  1249. package/lib/commonjs/mol-model-formats/structure/pdb/anisotropic.js.map +0 -1
  1250. package/lib/commonjs/mol-model-formats/structure/pdb/assembly.js.map +0 -1
  1251. package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.js.map +0 -1
  1252. package/lib/commonjs/mol-model-formats/structure/pdb/conect.js.map +0 -1
  1253. package/lib/commonjs/mol-model-formats/structure/pdb/entity.js.map +0 -1
  1254. package/lib/commonjs/mol-model-formats/structure/pdb/secondary-structure.js.map +0 -1
  1255. package/lib/commonjs/mol-model-formats/structure/pdb/to-cif.js.map +0 -1
  1256. package/lib/commonjs/mol-model-formats/structure/pdb.js.map +0 -1
  1257. package/lib/commonjs/mol-model-formats/structure/property/anisotropic.js.map +0 -1
  1258. package/lib/commonjs/mol-model-formats/structure/property/assembly.js.map +0 -1
  1259. package/lib/commonjs/mol-model-formats/structure/property/atoms/chem_comp.js.map +0 -1
  1260. package/lib/commonjs/mol-model-formats/structure/property/bonds/chem_comp.js.map +0 -1
  1261. package/lib/commonjs/mol-model-formats/structure/property/bonds/index-pair.js.map +0 -1
  1262. package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.js.map +0 -1
  1263. package/lib/commonjs/mol-model-formats/structure/property/partial-charge.js.map +0 -1
  1264. package/lib/commonjs/mol-model-formats/structure/property/secondary-structure.js.map +0 -1
  1265. package/lib/commonjs/mol-model-formats/structure/property/symmetry.js.map +0 -1
  1266. package/lib/commonjs/mol-model-formats/structure/psf.js.map +0 -1
  1267. package/lib/commonjs/mol-model-formats/structure/sdf.js.map +0 -1
  1268. package/lib/commonjs/mol-model-formats/structure/util.js.map +0 -1
  1269. package/lib/commonjs/mol-model-formats/structure/xtc.js.map +0 -1
  1270. package/lib/commonjs/mol-model-formats/structure/xyz.js.map +0 -1
  1271. package/lib/commonjs/mol-model-formats/volume/ccp4.js.map +0 -1
  1272. package/lib/commonjs/mol-model-formats/volume/cube.js.map +0 -1
  1273. package/lib/commonjs/mol-model-formats/volume/density-server.js.map +0 -1
  1274. package/lib/commonjs/mol-model-formats/volume/dsn6.js.map +0 -1
  1275. package/lib/commonjs/mol-model-formats/volume/dx.js.map +0 -1
  1276. package/lib/commonjs/mol-model-formats/volume/property.js.map +0 -1
  1277. package/lib/commonjs/mol-model-props/common/custom-element-property.js.map +0 -1
  1278. package/lib/commonjs/mol-model-props/common/custom-model-property.js.map +0 -1
  1279. package/lib/commonjs/mol-model-props/common/custom-property.js.map +0 -1
  1280. package/lib/commonjs/mol-model-props/common/custom-structure-property.js.map +0 -1
  1281. package/lib/commonjs/mol-model-props/common/wrapper.js.map +0 -1
  1282. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley/area.js.map +0 -1
  1283. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley/common.js.map +0 -1
  1284. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley/radii.js.map +0 -1
  1285. package/lib/commonjs/mol-model-props/computed/accessible-surface-area/shrake-rupley.js.map +0 -1
  1286. package/lib/commonjs/mol-model-props/computed/accessible-surface-area.js.map +0 -1
  1287. package/lib/commonjs/mol-model-props/computed/chemistry/functional-group.js.map +0 -1
  1288. package/lib/commonjs/mol-model-props/computed/chemistry/geometry.js.map +0 -1
  1289. package/lib/commonjs/mol-model-props/computed/chemistry/util.js.map +0 -1
  1290. package/lib/commonjs/mol-model-props/computed/chemistry/valence-model.js.map +0 -1
  1291. package/lib/commonjs/mol-model-props/computed/helix-orientation/helix-orientation.js.map +0 -1
  1292. package/lib/commonjs/mol-model-props/computed/helix-orientation.js.map +0 -1
  1293. package/lib/commonjs/mol-model-props/computed/interactions/charged.js.map +0 -1
  1294. package/lib/commonjs/mol-model-props/computed/interactions/common.js.map +0 -1
  1295. package/lib/commonjs/mol-model-props/computed/interactions/contacts-builder.js.map +0 -1
  1296. package/lib/commonjs/mol-model-props/computed/interactions/contacts.js.map +0 -1
  1297. package/lib/commonjs/mol-model-props/computed/interactions/features.js.map +0 -1
  1298. package/lib/commonjs/mol-model-props/computed/interactions/halogen-bonds.js.map +0 -1
  1299. package/lib/commonjs/mol-model-props/computed/interactions/hydrogen-bonds.js.map +0 -1
  1300. package/lib/commonjs/mol-model-props/computed/interactions/hydrophobic.js.map +0 -1
  1301. package/lib/commonjs/mol-model-props/computed/interactions/interactions.js.map +0 -1
  1302. package/lib/commonjs/mol-model-props/computed/interactions/metal.js.map +0 -1
  1303. package/lib/commonjs/mol-model-props/computed/interactions/refine.js.map +0 -1
  1304. package/lib/commonjs/mol-model-props/computed/interactions.js.map +0 -1
  1305. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.js.map +0 -1
  1306. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.js.map +0 -1
  1307. package/lib/commonjs/mol-model-props/computed/representations/interactions.js.map +0 -1
  1308. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/backbone-hbonds.js.map +0 -1
  1309. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/bends.js.map +0 -1
  1310. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/bridges.js.map +0 -1
  1311. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/common.js.map +0 -1
  1312. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/dihedral-angles.js.map +0 -1
  1313. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/helices.js.map +0 -1
  1314. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/ladders.js.map +0 -1
  1315. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/protein-info.js.map +0 -1
  1316. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/sheets.js.map +0 -1
  1317. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/trace-lookup.js.map +0 -1
  1318. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp/turns.js.map +0 -1
  1319. package/lib/commonjs/mol-model-props/computed/secondary-structure/dssp.js.map +0 -1
  1320. package/lib/commonjs/mol-model-props/computed/secondary-structure/zhang-skolnik.js.map +0 -1
  1321. package/lib/commonjs/mol-model-props/computed/secondary-structure.js.map +0 -1
  1322. package/lib/commonjs/mol-model-props/computed/themes/accessible-surface-area.js.map +0 -1
  1323. package/lib/commonjs/mol-model-props/computed/themes/interaction-type.js.map +0 -1
  1324. package/lib/commonjs/mol-model-props/computed/valence-model.js.map +0 -1
  1325. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/color.js.map +0 -1
  1326. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/format.js.map +0 -1
  1327. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/property.js.map +0 -1
  1328. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.js.map +0 -1
  1329. package/lib/commonjs/mol-model-props/integrative/pair-restraints.js.map +0 -1
  1330. package/lib/commonjs/mol-model-props/sequence/best-database-mapping.js.map +0 -1
  1331. package/lib/commonjs/mol-model-props/sequence/themes/best-database-mapping.js.map +0 -1
  1332. package/lib/commonjs/mol-plugin/animation-loop.js.map +0 -1
  1333. package/lib/commonjs/mol-plugin/behavior/behavior.js.map +0 -1
  1334. package/lib/commonjs/mol-plugin/behavior/dynamic/camera.js.map +0 -1
  1335. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +0 -1
  1336. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +0 -1
  1337. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/secondary-structure.js.map +0 -1
  1338. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +0 -1
  1339. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/integrative/cross-link-restraint.js.map +0 -1
  1340. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/sequence/best-database-mapping.js.map +0 -1
  1341. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props/structure-info.js.map +0 -1
  1342. package/lib/commonjs/mol-plugin/behavior/dynamic/custom-props.js.map +0 -1
  1343. package/lib/commonjs/mol-plugin/behavior/dynamic/representation.js.map +0 -1
  1344. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +0 -1
  1345. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +0 -1
  1346. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.js.map +0 -1
  1347. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +0 -1
  1348. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +0 -1
  1349. package/lib/commonjs/mol-plugin/behavior/static/camera.js.map +0 -1
  1350. package/lib/commonjs/mol-plugin/behavior/static/misc.js.map +0 -1
  1351. package/lib/commonjs/mol-plugin/behavior/static/representation.js.map +0 -1
  1352. package/lib/commonjs/mol-plugin/behavior/static/state.js.map +0 -1
  1353. package/lib/commonjs/mol-plugin/behavior.js.map +0 -1
  1354. package/lib/commonjs/mol-plugin/command.js.map +0 -1
  1355. package/lib/commonjs/mol-plugin/commands.js.map +0 -1
  1356. package/lib/commonjs/mol-plugin/config.js.map +0 -1
  1357. package/lib/commonjs/mol-plugin/context.js.map +0 -1
  1358. package/lib/commonjs/mol-plugin/layout.js.map +0 -1
  1359. package/lib/commonjs/mol-plugin/spec.js.map +0 -1
  1360. package/lib/commonjs/mol-plugin/state.js.map +0 -1
  1361. package/lib/commonjs/mol-plugin/util/substructure-parent-helper.js.map +0 -1
  1362. package/lib/commonjs/mol-plugin/util/task-manager.js.map +0 -1
  1363. package/lib/commonjs/mol-plugin/util/toast.js.map +0 -1
  1364. package/lib/commonjs/mol-plugin/util/viewport-screenshot.js.map +0 -1
  1365. package/lib/commonjs/mol-plugin/version.js.map +0 -1
  1366. package/lib/commonjs/mol-plugin-state/actions/file.js.map +0 -1
  1367. package/lib/commonjs/mol-plugin-state/actions/structure.js.map +0 -1
  1368. package/lib/commonjs/mol-plugin-state/actions/volume.js.map +0 -1
  1369. package/lib/commonjs/mol-plugin-state/actions.js.map +0 -1
  1370. package/lib/commonjs/mol-plugin-state/animation/built-in/assembly-unwind.js.map +0 -1
  1371. package/lib/commonjs/mol-plugin-state/animation/built-in/camera-spin.js.map +0 -1
  1372. package/lib/commonjs/mol-plugin-state/animation/built-in/explode-units.js.map +0 -1
  1373. package/lib/commonjs/mol-plugin-state/animation/built-in/model-index.js.map +0 -1
  1374. package/lib/commonjs/mol-plugin-state/animation/built-in/spin-structure.js.map +0 -1
  1375. package/lib/commonjs/mol-plugin-state/animation/built-in/state-interpolation.js.map +0 -1
  1376. package/lib/commonjs/mol-plugin-state/animation/built-in/state-snapshots.js.map +0 -1
  1377. package/lib/commonjs/mol-plugin-state/animation/helpers.js.map +0 -1
  1378. package/lib/commonjs/mol-plugin-state/animation/model.js.map +0 -1
  1379. package/lib/commonjs/mol-plugin-state/builder/data.js.map +0 -1
  1380. package/lib/commonjs/mol-plugin-state/builder/preset-provider.js.map +0 -1
  1381. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy-preset.js.map +0 -1
  1382. package/lib/commonjs/mol-plugin-state/builder/structure/hierarchy.js.map +0 -1
  1383. package/lib/commonjs/mol-plugin-state/builder/structure/representation-preset.js.map +0 -1
  1384. package/lib/commonjs/mol-plugin-state/builder/structure/representation.js.map +0 -1
  1385. package/lib/commonjs/mol-plugin-state/builder/structure.js.map +0 -1
  1386. package/lib/commonjs/mol-plugin-state/component.js.map +0 -1
  1387. package/lib/commonjs/mol-plugin-state/formats/provider.js.map +0 -1
  1388. package/lib/commonjs/mol-plugin-state/formats/registry.js.map +0 -1
  1389. package/lib/commonjs/mol-plugin-state/formats/shape.js.map +0 -1
  1390. package/lib/commonjs/mol-plugin-state/formats/structure.js.map +0 -1
  1391. package/lib/commonjs/mol-plugin-state/formats/trajectory.js.map +0 -1
  1392. package/lib/commonjs/mol-plugin-state/formats/volume.js.map +0 -1
  1393. package/lib/commonjs/mol-plugin-state/helpers/root-structure.js.map +0 -1
  1394. package/lib/commonjs/mol-plugin-state/helpers/structure-clipping.js.map +0 -1
  1395. package/lib/commonjs/mol-plugin-state/helpers/structure-component.js.map +0 -1
  1396. package/lib/commonjs/mol-plugin-state/helpers/structure-overpaint.js.map +0 -1
  1397. package/lib/commonjs/mol-plugin-state/helpers/structure-query.js.map +0 -1
  1398. package/lib/commonjs/mol-plugin-state/helpers/structure-representation-params.js.map +0 -1
  1399. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js.map +0 -1
  1400. package/lib/commonjs/mol-plugin-state/helpers/structure-transparency.js.map +0 -1
  1401. package/lib/commonjs/mol-plugin-state/helpers/volume-representation-params.js.map +0 -1
  1402. package/lib/commonjs/mol-plugin-state/manager/animation.js.map +0 -1
  1403. package/lib/commonjs/mol-plugin-state/manager/camera.js.map +0 -1
  1404. package/lib/commonjs/mol-plugin-state/manager/interactivity.js.map +0 -1
  1405. package/lib/commonjs/mol-plugin-state/manager/loci-label.js.map +0 -1
  1406. package/lib/commonjs/mol-plugin-state/manager/snapshots.js.map +0 -1
  1407. package/lib/commonjs/mol-plugin-state/manager/structure/component.js.map +0 -1
  1408. package/lib/commonjs/mol-plugin-state/manager/structure/focus.js.map +0 -1
  1409. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy-state.js.map +0 -1
  1410. package/lib/commonjs/mol-plugin-state/manager/structure/hierarchy.js.map +0 -1
  1411. package/lib/commonjs/mol-plugin-state/manager/structure/measurement.js.map +0 -1
  1412. package/lib/commonjs/mol-plugin-state/manager/structure/selection.js.map +0 -1
  1413. package/lib/commonjs/mol-plugin-state/manager/volume/hierarchy-state.js.map +0 -1
  1414. package/lib/commonjs/mol-plugin-state/manager/volume/hierarchy.js.map +0 -1
  1415. package/lib/commonjs/mol-plugin-state/objects.js.map +0 -1
  1416. package/lib/commonjs/mol-plugin-state/transforms/data.js.map +0 -1
  1417. package/lib/commonjs/mol-plugin-state/transforms/helpers.js.map +0 -1
  1418. package/lib/commonjs/mol-plugin-state/transforms/misc.js.map +0 -1
  1419. package/lib/commonjs/mol-plugin-state/transforms/model.js.map +0 -1
  1420. package/lib/commonjs/mol-plugin-state/transforms/representation.js.map +0 -1
  1421. package/lib/commonjs/mol-plugin-state/transforms/shape.js.map +0 -1
  1422. package/lib/commonjs/mol-plugin-state/transforms/volume.js.map +0 -1
  1423. package/lib/commonjs/mol-plugin-state/transforms.js.map +0 -1
  1424. package/lib/commonjs/mol-plugin-ui/base.js.map +0 -1
  1425. package/lib/commonjs/mol-plugin-ui/context.js.map +0 -1
  1426. package/lib/commonjs/mol-plugin-ui/controls/action-menu.js.map +0 -1
  1427. package/lib/commonjs/mol-plugin-ui/controls/color.js.map +0 -1
  1428. package/lib/commonjs/mol-plugin-ui/controls/common.js.map +0 -1
  1429. package/lib/commonjs/mol-plugin-ui/controls/icons.js.map +0 -1
  1430. package/lib/commonjs/mol-plugin-ui/controls/legend.js.map +0 -1
  1431. package/lib/commonjs/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +0 -1
  1432. package/lib/commonjs/mol-plugin-ui/controls/line-graph/point-component.js.map +0 -1
  1433. package/lib/commonjs/mol-plugin-ui/controls/parameters.js.map +0 -1
  1434. package/lib/commonjs/mol-plugin-ui/controls/screenshot.js.map +0 -1
  1435. package/lib/commonjs/mol-plugin-ui/controls/slider.js.map +0 -1
  1436. package/lib/commonjs/mol-plugin-ui/controls.js.map +0 -1
  1437. package/lib/commonjs/mol-plugin-ui/custom/volume.js.map +0 -1
  1438. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js.map +0 -1
  1439. package/lib/commonjs/mol-plugin-ui/index.js.map +0 -1
  1440. package/lib/commonjs/mol-plugin-ui/left-panel.js.map +0 -1
  1441. package/lib/commonjs/mol-plugin-ui/plugin.js.map +0 -1
  1442. package/lib/commonjs/mol-plugin-ui/sequence/chain.js.map +0 -1
  1443. package/lib/commonjs/mol-plugin-ui/sequence/element.js.map +0 -1
  1444. package/lib/commonjs/mol-plugin-ui/sequence/hetero.js.map +0 -1
  1445. package/lib/commonjs/mol-plugin-ui/sequence/polymer.js.map +0 -1
  1446. package/lib/commonjs/mol-plugin-ui/sequence/sequence.js.map +0 -1
  1447. package/lib/commonjs/mol-plugin-ui/sequence/wrapper.js.map +0 -1
  1448. package/lib/commonjs/mol-plugin-ui/sequence.js.map +0 -1
  1449. package/lib/commonjs/mol-plugin-ui/spec.js.map +0 -1
  1450. package/lib/commonjs/mol-plugin-ui/state/actions.js.map +0 -1
  1451. package/lib/commonjs/mol-plugin-ui/state/animation.js.map +0 -1
  1452. package/lib/commonjs/mol-plugin-ui/state/apply-action.js.map +0 -1
  1453. package/lib/commonjs/mol-plugin-ui/state/common.js.map +0 -1
  1454. package/lib/commonjs/mol-plugin-ui/state/snapshots.js.map +0 -1
  1455. package/lib/commonjs/mol-plugin-ui/state/tree.js.map +0 -1
  1456. package/lib/commonjs/mol-plugin-ui/state/update-transform.js.map +0 -1
  1457. package/lib/commonjs/mol-plugin-ui/structure/components.js.map +0 -1
  1458. package/lib/commonjs/mol-plugin-ui/structure/focus.js.map +0 -1
  1459. package/lib/commonjs/mol-plugin-ui/structure/generic.js.map +0 -1
  1460. package/lib/commonjs/mol-plugin-ui/structure/measurements.js.map +0 -1
  1461. package/lib/commonjs/mol-plugin-ui/structure/selection.js.map +0 -1
  1462. package/lib/commonjs/mol-plugin-ui/structure/source.js.map +0 -1
  1463. package/lib/commonjs/mol-plugin-ui/structure/superposition.js.map +0 -1
  1464. package/lib/commonjs/mol-plugin-ui/structure/volume.js.map +0 -1
  1465. package/lib/commonjs/mol-plugin-ui/task.js.map +0 -1
  1466. package/lib/commonjs/mol-plugin-ui/toast.js.map +0 -1
  1467. package/lib/commonjs/mol-plugin-ui/viewport/canvas.js.map +0 -1
  1468. package/lib/commonjs/mol-plugin-ui/viewport/help.js.map +0 -1
  1469. package/lib/commonjs/mol-plugin-ui/viewport/screenshot.js.map +0 -1
  1470. package/lib/commonjs/mol-plugin-ui/viewport/simple-settings.js.map +0 -1
  1471. package/lib/commonjs/mol-plugin-ui/viewport.js.map +0 -1
  1472. package/lib/commonjs/mol-repr/representation.js.map +0 -1
  1473. package/lib/commonjs/mol-repr/shape/loci/angle.js.map +0 -1
  1474. package/lib/commonjs/mol-repr/shape/loci/common.js.map +0 -1
  1475. package/lib/commonjs/mol-repr/shape/loci/dihedral.js.map +0 -1
  1476. package/lib/commonjs/mol-repr/shape/loci/distance.js.map +0 -1
  1477. package/lib/commonjs/mol-repr/shape/loci/label.js.map +0 -1
  1478. package/lib/commonjs/mol-repr/shape/loci/orientation.js.map +0 -1
  1479. package/lib/commonjs/mol-repr/shape/loci/plane.js.map +0 -1
  1480. package/lib/commonjs/mol-repr/shape/model/unitcell.js.map +0 -1
  1481. package/lib/commonjs/mol-repr/shape/representation.js.map +0 -1
  1482. package/lib/commonjs/mol-repr/structure/complex-representation.js.map +0 -1
  1483. package/lib/commonjs/mol-repr/structure/complex-visual.js.map +0 -1
  1484. package/lib/commonjs/mol-repr/structure/params.js.map +0 -1
  1485. package/lib/commonjs/mol-repr/structure/registry.js.map +0 -1
  1486. package/lib/commonjs/mol-repr/structure/representation/backbone.js.map +0 -1
  1487. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.js.map +0 -1
  1488. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.js.map +0 -1
  1489. package/lib/commonjs/mol-repr/structure/representation/cartoon.js.map +0 -1
  1490. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.js.map +0 -1
  1491. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.js.map +0 -1
  1492. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.js.map +0 -1
  1493. package/lib/commonjs/mol-repr/structure/representation/label.js.map +0 -1
  1494. package/lib/commonjs/mol-repr/structure/representation/line.js.map +0 -1
  1495. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.js.map +0 -1
  1496. package/lib/commonjs/mol-repr/structure/representation/orientation.js.map +0 -1
  1497. package/lib/commonjs/mol-repr/structure/representation/point.js.map +0 -1
  1498. package/lib/commonjs/mol-repr/structure/representation/putty.js.map +0 -1
  1499. package/lib/commonjs/mol-repr/structure/representation/spacefill.js.map +0 -1
  1500. package/lib/commonjs/mol-repr/structure/representation.js.map +0 -1
  1501. package/lib/commonjs/mol-repr/structure/units-representation.js.map +0 -1
  1502. package/lib/commonjs/mol-repr/structure/units-visual.js.map +0 -1
  1503. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +0 -1
  1504. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.js.map +0 -1
  1505. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +0 -1
  1506. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.js.map +0 -1
  1507. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.js.map +0 -1
  1508. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.js.map +0 -1
  1509. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.js.map +0 -1
  1510. package/lib/commonjs/mol-repr/structure/visual/element-cross.js.map +0 -1
  1511. package/lib/commonjs/mol-repr/structure/visual/element-point.js.map +0 -1
  1512. package/lib/commonjs/mol-repr/structure/visual/element-sphere.js.map +0 -1
  1513. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.js.map +0 -1
  1514. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js.map +0 -1
  1515. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js.map +0 -1
  1516. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js.map +0 -1
  1517. package/lib/commonjs/mol-repr/structure/visual/label-text.js.map +0 -1
  1518. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js.map +0 -1
  1519. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js.map +0 -1
  1520. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.js.map +0 -1
  1521. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.js.map +0 -1
  1522. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.js.map +0 -1
  1523. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.js.map +0 -1
  1524. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.js.map +0 -1
  1525. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.js.map +0 -1
  1526. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.js.map +0 -1
  1527. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.js.map +0 -1
  1528. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.js.map +0 -1
  1529. package/lib/commonjs/mol-repr/structure/visual/util/bond.js.map +0 -1
  1530. package/lib/commonjs/mol-repr/structure/visual/util/common.js.map +0 -1
  1531. package/lib/commonjs/mol-repr/structure/visual/util/element.js.map +0 -1
  1532. package/lib/commonjs/mol-repr/structure/visual/util/gaussian.js.map +0 -1
  1533. package/lib/commonjs/mol-repr/structure/visual/util/link.js.map +0 -1
  1534. package/lib/commonjs/mol-repr/structure/visual/util/molecular-surface.js.map +0 -1
  1535. package/lib/commonjs/mol-repr/structure/visual/util/nucleotide.js.map +0 -1
  1536. package/lib/commonjs/mol-repr/structure/visual/util/polymer/backbone.js.map +0 -1
  1537. package/lib/commonjs/mol-repr/structure/visual/util/polymer/curve-segment.js.map +0 -1
  1538. package/lib/commonjs/mol-repr/structure/visual/util/polymer/gap-iterator.js.map +0 -1
  1539. package/lib/commonjs/mol-repr/structure/visual/util/polymer/trace-iterator.js.map +0 -1
  1540. package/lib/commonjs/mol-repr/structure/visual/util/polymer.js.map +0 -1
  1541. package/lib/commonjs/mol-repr/util.js.map +0 -1
  1542. package/lib/commonjs/mol-repr/visual.js.map +0 -1
  1543. package/lib/commonjs/mol-repr/volume/direct-volume.js.map +0 -1
  1544. package/lib/commonjs/mol-repr/volume/isosurface.js.map +0 -1
  1545. package/lib/commonjs/mol-repr/volume/registry.js.map +0 -1
  1546. package/lib/commonjs/mol-repr/volume/representation.js.map +0 -1
  1547. package/lib/commonjs/mol-repr/volume/slice.js.map +0 -1
  1548. package/lib/commonjs/mol-repr/volume/util.js.map +0 -1
  1549. package/lib/commonjs/mol-script/compiler.js.map +0 -1
  1550. package/lib/commonjs/mol-script/language/builder.js.map +0 -1
  1551. package/lib/commonjs/mol-script/language/container.js.map +0 -1
  1552. package/lib/commonjs/mol-script/language/expression-formatter.js.map +0 -1
  1553. package/lib/commonjs/mol-script/language/expression.js.map +0 -1
  1554. package/lib/commonjs/mol-script/language/helpers.js.map +0 -1
  1555. package/lib/commonjs/mol-script/language/parser.js.map +0 -1
  1556. package/lib/commonjs/mol-script/language/symbol-table/core.js.map +0 -1
  1557. package/lib/commonjs/mol-script/language/symbol-table/internal.js.map +0 -1
  1558. package/lib/commonjs/mol-script/language/symbol-table/structure-query.js.map +0 -1
  1559. package/lib/commonjs/mol-script/language/symbol-table.js.map +0 -1
  1560. package/lib/commonjs/mol-script/language/symbol.js.map +0 -1
  1561. package/lib/commonjs/mol-script/language/type.js.map +0 -1
  1562. package/lib/commonjs/mol-script/runtime/environment.js.map +0 -1
  1563. package/lib/commonjs/mol-script/runtime/expression.js.map +0 -1
  1564. package/lib/commonjs/mol-script/runtime/query/base.js.map +0 -1
  1565. package/lib/commonjs/mol-script/runtime/query/compiler.js.map +0 -1
  1566. package/lib/commonjs/mol-script/runtime/query/table.js.map +0 -1
  1567. package/lib/commonjs/mol-script/runtime/runtime-macro.js.map +0 -1
  1568. package/lib/commonjs/mol-script/runtime/symbol.js.map +0 -1
  1569. package/lib/commonjs/mol-script/script/mol-script/examples.js.map +0 -1
  1570. package/lib/commonjs/mol-script/script/mol-script/parser.js.map +0 -1
  1571. package/lib/commonjs/mol-script/script/mol-script/script-macro.js.map +0 -1
  1572. package/lib/commonjs/mol-script/script/mol-script/symbols.js.map +0 -1
  1573. package/lib/commonjs/mol-script/script/parser.js.map +0 -1
  1574. package/lib/commonjs/mol-script/script.js.map +0 -1
  1575. package/lib/commonjs/mol-script/util/id-list.js.map +0 -1
  1576. package/lib/commonjs/mol-state/action/manager.js.map +0 -1
  1577. package/lib/commonjs/mol-state/action.js.map +0 -1
  1578. package/lib/commonjs/mol-state/index.js.map +0 -1
  1579. package/lib/commonjs/mol-state/object.js.map +0 -1
  1580. package/lib/commonjs/mol-state/state/builder.js.map +0 -1
  1581. package/lib/commonjs/mol-state/state/selection.js.map +0 -1
  1582. package/lib/commonjs/mol-state/state.js.map +0 -1
  1583. package/lib/commonjs/mol-state/transform.js.map +0 -1
  1584. package/lib/commonjs/mol-state/transformer.js.map +0 -1
  1585. package/lib/commonjs/mol-state/tree/immutable.js.map +0 -1
  1586. package/lib/commonjs/mol-state/tree/spine.js.map +0 -1
  1587. package/lib/commonjs/mol-state/tree/transient.js.map +0 -1
  1588. package/lib/commonjs/mol-state/tree.js.map +0 -1
  1589. package/lib/commonjs/mol-task/execution/observable.js.map +0 -1
  1590. package/lib/commonjs/mol-task/execution/progress.js.map +0 -1
  1591. package/lib/commonjs/mol-task/execution/runtime-context.js.map +0 -1
  1592. package/lib/commonjs/mol-task/execution/synchronous.js.map +0 -1
  1593. package/lib/commonjs/mol-task/index.js.map +0 -1
  1594. package/lib/commonjs/mol-task/task.js.map +0 -1
  1595. package/lib/commonjs/mol-task/util/chunked.js.map +0 -1
  1596. package/lib/commonjs/mol-task/util/multistep.js.map +0 -1
  1597. package/lib/commonjs/mol-task/util/scheduler.js.map +0 -1
  1598. package/lib/commonjs/mol-task/util/user-timing.js.map +0 -1
  1599. package/lib/commonjs/mol-theme/clipping.js.map +0 -1
  1600. package/lib/commonjs/mol-theme/color/atom-id.js.map +0 -1
  1601. package/lib/commonjs/mol-theme/color/carbohydrate-symbol.js.map +0 -1
  1602. package/lib/commonjs/mol-theme/color/chain-id.js.map +0 -1
  1603. package/lib/commonjs/mol-theme/color/element-index.js.map +0 -1
  1604. package/lib/commonjs/mol-theme/color/element-symbol.js.map +0 -1
  1605. package/lib/commonjs/mol-theme/color/entity-id.js.map +0 -1
  1606. package/lib/commonjs/mol-theme/color/entity-source.js.map +0 -1
  1607. package/lib/commonjs/mol-theme/color/hydrophobicity.js.map +0 -1
  1608. package/lib/commonjs/mol-theme/color/illustrative.js.map +0 -1
  1609. package/lib/commonjs/mol-theme/color/model-index.js.map +0 -1
  1610. package/lib/commonjs/mol-theme/color/molecule-type.js.map +0 -1
  1611. package/lib/commonjs/mol-theme/color/occupancy.js.map +0 -1
  1612. package/lib/commonjs/mol-theme/color/operator-hkl.js.map +0 -1
  1613. package/lib/commonjs/mol-theme/color/operator-name.js.map +0 -1
  1614. package/lib/commonjs/mol-theme/color/partial-charge.js.map +0 -1
  1615. package/lib/commonjs/mol-theme/color/polymer-id.js.map +0 -1
  1616. package/lib/commonjs/mol-theme/color/polymer-index.js.map +0 -1
  1617. package/lib/commonjs/mol-theme/color/residue-name.js.map +0 -1
  1618. package/lib/commonjs/mol-theme/color/secondary-structure.js.map +0 -1
  1619. package/lib/commonjs/mol-theme/color/sequence-id.js.map +0 -1
  1620. package/lib/commonjs/mol-theme/color/shape-group.js.map +0 -1
  1621. package/lib/commonjs/mol-theme/color/uncertainty.js.map +0 -1
  1622. package/lib/commonjs/mol-theme/color/uniform.js.map +0 -1
  1623. package/lib/commonjs/mol-theme/color/unit-index.js.map +0 -1
  1624. package/lib/commonjs/mol-theme/color.js.map +0 -1
  1625. package/lib/commonjs/mol-theme/label.js.map +0 -1
  1626. package/lib/commonjs/mol-theme/overpaint.js.map +0 -1
  1627. package/lib/commonjs/mol-theme/size/physical.js.map +0 -1
  1628. package/lib/commonjs/mol-theme/size/shape-group.js.map +0 -1
  1629. package/lib/commonjs/mol-theme/size/uncertainty.js.map +0 -1
  1630. package/lib/commonjs/mol-theme/size/uniform.js.map +0 -1
  1631. package/lib/commonjs/mol-theme/size.js.map +0 -1
  1632. package/lib/commonjs/mol-theme/theme.js.map +0 -1
  1633. package/lib/commonjs/mol-theme/transparency.js.map +0 -1
  1634. package/lib/commonjs/mol-util/_spec/id-factory.spec.d.ts +0 -6
  1635. package/lib/commonjs/mol-util/_spec/id-factory.spec.js +0 -33
  1636. package/lib/commonjs/mol-util/_spec/id-factory.spec.js.map +0 -1
  1637. package/lib/commonjs/mol-util/_spec/monadic-parser.spec.d.ts +0 -6
  1638. package/lib/commonjs/mol-util/_spec/monadic-parser.spec.js +0 -46
  1639. package/lib/commonjs/mol-util/_spec/monadic-parser.spec.js.map +0 -1
  1640. package/lib/commonjs/mol-util/_spec/reference-cache.spec.d.ts +0 -6
  1641. package/lib/commonjs/mol-util/_spec/reference-cache.spec.js +0 -31
  1642. package/lib/commonjs/mol-util/_spec/reference-cache.spec.js.map +0 -1
  1643. package/lib/commonjs/mol-util/_spec/string-builder.spec.d.ts +0 -6
  1644. package/lib/commonjs/mol-util/_spec/string-builder.spec.js +0 -33
  1645. package/lib/commonjs/mol-util/_spec/string-builder.spec.js.map +0 -1
  1646. package/lib/commonjs/mol-util/_spec/zip.spec.d.ts +0 -6
  1647. package/lib/commonjs/mol-util/_spec/zip.spec.js +0 -49
  1648. package/lib/commonjs/mol-util/_spec/zip.spec.js.map +0 -1
  1649. package/lib/commonjs/mol-util/array.js.map +0 -1
  1650. package/lib/commonjs/mol-util/assets.js.map +0 -1
  1651. package/lib/commonjs/mol-util/async-queue.js.map +0 -1
  1652. package/lib/commonjs/mol-util/binding.js.map +0 -1
  1653. package/lib/commonjs/mol-util/bit-flags.js.map +0 -1
  1654. package/lib/commonjs/mol-util/color/color.js.map +0 -1
  1655. package/lib/commonjs/mol-util/color/distinct.js.map +0 -1
  1656. package/lib/commonjs/mol-util/color/index.js.map +0 -1
  1657. package/lib/commonjs/mol-util/color/lists.js.map +0 -1
  1658. package/lib/commonjs/mol-util/color/names.js.map +0 -1
  1659. package/lib/commonjs/mol-util/color/palette.js.map +0 -1
  1660. package/lib/commonjs/mol-util/color/scale.js.map +0 -1
  1661. package/lib/commonjs/mol-util/color/spaces/hcl.js.map +0 -1
  1662. package/lib/commonjs/mol-util/color/spaces/lab.js.map +0 -1
  1663. package/lib/commonjs/mol-util/color/swatches.js.map +0 -1
  1664. package/lib/commonjs/mol-util/console-logger.js.map +0 -1
  1665. package/lib/commonjs/mol-util/data-source.js.map +0 -1
  1666. package/lib/commonjs/mol-util/date.js.map +0 -1
  1667. package/lib/commonjs/mol-util/debug.js.map +0 -1
  1668. package/lib/commonjs/mol-util/download.js.map +0 -1
  1669. package/lib/commonjs/mol-util/file-info.js.map +0 -1
  1670. package/lib/commonjs/mol-util/float-packing.js.map +0 -1
  1671. package/lib/commonjs/mol-util/graphql-client.js.map +0 -1
  1672. package/lib/commonjs/mol-util/id-factory.js.map +0 -1
  1673. package/lib/commonjs/mol-util/image.js.map +0 -1
  1674. package/lib/commonjs/mol-util/index.js.map +0 -1
  1675. package/lib/commonjs/mol-util/input/event-offset.js.map +0 -1
  1676. package/lib/commonjs/mol-util/input/input-observer.js.map +0 -1
  1677. package/lib/commonjs/mol-util/is-little-endian.js.map +0 -1
  1678. package/lib/commonjs/mol-util/legend.js.map +0 -1
  1679. package/lib/commonjs/mol-util/log-entry.js.map +0 -1
  1680. package/lib/commonjs/mol-util/lru-cache.js.map +0 -1
  1681. package/lib/commonjs/mol-util/make-dir.js.map +0 -1
  1682. package/lib/commonjs/mol-util/map.js.map +0 -1
  1683. package/lib/commonjs/mol-util/marker-action.js.map +0 -1
  1684. package/lib/commonjs/mol-util/mask.js.map +0 -1
  1685. package/lib/commonjs/mol-util/memoize.js.map +0 -1
  1686. package/lib/commonjs/mol-util/monadic-parser.js.map +0 -1
  1687. package/lib/commonjs/mol-util/now.js.map +0 -1
  1688. package/lib/commonjs/mol-util/number.js.map +0 -1
  1689. package/lib/commonjs/mol-util/object.js.map +0 -1
  1690. package/lib/commonjs/mol-util/param-definition.js.map +0 -1
  1691. package/lib/commonjs/mol-util/param-mapping.js.map +0 -1
  1692. package/lib/commonjs/mol-util/performance-monitor.js.map +0 -1
  1693. package/lib/commonjs/mol-util/polyfill.js.map +0 -1
  1694. package/lib/commonjs/mol-util/read.js.map +0 -1
  1695. package/lib/commonjs/mol-util/reference-cache.js.map +0 -1
  1696. package/lib/commonjs/mol-util/retry-if.js.map +0 -1
  1697. package/lib/commonjs/mol-util/rx-event-helper.js.map +0 -1
  1698. package/lib/commonjs/mol-util/set.js.map +0 -1
  1699. package/lib/commonjs/mol-util/sleep.js.map +0 -1
  1700. package/lib/commonjs/mol-util/string-builder.js.map +0 -1
  1701. package/lib/commonjs/mol-util/string.js.map +0 -1
  1702. package/lib/commonjs/mol-util/type-helpers.js.map +0 -1
  1703. package/lib/commonjs/mol-util/url.js.map +0 -1
  1704. package/lib/commonjs/mol-util/uuid.js.map +0 -1
  1705. package/lib/commonjs/mol-util/value-cell.js.map +0 -1
  1706. package/lib/commonjs/mol-util/zip/bin.js.map +0 -1
  1707. package/lib/commonjs/mol-util/zip/checksum.js.map +0 -1
  1708. package/lib/commonjs/mol-util/zip/deflate.js.map +0 -1
  1709. package/lib/commonjs/mol-util/zip/huffman.js.map +0 -1
  1710. package/lib/commonjs/mol-util/zip/inflate.js.map +0 -1
  1711. package/lib/commonjs/mol-util/zip/util.js.map +0 -1
  1712. package/lib/commonjs/mol-util/zip/zip.js.map +0 -1
  1713. package/lib/commonjs/perf-tests/binary-search.d.ts +0 -23
  1714. package/lib/commonjs/perf-tests/binary-search.js +0 -154
  1715. package/lib/commonjs/perf-tests/binary-search.js.map +0 -1
  1716. package/lib/commonjs/perf-tests/chunked-array-vs-native.d.ts +0 -1
  1717. package/lib/commonjs/perf-tests/chunked-array-vs-native.js +0 -43
  1718. package/lib/commonjs/perf-tests/chunked-array-vs-native.js.map +0 -1
  1719. package/lib/commonjs/perf-tests/cif-encoder.d.ts +0 -6
  1720. package/lib/commonjs/perf-tests/cif-encoder.js +0 -58
  1721. package/lib/commonjs/perf-tests/cif-encoder.js.map +0 -1
  1722. package/lib/commonjs/perf-tests/column.d.ts +0 -4
  1723. package/lib/commonjs/perf-tests/column.js +0 -78
  1724. package/lib/commonjs/perf-tests/column.js.map +0 -1
  1725. package/lib/commonjs/perf-tests/iterators.d.ts +0 -13
  1726. package/lib/commonjs/perf-tests/iterators.js +0 -215
  1727. package/lib/commonjs/perf-tests/iterators.js.map +0 -1
  1728. package/lib/commonjs/perf-tests/lookup3d.d.ts +0 -8
  1729. package/lib/commonjs/perf-tests/lookup3d.js +0 -89
  1730. package/lib/commonjs/perf-tests/lookup3d.js.map +0 -1
  1731. package/lib/commonjs/perf-tests/markers-average.d.ts +0 -1
  1732. package/lib/commonjs/perf-tests/markers-average.js +0 -195
  1733. package/lib/commonjs/perf-tests/markers-average.js.map +0 -1
  1734. package/lib/commonjs/perf-tests/mol-script.d.ts +0 -1
  1735. package/lib/commonjs/perf-tests/mol-script.js +0 -99
  1736. package/lib/commonjs/perf-tests/mol-script.js.map +0 -1
  1737. package/lib/commonjs/perf-tests/sets.d.ts +0 -37
  1738. package/lib/commonjs/perf-tests/sets.js +0 -438
  1739. package/lib/commonjs/perf-tests/sets.js.map +0 -1
  1740. package/lib/commonjs/perf-tests/sort.d.ts +0 -3
  1741. package/lib/commonjs/perf-tests/sort.js +0 -81
  1742. package/lib/commonjs/perf-tests/sort.js.map +0 -1
  1743. package/lib/commonjs/perf-tests/state.d.ts +0 -0
  1744. package/lib/commonjs/perf-tests/state.js +0 -112
  1745. package/lib/commonjs/perf-tests/state.js.map +0 -1
  1746. package/lib/commonjs/perf-tests/string-builder.d.ts +0 -3
  1747. package/lib/commonjs/perf-tests/string-builder.js +0 -57
  1748. package/lib/commonjs/perf-tests/string-builder.js.map +0 -1
  1749. package/lib/commonjs/perf-tests/structure.d.ts +0 -24
  1750. package/lib/commonjs/perf-tests/structure.js +0 -529
  1751. package/lib/commonjs/perf-tests/structure.js.map +0 -1
  1752. package/lib/commonjs/perf-tests/tasks.d.ts +0 -18
  1753. package/lib/commonjs/perf-tests/tasks.js +0 -327
  1754. package/lib/commonjs/perf-tests/tasks.js.map +0 -1
  1755. package/lib/commonjs/perf-tests/test-xtc.d.ts +0 -6
  1756. package/lib/commonjs/perf-tests/test-xtc.js +0 -39
  1757. package/lib/commonjs/perf-tests/test-xtc.js.map +0 -1
  1758. package/lib/commonjs/servers/common/file-handle.js.map +0 -1
  1759. package/lib/commonjs/servers/common/swagger-ui/index.js.map +0 -1
  1760. package/lib/commonjs/servers/common/swagger-ui/indexTemplate.js.map +0 -1
  1761. package/lib/commonjs/servers/common/util.js.map +0 -1
  1762. package/lib/commonjs/servers/model/config.js.map +0 -1
  1763. package/lib/commonjs/servers/model/preprocess/converter.js.map +0 -1
  1764. package/lib/commonjs/servers/model/preprocess/master.js.map +0 -1
  1765. package/lib/commonjs/servers/model/preprocess/parallel.js.map +0 -1
  1766. package/lib/commonjs/servers/model/preprocess/preprocess.js.map +0 -1
  1767. package/lib/commonjs/servers/model/preprocess/util.js.map +0 -1
  1768. package/lib/commonjs/servers/model/preprocess.js.map +0 -1
  1769. package/lib/commonjs/servers/model/properties/pdbe.js.map +0 -1
  1770. package/lib/commonjs/servers/model/properties/providers/pdbe.js.map +0 -1
  1771. package/lib/commonjs/servers/model/properties/providers/wwpdb.js.map +0 -1
  1772. package/lib/commonjs/servers/model/properties/wwpdb.js.map +0 -1
  1773. package/lib/commonjs/servers/model/property-provider.js.map +0 -1
  1774. package/lib/commonjs/servers/model/query/atoms.js.map +0 -1
  1775. package/lib/commonjs/servers/model/query/schemas.js.map +0 -1
  1776. package/lib/commonjs/servers/model/query.js.map +0 -1
  1777. package/lib/commonjs/servers/model/server/api-local.js.map +0 -1
  1778. package/lib/commonjs/servers/model/server/api-schema.js.map +0 -1
  1779. package/lib/commonjs/servers/model/server/api-web-multiple.js.map +0 -1
  1780. package/lib/commonjs/servers/model/server/api-web.js.map +0 -1
  1781. package/lib/commonjs/servers/model/server/api.js.map +0 -1
  1782. package/lib/commonjs/servers/model/server/cache.js.map +0 -1
  1783. package/lib/commonjs/servers/model/server/jobs.js.map +0 -1
  1784. package/lib/commonjs/servers/model/server/query.js.map +0 -1
  1785. package/lib/commonjs/servers/model/server/structure-wrapper.js.map +0 -1
  1786. package/lib/commonjs/servers/model/server.js.map +0 -1
  1787. package/lib/commonjs/servers/model/test.js.map +0 -1
  1788. package/lib/commonjs/servers/model/utils/fetch-props-pdbe.js.map +0 -1
  1789. package/lib/commonjs/servers/model/utils/fetch-retry.js.map +0 -1
  1790. package/lib/commonjs/servers/model/utils/tar.js.map +0 -1
  1791. package/lib/commonjs/servers/model/utils/writer.js.map +0 -1
  1792. package/lib/commonjs/servers/model/version.js.map +0 -1
  1793. package/lib/commonjs/servers/plugin-state/api-schema.js.map +0 -1
  1794. package/lib/commonjs/servers/plugin-state/config.js.map +0 -1
  1795. package/lib/commonjs/servers/plugin-state/index.js.map +0 -1
  1796. package/lib/commonjs/servers/plugin-state/version.js.map +0 -1
  1797. package/lib/commonjs/servers/volume/common/binary-schema.js.map +0 -1
  1798. package/lib/commonjs/servers/volume/common/data-format.js.map +0 -1
  1799. package/lib/commonjs/servers/volume/common/file.js.map +0 -1
  1800. package/lib/commonjs/servers/volume/config.js.map +0 -1
  1801. package/lib/commonjs/servers/volume/pack/data-model.js.map +0 -1
  1802. package/lib/commonjs/servers/volume/pack/downsampling.js.map +0 -1
  1803. package/lib/commonjs/servers/volume/pack/format/ccp4.js.map +0 -1
  1804. package/lib/commonjs/servers/volume/pack/format/dsn6.js.map +0 -1
  1805. package/lib/commonjs/servers/volume/pack/format.js.map +0 -1
  1806. package/lib/commonjs/servers/volume/pack/main.js.map +0 -1
  1807. package/lib/commonjs/servers/volume/pack/sampling.js.map +0 -1
  1808. package/lib/commonjs/servers/volume/pack/version.js.map +0 -1
  1809. package/lib/commonjs/servers/volume/pack/writer.js.map +0 -1
  1810. package/lib/commonjs/servers/volume/pack.js.map +0 -1
  1811. package/lib/commonjs/servers/volume/query.js.map +0 -1
  1812. package/lib/commonjs/servers/volume/server/algebra/box.js.map +0 -1
  1813. package/lib/commonjs/servers/volume/server/algebra/coordinate.js.map +0 -1
  1814. package/lib/commonjs/servers/volume/server/api.js.map +0 -1
  1815. package/lib/commonjs/servers/volume/server/local-api.js.map +0 -1
  1816. package/lib/commonjs/servers/volume/server/query/compose.js.map +0 -1
  1817. package/lib/commonjs/servers/volume/server/query/data-model.js.map +0 -1
  1818. package/lib/commonjs/servers/volume/server/query/encode.js.map +0 -1
  1819. package/lib/commonjs/servers/volume/server/query/execute.js.map +0 -1
  1820. package/lib/commonjs/servers/volume/server/query/identify.js.map +0 -1
  1821. package/lib/commonjs/servers/volume/server/state.js.map +0 -1
  1822. package/lib/commonjs/servers/volume/server/version.js.map +0 -1
  1823. package/lib/commonjs/servers/volume/server/web-api.js.map +0 -1
  1824. package/lib/commonjs/servers/volume/server/web-schema.js.map +0 -1
  1825. package/lib/commonjs/servers/volume/server.js.map +0 -1
  1826. package/lib/commonjs/tests/browser/font-atlas.d.ts +0 -6
  1827. package/lib/commonjs/tests/browser/font-atlas.js +0 -38
  1828. package/lib/commonjs/tests/browser/font-atlas.js.map +0 -1
  1829. package/lib/commonjs/tests/browser/marching-cubes.d.ts +0 -6
  1830. package/lib/commonjs/tests/browser/marching-cubes.js +0 -144
  1831. package/lib/commonjs/tests/browser/marching-cubes.js.map +0 -1
  1832. package/lib/commonjs/tests/browser/parse-xtc.d.ts +0 -6
  1833. package/lib/commonjs/tests/browser/parse-xtc.js +0 -42
  1834. package/lib/commonjs/tests/browser/parse-xtc.js.map +0 -1
  1835. package/lib/commonjs/tests/browser/render-lines.d.ts +0 -6
  1836. package/lib/commonjs/tests/browser/render-lines.js +0 -42
  1837. package/lib/commonjs/tests/browser/render-lines.js.map +0 -1
  1838. package/lib/commonjs/tests/browser/render-mesh.d.ts +0 -6
  1839. package/lib/commonjs/tests/browser/render-mesh.js +0 -51
  1840. package/lib/commonjs/tests/browser/render-mesh.js.map +0 -1
  1841. package/lib/commonjs/tests/browser/render-shape.d.ts +0 -7
  1842. package/lib/commonjs/tests/browser/render-shape.js +0 -168
  1843. package/lib/commonjs/tests/browser/render-shape.js.map +0 -1
  1844. package/lib/commonjs/tests/browser/render-spheres.d.ts +0 -6
  1845. package/lib/commonjs/tests/browser/render-spheres.js +0 -41
  1846. package/lib/commonjs/tests/browser/render-spheres.js.map +0 -1
  1847. package/lib/commonjs/tests/browser/render-structure.d.ts +0 -6
  1848. package/lib/commonjs/tests/browser/render-structure.js +0 -289
  1849. package/lib/commonjs/tests/browser/render-structure.js.map +0 -1
  1850. package/lib/commonjs/tests/browser/render-text.d.ts +0 -6
  1851. package/lib/commonjs/tests/browser/render-text.js +0 -61
  1852. package/lib/commonjs/tests/browser/render-text.js.map +0 -1
  1853. package/lib/examples/alpha-orbitals/controls.js.map +0 -1
  1854. package/lib/examples/alpha-orbitals/example-data.js.map +0 -1
  1855. package/lib/examples/alpha-orbitals/index.js.map +0 -1
  1856. package/lib/examples/basic-wrapper/coloring.js.map +0 -1
  1857. package/lib/examples/basic-wrapper/controls.js.map +0 -1
  1858. package/lib/examples/basic-wrapper/custom-theme.js.map +0 -1
  1859. package/lib/examples/basic-wrapper/index.js.map +0 -1
  1860. package/lib/examples/basic-wrapper/superposition.js.map +0 -1
  1861. package/lib/examples/domain-annotation-server/mapping.js.map +0 -1
  1862. package/lib/examples/domain-annotation-server/schemas.js.map +0 -1
  1863. package/lib/examples/domain-annotation-server/server.js.map +0 -1
  1864. package/lib/examples/domain-annotation-server/test.js.map +0 -1
  1865. package/lib/examples/lighting/index.js.map +0 -1
  1866. package/lib/examples/proteopedia-wrapper/annotation.js.map +0 -1
  1867. package/lib/examples/proteopedia-wrapper/coloring.js.map +0 -1
  1868. package/lib/examples/proteopedia-wrapper/helpers.js.map +0 -1
  1869. package/lib/examples/proteopedia-wrapper/index.js.map +0 -1
  1870. package/lib/examples/proteopedia-wrapper/ui/controls.js.map +0 -1
  1871. package/lib/examples/task.js.map +0 -1
  1872. package/lib/extensions/alpha-orbitals/_spec/collocation.spec.d.ts +0 -6
  1873. package/lib/extensions/alpha-orbitals/_spec/collocation.spec.js +0 -217
  1874. package/lib/extensions/alpha-orbitals/_spec/collocation.spec.js.map +0 -1
  1875. package/lib/extensions/alpha-orbitals/collocation.js.map +0 -1
  1876. package/lib/extensions/alpha-orbitals/data-model.js.map +0 -1
  1877. package/lib/extensions/alpha-orbitals/density.js.map +0 -1
  1878. package/lib/extensions/alpha-orbitals/gpu/compute.js.map +0 -1
  1879. package/lib/extensions/alpha-orbitals/gpu/shader.frag.js.map +0 -1
  1880. package/lib/extensions/alpha-orbitals/orbitals.js.map +0 -1
  1881. package/lib/extensions/alpha-orbitals/spherical-functions.js.map +0 -1
  1882. package/lib/extensions/alpha-orbitals/transforms.js.map +0 -1
  1883. package/lib/extensions/anvil/algorithm.js.map +0 -1
  1884. package/lib/extensions/anvil/behavior.js.map +0 -1
  1885. package/lib/extensions/anvil/prop.js.map +0 -1
  1886. package/lib/extensions/anvil/representation.js.map +0 -1
  1887. package/lib/extensions/cellpack/color/generate.js.map +0 -1
  1888. package/lib/extensions/cellpack/color/provided.js.map +0 -1
  1889. package/lib/extensions/cellpack/curve.js.map +0 -1
  1890. package/lib/extensions/cellpack/data.js.map +0 -1
  1891. package/lib/extensions/cellpack/index.js.map +0 -1
  1892. package/lib/extensions/cellpack/model.js.map +0 -1
  1893. package/lib/extensions/cellpack/preset.js.map +0 -1
  1894. package/lib/extensions/cellpack/property.js.map +0 -1
  1895. package/lib/extensions/cellpack/representation.js.map +0 -1
  1896. package/lib/extensions/cellpack/state.js.map +0 -1
  1897. package/lib/extensions/cellpack/util.js.map +0 -1
  1898. package/lib/extensions/dnatco/confal-pyramids/behavior.js.map +0 -1
  1899. package/lib/extensions/dnatco/confal-pyramids/color.js.map +0 -1
  1900. package/lib/extensions/dnatco/confal-pyramids/property.js.map +0 -1
  1901. package/lib/extensions/dnatco/confal-pyramids/representation.js.map +0 -1
  1902. package/lib/extensions/dnatco/confal-pyramids/types.js.map +0 -1
  1903. package/lib/extensions/dnatco/confal-pyramids/util.js.map +0 -1
  1904. package/lib/extensions/dnatco/index.js.map +0 -1
  1905. package/lib/extensions/g3d/data.js.map +0 -1
  1906. package/lib/extensions/g3d/format.js.map +0 -1
  1907. package/lib/extensions/g3d/model.js.map +0 -1
  1908. package/lib/extensions/geo-export/controls.js.map +0 -1
  1909. package/lib/extensions/geo-export/glb-exporter.js.map +0 -1
  1910. package/lib/extensions/geo-export/index.js.map +0 -1
  1911. package/lib/extensions/geo-export/mesh-exporter.js.map +0 -1
  1912. package/lib/extensions/geo-export/obj-exporter.js.map +0 -1
  1913. package/lib/extensions/geo-export/render-object-exporter.js.map +0 -1
  1914. package/lib/extensions/geo-export/stl-exporter.js.map +0 -1
  1915. package/lib/extensions/geo-export/ui.js.map +0 -1
  1916. package/lib/extensions/geo-export/usdz-exporter.js.map +0 -1
  1917. package/lib/extensions/mp4-export/controls.js.map +0 -1
  1918. package/lib/extensions/mp4-export/encoder.js.map +0 -1
  1919. package/lib/extensions/mp4-export/index.js.map +0 -1
  1920. package/lib/extensions/mp4-export/ui.js.map +0 -1
  1921. package/lib/extensions/pdbe/index.js.map +0 -1
  1922. package/lib/extensions/pdbe/preferred-assembly.js.map +0 -1
  1923. package/lib/extensions/pdbe/struct-ref-domain.js.map +0 -1
  1924. package/lib/extensions/pdbe/structure-quality-report/behavior.js.map +0 -1
  1925. package/lib/extensions/pdbe/structure-quality-report/color.js.map +0 -1
  1926. package/lib/extensions/pdbe/structure-quality-report/prop.js.map +0 -1
  1927. package/lib/extensions/rcsb/assembly-symmetry/behavior.js.map +0 -1
  1928. package/lib/extensions/rcsb/assembly-symmetry/color.js.map +0 -1
  1929. package/lib/extensions/rcsb/assembly-symmetry/prop.js.map +0 -1
  1930. package/lib/extensions/rcsb/assembly-symmetry/representation.js.map +0 -1
  1931. package/lib/extensions/rcsb/assembly-symmetry/ui.js.map +0 -1
  1932. package/lib/extensions/rcsb/graphql/symmetry.gql.js.map +0 -1
  1933. package/lib/extensions/rcsb/graphql/types.js.map +0 -1
  1934. package/lib/extensions/rcsb/index.js.map +0 -1
  1935. package/lib/extensions/rcsb/validation-report/behavior.js.map +0 -1
  1936. package/lib/extensions/rcsb/validation-report/color/density-fit.js.map +0 -1
  1937. package/lib/extensions/rcsb/validation-report/color/geometry-quality.js.map +0 -1
  1938. package/lib/extensions/rcsb/validation-report/color/random-coil-index.js.map +0 -1
  1939. package/lib/extensions/rcsb/validation-report/prop.js.map +0 -1
  1940. package/lib/extensions/rcsb/validation-report/representation.js.map +0 -1
  1941. package/lib/mol-canvas3d/camera/stereo.js.map +0 -1
  1942. package/lib/mol-canvas3d/camera/transition.js.map +0 -1
  1943. package/lib/mol-canvas3d/camera/util.js.map +0 -1
  1944. package/lib/mol-canvas3d/camera.js.map +0 -1
  1945. package/lib/mol-canvas3d/canvas3d.js.map +0 -1
  1946. package/lib/mol-canvas3d/controls/object.js.map +0 -1
  1947. package/lib/mol-canvas3d/controls/trackball.js.map +0 -1
  1948. package/lib/mol-canvas3d/helper/bounding-sphere-helper.js.map +0 -1
  1949. package/lib/mol-canvas3d/helper/camera-helper.js.map +0 -1
  1950. package/lib/mol-canvas3d/helper/handle-helper.js.map +0 -1
  1951. package/lib/mol-canvas3d/helper/helper.js.map +0 -1
  1952. package/lib/mol-canvas3d/helper/interaction-events.js.map +0 -1
  1953. package/lib/mol-canvas3d/passes/draw.js.map +0 -1
  1954. package/lib/mol-canvas3d/passes/fxaa.js.map +0 -1
  1955. package/lib/mol-canvas3d/passes/image.js.map +0 -1
  1956. package/lib/mol-canvas3d/passes/marking.js.map +0 -1
  1957. package/lib/mol-canvas3d/passes/multi-sample.js.map +0 -1
  1958. package/lib/mol-canvas3d/passes/passes.js.map +0 -1
  1959. package/lib/mol-canvas3d/passes/pick.js.map +0 -1
  1960. package/lib/mol-canvas3d/passes/postprocessing.js.map +0 -1
  1961. package/lib/mol-canvas3d/passes/smaa.js.map +0 -1
  1962. package/lib/mol-canvas3d/passes/wboit.js.map +0 -1
  1963. package/lib/mol-canvas3d/util.js.map +0 -1
  1964. package/lib/mol-data/_spec/equiv-index.spec.d.ts +0 -6
  1965. package/lib/mol-data/_spec/equiv-index.spec.js +0 -17
  1966. package/lib/mol-data/_spec/equiv-index.spec.js.map +0 -1
  1967. package/lib/mol-data/_spec/iterators.spec.d.ts +0 -6
  1968. package/lib/mol-data/_spec/iterators.spec.js +0 -28
  1969. package/lib/mol-data/_spec/iterators.spec.js.map +0 -1
  1970. package/lib/mol-data/_spec/sort.spec.d.ts +0 -6
  1971. package/lib/mol-data/_spec/sort.spec.js +0 -88
  1972. package/lib/mol-data/_spec/sort.spec.js.map +0 -1
  1973. package/lib/mol-data/db/_spec/table.spec.d.ts +0 -7
  1974. package/lib/mol-data/db/_spec/table.spec.js +0 -115
  1975. package/lib/mol-data/db/_spec/table.spec.js.map +0 -1
  1976. package/lib/mol-data/db/column-helpers.js.map +0 -1
  1977. package/lib/mol-data/db/column.js.map +0 -1
  1978. package/lib/mol-data/db/database.js.map +0 -1
  1979. package/lib/mol-data/db/table.js.map +0 -1
  1980. package/lib/mol-data/db.js.map +0 -1
  1981. package/lib/mol-data/generic/_spec/linked-list.spec.d.ts +0 -6
  1982. package/lib/mol-data/generic/_spec/linked-list.spec.js +0 -58
  1983. package/lib/mol-data/generic/_spec/linked-list.spec.js.map +0 -1
  1984. package/lib/mol-data/generic/hash-set.js.map +0 -1
  1985. package/lib/mol-data/generic/linked-list.js.map +0 -1
  1986. package/lib/mol-data/generic/unique-array.js.map +0 -1
  1987. package/lib/mol-data/generic.js.map +0 -1
  1988. package/lib/mol-data/index.js.map +0 -1
  1989. package/lib/mol-data/int/_spec/interval.spec.d.ts +0 -6
  1990. package/lib/mol-data/int/_spec/interval.spec.js +0 -65
  1991. package/lib/mol-data/int/_spec/interval.spec.js.map +0 -1
  1992. package/lib/mol-data/int/_spec/linked-index.spec.d.ts +0 -6
  1993. package/lib/mol-data/int/_spec/linked-index.spec.js +0 -45
  1994. package/lib/mol-data/int/_spec/linked-index.spec.js.map +0 -1
  1995. package/lib/mol-data/int/_spec/ordered-set.spec.d.ts +0 -6
  1996. package/lib/mol-data/int/_spec/ordered-set.spec.js +0 -170
  1997. package/lib/mol-data/int/_spec/ordered-set.spec.js.map +0 -1
  1998. package/lib/mol-data/int/_spec/segmentation.spec.d.ts +0 -6
  1999. package/lib/mol-data/int/_spec/segmentation.spec.js +0 -110
  2000. package/lib/mol-data/int/_spec/segmentation.spec.js.map +0 -1
  2001. package/lib/mol-data/int/_spec/sorted-array.spec.d.ts +0 -6
  2002. package/lib/mol-data/int/_spec/sorted-array.spec.js +0 -83
  2003. package/lib/mol-data/int/_spec/sorted-array.spec.js.map +0 -1
  2004. package/lib/mol-data/int/_spec/sorted-ranges.spec.d.ts +0 -6
  2005. package/lib/mol-data/int/_spec/sorted-ranges.spec.js +0 -41
  2006. package/lib/mol-data/int/_spec/sorted-ranges.spec.js.map +0 -1
  2007. package/lib/mol-data/int/_spec/tuple.spec.d.ts +0 -6
  2008. package/lib/mol-data/int/_spec/tuple.spec.js +0 -18
  2009. package/lib/mol-data/int/_spec/tuple.spec.js.map +0 -1
  2010. package/lib/mol-data/int/impl/interval.js.map +0 -1
  2011. package/lib/mol-data/int/impl/ordered-set.js.map +0 -1
  2012. package/lib/mol-data/int/impl/segmentation.js.map +0 -1
  2013. package/lib/mol-data/int/impl/sorted-array.js.map +0 -1
  2014. package/lib/mol-data/int/interval.js.map +0 -1
  2015. package/lib/mol-data/int/linked-index.js.map +0 -1
  2016. package/lib/mol-data/int/map.js.map +0 -1
  2017. package/lib/mol-data/int/ordered-set.js.map +0 -1
  2018. package/lib/mol-data/int/segmentation.js.map +0 -1
  2019. package/lib/mol-data/int/sorted-array.js.map +0 -1
  2020. package/lib/mol-data/int/sorted-ranges.js.map +0 -1
  2021. package/lib/mol-data/int/tuple.js.map +0 -1
  2022. package/lib/mol-data/int.js.map +0 -1
  2023. package/lib/mol-data/iterator.js.map +0 -1
  2024. package/lib/mol-data/util/_spec/buckets.spec.d.ts +0 -6
  2025. package/lib/mol-data/util/_spec/buckets.spec.js +0 -38
  2026. package/lib/mol-data/util/_spec/buckets.spec.js.map +0 -1
  2027. package/lib/mol-data/util/_spec/chunked-array.spec.d.ts +0 -6
  2028. package/lib/mol-data/util/_spec/chunked-array.spec.js +0 -46
  2029. package/lib/mol-data/util/_spec/chunked-array.spec.js.map +0 -1
  2030. package/lib/mol-data/util/_spec/combination.spec.d.ts +0 -6
  2031. package/lib/mol-data/util/_spec/combination.spec.js +0 -25
  2032. package/lib/mol-data/util/_spec/combination.spec.js.map +0 -1
  2033. package/lib/mol-data/util/_spec/interval-iterator.spec.d.ts +0 -6
  2034. package/lib/mol-data/util/_spec/interval-iterator.spec.js +0 -26
  2035. package/lib/mol-data/util/_spec/interval-iterator.spec.js.map +0 -1
  2036. package/lib/mol-data/util/array.js.map +0 -1
  2037. package/lib/mol-data/util/buckets.js.map +0 -1
  2038. package/lib/mol-data/util/chunked-array.js.map +0 -1
  2039. package/lib/mol-data/util/combination.js.map +0 -1
  2040. package/lib/mol-data/util/equivalence-classes.js.map +0 -1
  2041. package/lib/mol-data/util/grouping.js.map +0 -1
  2042. package/lib/mol-data/util/hash-functions.js.map +0 -1
  2043. package/lib/mol-data/util/interval-iterator.js.map +0 -1
  2044. package/lib/mol-data/util/sort.js.map +0 -1
  2045. package/lib/mol-data/util.js.map +0 -1
  2046. package/lib/mol-geo/geometry/base.js.map +0 -1
  2047. package/lib/mol-geo/geometry/clipping-data.js.map +0 -1
  2048. package/lib/mol-geo/geometry/color-data.js.map +0 -1
  2049. package/lib/mol-geo/geometry/cylinders/cylinders-builder.js.map +0 -1
  2050. package/lib/mol-geo/geometry/cylinders/cylinders.js.map +0 -1
  2051. package/lib/mol-geo/geometry/direct-volume/direct-volume.js.map +0 -1
  2052. package/lib/mol-geo/geometry/direct-volume/transfer-function.js.map +0 -1
  2053. package/lib/mol-geo/geometry/geometry.js.map +0 -1
  2054. package/lib/mol-geo/geometry/image/image.js.map +0 -1
  2055. package/lib/mol-geo/geometry/lines/lines-builder.js.map +0 -1
  2056. package/lib/mol-geo/geometry/lines/lines.js.map +0 -1
  2057. package/lib/mol-geo/geometry/marker-data.js.map +0 -1
  2058. package/lib/mol-geo/geometry/mesh/builder/axes.js.map +0 -1
  2059. package/lib/mol-geo/geometry/mesh/builder/box.js.map +0 -1
  2060. package/lib/mol-geo/geometry/mesh/builder/cylinder.js.map +0 -1
  2061. package/lib/mol-geo/geometry/mesh/builder/ellipsoid.js.map +0 -1
  2062. package/lib/mol-geo/geometry/mesh/builder/ribbon.js.map +0 -1
  2063. package/lib/mol-geo/geometry/mesh/builder/sheet.js.map +0 -1
  2064. package/lib/mol-geo/geometry/mesh/builder/sphere.js.map +0 -1
  2065. package/lib/mol-geo/geometry/mesh/builder/tube.js.map +0 -1
  2066. package/lib/mol-geo/geometry/mesh/color-smoothing.js.map +0 -1
  2067. package/lib/mol-geo/geometry/mesh/laplacian-smoothing.js.map +0 -1
  2068. package/lib/mol-geo/geometry/mesh/mesh-builder.js.map +0 -1
  2069. package/lib/mol-geo/geometry/mesh/mesh.js.map +0 -1
  2070. package/lib/mol-geo/geometry/overpaint-data.js.map +0 -1
  2071. package/lib/mol-geo/geometry/picking.js.map +0 -1
  2072. package/lib/mol-geo/geometry/points/points-builder.js.map +0 -1
  2073. package/lib/mol-geo/geometry/points/points.js.map +0 -1
  2074. package/lib/mol-geo/geometry/size-data.js.map +0 -1
  2075. package/lib/mol-geo/geometry/spheres/spheres-builder.js.map +0 -1
  2076. package/lib/mol-geo/geometry/spheres/spheres.js.map +0 -1
  2077. package/lib/mol-geo/geometry/text/font-atlas.js.map +0 -1
  2078. package/lib/mol-geo/geometry/text/text-builder.js.map +0 -1
  2079. package/lib/mol-geo/geometry/text/text.js.map +0 -1
  2080. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js.map +0 -1
  2081. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js.map +0 -1
  2082. package/lib/mol-geo/geometry/transform-data.js.map +0 -1
  2083. package/lib/mol-geo/geometry/transparency-data.js.map +0 -1
  2084. package/lib/mol-geo/primitive/box.js.map +0 -1
  2085. package/lib/mol-geo/primitive/cage.js.map +0 -1
  2086. package/lib/mol-geo/primitive/circle.js.map +0 -1
  2087. package/lib/mol-geo/primitive/cylinder.js.map +0 -1
  2088. package/lib/mol-geo/primitive/dodecahedron.js.map +0 -1
  2089. package/lib/mol-geo/primitive/icosahedron.js.map +0 -1
  2090. package/lib/mol-geo/primitive/octahedron.js.map +0 -1
  2091. package/lib/mol-geo/primitive/plane.js.map +0 -1
  2092. package/lib/mol-geo/primitive/polygon.js.map +0 -1
  2093. package/lib/mol-geo/primitive/polyhedron.js.map +0 -1
  2094. package/lib/mol-geo/primitive/primitive.js.map +0 -1
  2095. package/lib/mol-geo/primitive/prism.js.map +0 -1
  2096. package/lib/mol-geo/primitive/pyramid.js.map +0 -1
  2097. package/lib/mol-geo/primitive/sphere.js.map +0 -1
  2098. package/lib/mol-geo/primitive/spiked-ball.js.map +0 -1
  2099. package/lib/mol-geo/primitive/star.js.map +0 -1
  2100. package/lib/mol-geo/primitive/tetrahedron.js.map +0 -1
  2101. package/lib/mol-geo/primitive/torus.js.map +0 -1
  2102. package/lib/mol-geo/primitive/wedge.js.map +0 -1
  2103. package/lib/mol-geo/util/location-iterator.js.map +0 -1
  2104. package/lib/mol-geo/util/marching-cubes/algorithm.js.map +0 -1
  2105. package/lib/mol-geo/util/marching-cubes/builder.js.map +0 -1
  2106. package/lib/mol-geo/util/marching-cubes/tables.js.map +0 -1
  2107. package/lib/mol-geo/util.js.map +0 -1
  2108. package/lib/mol-gl/_spec/cylinders.spec.d.ts +0 -6
  2109. package/lib/mol-gl/_spec/cylinders.spec.js +0 -38
  2110. package/lib/mol-gl/_spec/cylinders.spec.js.map +0 -1
  2111. package/lib/mol-gl/_spec/direct-volume.spec.d.ts +0 -6
  2112. package/lib/mol-gl/_spec/direct-volume.spec.js +0 -38
  2113. package/lib/mol-gl/_spec/direct-volume.spec.js.map +0 -1
  2114. package/lib/mol-gl/_spec/gl.d.ts +0 -9
  2115. package/lib/mol-gl/_spec/gl.js +0 -28
  2116. package/lib/mol-gl/_spec/gl.js.map +0 -1
  2117. package/lib/mol-gl/_spec/gl.shim.d.ts +0 -6
  2118. package/lib/mol-gl/_spec/gl.shim.js +0 -627
  2119. package/lib/mol-gl/_spec/gl.shim.js.map +0 -1
  2120. package/lib/mol-gl/_spec/image.spec.d.ts +0 -6
  2121. package/lib/mol-gl/_spec/image.spec.js +0 -38
  2122. package/lib/mol-gl/_spec/image.spec.js.map +0 -1
  2123. package/lib/mol-gl/_spec/lines.spec.d.ts +0 -6
  2124. package/lib/mol-gl/_spec/lines.spec.js +0 -38
  2125. package/lib/mol-gl/_spec/lines.spec.js.map +0 -1
  2126. package/lib/mol-gl/_spec/mesh.spec.d.ts +0 -6
  2127. package/lib/mol-gl/_spec/mesh.spec.js +0 -38
  2128. package/lib/mol-gl/_spec/mesh.spec.js.map +0 -1
  2129. package/lib/mol-gl/_spec/points.spec.d.ts +0 -6
  2130. package/lib/mol-gl/_spec/points.spec.js +0 -38
  2131. package/lib/mol-gl/_spec/points.spec.js.map +0 -1
  2132. package/lib/mol-gl/_spec/renderable.spec.d.ts +0 -6
  2133. package/lib/mol-gl/_spec/renderable.spec.js +0 -36
  2134. package/lib/mol-gl/_spec/renderable.spec.js.map +0 -1
  2135. package/lib/mol-gl/_spec/renderer.spec.d.ts +0 -12
  2136. package/lib/mol-gl/_spec/renderer.spec.js +0 -67
  2137. package/lib/mol-gl/_spec/renderer.spec.js.map +0 -1
  2138. package/lib/mol-gl/_spec/spheres.spec.d.ts +0 -6
  2139. package/lib/mol-gl/_spec/spheres.spec.js +0 -38
  2140. package/lib/mol-gl/_spec/spheres.spec.js.map +0 -1
  2141. package/lib/mol-gl/_spec/text.spec.d.ts +0 -6
  2142. package/lib/mol-gl/_spec/text.spec.js +0 -38
  2143. package/lib/mol-gl/_spec/text.spec.js.map +0 -1
  2144. package/lib/mol-gl/_spec/texture-mesh.spec.d.ts +0 -6
  2145. package/lib/mol-gl/_spec/texture-mesh.spec.js +0 -38
  2146. package/lib/mol-gl/_spec/texture-mesh.spec.js.map +0 -1
  2147. package/lib/mol-gl/commit-queue.js.map +0 -1
  2148. package/lib/mol-gl/compute/grid3d.js.map +0 -1
  2149. package/lib/mol-gl/compute/histogram-pyramid/reduction.js.map +0 -1
  2150. package/lib/mol-gl/compute/histogram-pyramid/sum.js.map +0 -1
  2151. package/lib/mol-gl/compute/marching-cubes/active-voxels.js.map +0 -1
  2152. package/lib/mol-gl/compute/marching-cubes/isosurface.js.map +0 -1
  2153. package/lib/mol-gl/compute/marching-cubes/tables.js.map +0 -1
  2154. package/lib/mol-gl/compute/util.js.map +0 -1
  2155. package/lib/mol-gl/object3d.js.map +0 -1
  2156. package/lib/mol-gl/render-object.js.map +0 -1
  2157. package/lib/mol-gl/renderable/cylinders.js.map +0 -1
  2158. package/lib/mol-gl/renderable/direct-volume.js.map +0 -1
  2159. package/lib/mol-gl/renderable/image.js.map +0 -1
  2160. package/lib/mol-gl/renderable/lines.js.map +0 -1
  2161. package/lib/mol-gl/renderable/mesh.js.map +0 -1
  2162. package/lib/mol-gl/renderable/points.js.map +0 -1
  2163. package/lib/mol-gl/renderable/schema.js.map +0 -1
  2164. package/lib/mol-gl/renderable/spheres.js.map +0 -1
  2165. package/lib/mol-gl/renderable/text.js.map +0 -1
  2166. package/lib/mol-gl/renderable/texture-mesh.js.map +0 -1
  2167. package/lib/mol-gl/renderable/util.js.map +0 -1
  2168. package/lib/mol-gl/renderable.js.map +0 -1
  2169. package/lib/mol-gl/renderer.js.map +0 -1
  2170. package/lib/mol-gl/scene.js.map +0 -1
  2171. package/lib/mol-gl/shader/chunks/apply-fog.glsl.js.map +0 -1
  2172. package/lib/mol-gl/shader/chunks/apply-interior-color.glsl.js.map +0 -1
  2173. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js.map +0 -1
  2174. package/lib/mol-gl/shader/chunks/apply-marker-color.glsl.js.map +0 -1
  2175. package/lib/mol-gl/shader/chunks/assign-clipping-varying.glsl.js.map +0 -1
  2176. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js.map +0 -1
  2177. package/lib/mol-gl/shader/chunks/assign-group.glsl.js.map +0 -1
  2178. package/lib/mol-gl/shader/chunks/assign-marker-varying.glsl.js.map +0 -1
  2179. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js.map +0 -1
  2180. package/lib/mol-gl/shader/chunks/assign-position.glsl.js.map +0 -1
  2181. package/lib/mol-gl/shader/chunks/assign-size.glsl.js.map +0 -1
  2182. package/lib/mol-gl/shader/chunks/check-picking-alpha.glsl.js.map +0 -1
  2183. package/lib/mol-gl/shader/chunks/clip-instance.glsl.js.map +0 -1
  2184. package/lib/mol-gl/shader/chunks/clip-pixel.glsl.js.map +0 -1
  2185. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js.map +0 -1
  2186. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js.map +0 -1
  2187. package/lib/mol-gl/shader/chunks/common-clip.glsl.js.map +0 -1
  2188. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js.map +0 -1
  2189. package/lib/mol-gl/shader/chunks/common-vert-params.glsl.js.map +0 -1
  2190. package/lib/mol-gl/shader/chunks/common.glsl.js.map +0 -1
  2191. package/lib/mol-gl/shader/chunks/float-to-rgba.glsl.js.map +0 -1
  2192. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.js.map +0 -1
  2193. package/lib/mol-gl/shader/chunks/matrix-scale.glsl.js.map +0 -1
  2194. package/lib/mol-gl/shader/chunks/normal-frag-params.glsl.js.map +0 -1
  2195. package/lib/mol-gl/shader/chunks/read-from-texture.glsl.js.map +0 -1
  2196. package/lib/mol-gl/shader/chunks/rgba-to-float.glsl.js.map +0 -1
  2197. package/lib/mol-gl/shader/chunks/size-vert-params.glsl.js.map +0 -1
  2198. package/lib/mol-gl/shader/chunks/texture3d-from-1d-trilinear.glsl.js.map +0 -1
  2199. package/lib/mol-gl/shader/chunks/texture3d-from-2d-linear.glsl.js.map +0 -1
  2200. package/lib/mol-gl/shader/chunks/texture3d-from-2d-nearest.glsl.js.map +0 -1
  2201. package/lib/mol-gl/shader/chunks/wboit-write.glsl.js.map +0 -1
  2202. package/lib/mol-gl/shader/compose.frag.js.map +0 -1
  2203. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.frag.js.map +0 -1
  2204. package/lib/mol-gl/shader/compute/color-smoothing/accumulate.vert.js.map +0 -1
  2205. package/lib/mol-gl/shader/compute/color-smoothing/normalize.frag.js.map +0 -1
  2206. package/lib/mol-gl/shader/copy.frag.js.map +0 -1
  2207. package/lib/mol-gl/shader/cylinders.frag.js.map +0 -1
  2208. package/lib/mol-gl/shader/cylinders.vert.js.map +0 -1
  2209. package/lib/mol-gl/shader/depth-merge.frag.js.map +0 -1
  2210. package/lib/mol-gl/shader/direct-volume.frag.js.map +0 -1
  2211. package/lib/mol-gl/shader/direct-volume.vert.js.map +0 -1
  2212. package/lib/mol-gl/shader/evaluate-wboit.frag.js.map +0 -1
  2213. package/lib/mol-gl/shader/fxaa.frag.js.map +0 -1
  2214. package/lib/mol-gl/shader/gaussian-density.frag.js.map +0 -1
  2215. package/lib/mol-gl/shader/gaussian-density.vert.js.map +0 -1
  2216. package/lib/mol-gl/shader/histogram-pyramid/reduction.frag.js.map +0 -1
  2217. package/lib/mol-gl/shader/histogram-pyramid/sum.frag.js.map +0 -1
  2218. package/lib/mol-gl/shader/image.frag.js.map +0 -1
  2219. package/lib/mol-gl/shader/image.vert.js.map +0 -1
  2220. package/lib/mol-gl/shader/lines.frag.js.map +0 -1
  2221. package/lib/mol-gl/shader/lines.vert.js.map +0 -1
  2222. package/lib/mol-gl/shader/marching-cubes/active-voxels.frag.js.map +0 -1
  2223. package/lib/mol-gl/shader/marching-cubes/isosurface.frag.js.map +0 -1
  2224. package/lib/mol-gl/shader/marking/edge.frag.js.map +0 -1
  2225. package/lib/mol-gl/shader/marking/overlay.frag.js.map +0 -1
  2226. package/lib/mol-gl/shader/mesh.frag.js.map +0 -1
  2227. package/lib/mol-gl/shader/mesh.vert.js.map +0 -1
  2228. package/lib/mol-gl/shader/outlines.frag.js.map +0 -1
  2229. package/lib/mol-gl/shader/points.frag.js.map +0 -1
  2230. package/lib/mol-gl/shader/points.vert.js.map +0 -1
  2231. package/lib/mol-gl/shader/postprocessing.frag.js.map +0 -1
  2232. package/lib/mol-gl/shader/quad.vert.js.map +0 -1
  2233. package/lib/mol-gl/shader/smaa/blend.frag.js.map +0 -1
  2234. package/lib/mol-gl/shader/smaa/blend.vert.js.map +0 -1
  2235. package/lib/mol-gl/shader/smaa/edges.frag.js.map +0 -1
  2236. package/lib/mol-gl/shader/smaa/edges.vert.js.map +0 -1
  2237. package/lib/mol-gl/shader/smaa/weights.frag.js.map +0 -1
  2238. package/lib/mol-gl/shader/smaa/weights.vert.js.map +0 -1
  2239. package/lib/mol-gl/shader/spheres.frag.js.map +0 -1
  2240. package/lib/mol-gl/shader/spheres.vert.js.map +0 -1
  2241. package/lib/mol-gl/shader/ssao-blur.frag.js.map +0 -1
  2242. package/lib/mol-gl/shader/ssao.frag.js.map +0 -1
  2243. package/lib/mol-gl/shader/text.frag.js.map +0 -1
  2244. package/lib/mol-gl/shader/text.vert.js.map +0 -1
  2245. package/lib/mol-gl/shader/util/grid3d-template.frag.js.map +0 -1
  2246. package/lib/mol-gl/shader-code.js.map +0 -1
  2247. package/lib/mol-gl/webgl/buffer.js.map +0 -1
  2248. package/lib/mol-gl/webgl/compat.js.map +0 -1
  2249. package/lib/mol-gl/webgl/context.js.map +0 -1
  2250. package/lib/mol-gl/webgl/extensions.js.map +0 -1
  2251. package/lib/mol-gl/webgl/framebuffer.js.map +0 -1
  2252. package/lib/mol-gl/webgl/program.js.map +0 -1
  2253. package/lib/mol-gl/webgl/render-item.js.map +0 -1
  2254. package/lib/mol-gl/webgl/render-target.js.map +0 -1
  2255. package/lib/mol-gl/webgl/renderbuffer.js.map +0 -1
  2256. package/lib/mol-gl/webgl/resources.js.map +0 -1
  2257. package/lib/mol-gl/webgl/shader.js.map +0 -1
  2258. package/lib/mol-gl/webgl/state.js.map +0 -1
  2259. package/lib/mol-gl/webgl/texture.js.map +0 -1
  2260. package/lib/mol-gl/webgl/uniform.js.map +0 -1
  2261. package/lib/mol-gl/webgl/vertex-array.js.map +0 -1
  2262. package/lib/mol-io/common/ascii.js.map +0 -1
  2263. package/lib/mol-io/common/binary-cif/array-encoder.js.map +0 -1
  2264. package/lib/mol-io/common/binary-cif/classifier.js.map +0 -1
  2265. package/lib/mol-io/common/binary-cif/decoder.js.map +0 -1
  2266. package/lib/mol-io/common/binary-cif/encoding.js.map +0 -1
  2267. package/lib/mol-io/common/binary-cif.js.map +0 -1
  2268. package/lib/mol-io/common/binary.js.map +0 -1
  2269. package/lib/mol-io/common/file-handle.js.map +0 -1
  2270. package/lib/mol-io/common/msgpack/decode.js.map +0 -1
  2271. package/lib/mol-io/common/msgpack/encode.js.map +0 -1
  2272. package/lib/mol-io/common/simple-buffer.js.map +0 -1
  2273. package/lib/mol-io/common/typed-array.js.map +0 -1
  2274. package/lib/mol-io/common/utf8.js.map +0 -1
  2275. package/lib/mol-io/reader/_spec/ccp4.spec.d.ts +0 -6
  2276. package/lib/mol-io/reader/_spec/ccp4.spec.js +0 -46
  2277. package/lib/mol-io/reader/_spec/ccp4.spec.js.map +0 -1
  2278. package/lib/mol-io/reader/_spec/cif.spec.d.ts +0 -7
  2279. package/lib/mol-io/reader/_spec/cif.spec.js +0 -73
  2280. package/lib/mol-io/reader/_spec/cif.spec.js.map +0 -1
  2281. package/lib/mol-io/reader/_spec/column.spec.d.ts +0 -7
  2282. package/lib/mol-io/reader/_spec/column.spec.js +0 -72
  2283. package/lib/mol-io/reader/_spec/column.spec.js.map +0 -1
  2284. package/lib/mol-io/reader/_spec/common.spec.d.ts +0 -6
  2285. package/lib/mol-io/reader/_spec/common.spec.js +0 -37
  2286. package/lib/mol-io/reader/_spec/common.spec.js.map +0 -1
  2287. package/lib/mol-io/reader/_spec/csv.spec.d.ts +0 -6
  2288. package/lib/mol-io/reader/_spec/csv.spec.js +0 -85
  2289. package/lib/mol-io/reader/_spec/csv.spec.js.map +0 -1
  2290. package/lib/mol-io/reader/_spec/dcd.spec.d.ts +0 -6
  2291. package/lib/mol-io/reader/_spec/dcd.spec.js +0 -69
  2292. package/lib/mol-io/reader/_spec/dcd.spec.js.map +0 -1
  2293. package/lib/mol-io/reader/_spec/gro.spec.d.ts +0 -7
  2294. package/lib/mol-io/reader/_spec/gro.spec.js +0 -79
  2295. package/lib/mol-io/reader/_spec/gro.spec.js.map +0 -1
  2296. package/lib/mol-io/reader/_spec/mol.spec.d.ts +0 -1
  2297. package/lib/mol-io/reader/_spec/mol.spec.js +0 -31
  2298. package/lib/mol-io/reader/_spec/mol.spec.js.map +0 -1
  2299. package/lib/mol-io/reader/_spec/mol2.spec.d.ts +0 -1
  2300. package/lib/mol-io/reader/_spec/mol2.spec.js +0 -161
  2301. package/lib/mol-io/reader/_spec/mol2.spec.js.map +0 -1
  2302. package/lib/mol-io/reader/_spec/ply.spec.d.ts +0 -6
  2303. package/lib/mol-io/reader/_spec/ply.spec.js +0 -66
  2304. package/lib/mol-io/reader/_spec/ply.spec.js.map +0 -1
  2305. package/lib/mol-io/reader/_spec/psf.spec.d.ts +0 -6
  2306. package/lib/mol-io/reader/_spec/psf.spec.js +0 -50
  2307. package/lib/mol-io/reader/_spec/psf.spec.js.map +0 -1
  2308. package/lib/mol-io/reader/_spec/sdf.spec.d.ts +0 -1
  2309. package/lib/mol-io/reader/_spec/sdf.spec.js +0 -103
  2310. package/lib/mol-io/reader/_spec/sdf.spec.js.map +0 -1
  2311. package/lib/mol-io/reader/ccp4/parser.js.map +0 -1
  2312. package/lib/mol-io/reader/ccp4/schema.js.map +0 -1
  2313. package/lib/mol-io/reader/cif/binary/field.js.map +0 -1
  2314. package/lib/mol-io/reader/cif/binary/parser.js.map +0 -1
  2315. package/lib/mol-io/reader/cif/data-model.js.map +0 -1
  2316. package/lib/mol-io/reader/cif/schema/bird.js.map +0 -1
  2317. package/lib/mol-io/reader/cif/schema/ccd-extras.js.map +0 -1
  2318. package/lib/mol-io/reader/cif/schema/ccd.js.map +0 -1
  2319. package/lib/mol-io/reader/cif/schema/cif-core.js.map +0 -1
  2320. package/lib/mol-io/reader/cif/schema/ddl.js.map +0 -1
  2321. package/lib/mol-io/reader/cif/schema/density-server.js.map +0 -1
  2322. package/lib/mol-io/reader/cif/schema/dic.js.map +0 -1
  2323. package/lib/mol-io/reader/cif/schema/mmcif-extras.js.map +0 -1
  2324. package/lib/mol-io/reader/cif/schema/mmcif.js.map +0 -1
  2325. package/lib/mol-io/reader/cif/schema.js.map +0 -1
  2326. package/lib/mol-io/reader/cif/text/parser.js.map +0 -1
  2327. package/lib/mol-io/reader/cif.js.map +0 -1
  2328. package/lib/mol-io/reader/common/binary/column.js.map +0 -1
  2329. package/lib/mol-io/reader/common/text/column/fixed.js.map +0 -1
  2330. package/lib/mol-io/reader/common/text/column/token.js.map +0 -1
  2331. package/lib/mol-io/reader/common/text/number-parser.js.map +0 -1
  2332. package/lib/mol-io/reader/common/text/tokenizer.js.map +0 -1
  2333. package/lib/mol-io/reader/csv/data-model.js.map +0 -1
  2334. package/lib/mol-io/reader/csv/field.js.map +0 -1
  2335. package/lib/mol-io/reader/csv/parser.js.map +0 -1
  2336. package/lib/mol-io/reader/csv/schema.js.map +0 -1
  2337. package/lib/mol-io/reader/cube/parser.js.map +0 -1
  2338. package/lib/mol-io/reader/dcd/parser.js.map +0 -1
  2339. package/lib/mol-io/reader/dsn6/parser.js.map +0 -1
  2340. package/lib/mol-io/reader/dsn6/schema.js.map +0 -1
  2341. package/lib/mol-io/reader/dx/parser.js.map +0 -1
  2342. package/lib/mol-io/reader/gro/parser.js.map +0 -1
  2343. package/lib/mol-io/reader/mol/parser.js.map +0 -1
  2344. package/lib/mol-io/reader/mol2/parser.js.map +0 -1
  2345. package/lib/mol-io/reader/mol2/schema.js.map +0 -1
  2346. package/lib/mol-io/reader/obj/parser.js.map +0 -1
  2347. package/lib/mol-io/reader/pdb/parser.js.map +0 -1
  2348. package/lib/mol-io/reader/pdb/schema.js.map +0 -1
  2349. package/lib/mol-io/reader/ply/parser.js.map +0 -1
  2350. package/lib/mol-io/reader/ply/schema.js.map +0 -1
  2351. package/lib/mol-io/reader/psf/parser.js.map +0 -1
  2352. package/lib/mol-io/reader/result.js.map +0 -1
  2353. package/lib/mol-io/reader/sdf/parser-v3-util.js.map +0 -1
  2354. package/lib/mol-io/reader/sdf/parser.js.map +0 -1
  2355. package/lib/mol-io/reader/xtc/parser.js.map +0 -1
  2356. package/lib/mol-io/reader/xyz/parser.js.map +0 -1
  2357. package/lib/mol-io/utils/short-string-pool.js.map +0 -1
  2358. package/lib/mol-io/writer/_spec/cif.spec.d.ts +0 -1
  2359. package/lib/mol-io/writer/_spec/cif.spec.js +0 -204
  2360. package/lib/mol-io/writer/_spec/cif.spec.js.map +0 -1
  2361. package/lib/mol-io/writer/cif/encoder/binary.js.map +0 -1
  2362. package/lib/mol-io/writer/cif/encoder/text.js.map +0 -1
  2363. package/lib/mol-io/writer/cif/encoder/util.js.map +0 -1
  2364. package/lib/mol-io/writer/cif/encoder.js.map +0 -1
  2365. package/lib/mol-io/writer/cif.js.map +0 -1
  2366. package/lib/mol-io/writer/encoder.js.map +0 -1
  2367. package/lib/mol-io/writer/ligand-encoder.js.map +0 -1
  2368. package/lib/mol-io/writer/mol/encoder.js.map +0 -1
  2369. package/lib/mol-io/writer/mol.js.map +0 -1
  2370. package/lib/mol-io/writer/mol2/encoder.js.map +0 -1
  2371. package/lib/mol-io/writer/mol2.js.map +0 -1
  2372. package/lib/mol-io/writer/sdf.js.map +0 -1
  2373. package/lib/mol-io/writer/writer.js.map +0 -1
  2374. package/lib/mol-math/approx.js.map +0 -1
  2375. package/lib/mol-math/easing.js.map +0 -1
  2376. package/lib/mol-math/geometry/_spec/lookup3d.spec.d.ts +0 -6
  2377. package/lib/mol-math/geometry/_spec/lookup3d.spec.js +0 -48
  2378. package/lib/mol-math/geometry/_spec/lookup3d.spec.js.map +0 -1
  2379. package/lib/mol-math/geometry/_spec/spacegroup.spec.d.ts +0 -6
  2380. package/lib/mol-math/geometry/_spec/spacegroup.spec.js +0 -33
  2381. package/lib/mol-math/geometry/_spec/spacegroup.spec.js.map +0 -1
  2382. package/lib/mol-math/geometry/boundary-helper.js.map +0 -1
  2383. package/lib/mol-math/geometry/boundary.js.map +0 -1
  2384. package/lib/mol-math/geometry/centroid-helper.js.map +0 -1
  2385. package/lib/mol-math/geometry/common.js.map +0 -1
  2386. package/lib/mol-math/geometry/distance-transform.js.map +0 -1
  2387. package/lib/mol-math/geometry/gaussian-density/cpu.js.map +0 -1
  2388. package/lib/mol-math/geometry/gaussian-density/gpu.js.map +0 -1
  2389. package/lib/mol-math/geometry/gaussian-density.js.map +0 -1
  2390. package/lib/mol-math/geometry/lookup3d/common.js.map +0 -1
  2391. package/lib/mol-math/geometry/lookup3d/grid.js.map +0 -1
  2392. package/lib/mol-math/geometry/molecular-surface.js.map +0 -1
  2393. package/lib/mol-math/geometry/primitives/axes3d.js.map +0 -1
  2394. package/lib/mol-math/geometry/primitives/box3d.js.map +0 -1
  2395. package/lib/mol-math/geometry/primitives/sphere3d.js.map +0 -1
  2396. package/lib/mol-math/geometry/spacegroup/cell.js.map +0 -1
  2397. package/lib/mol-math/geometry/spacegroup/construction.js.map +0 -1
  2398. package/lib/mol-math/geometry/spacegroup/tables.js.map +0 -1
  2399. package/lib/mol-math/geometry/symmetry-operator.js.map +0 -1
  2400. package/lib/mol-math/geometry.js.map +0 -1
  2401. package/lib/mol-math/graph/_spec/int-graph.spec.d.ts +0 -6
  2402. package/lib/mol-math/graph/_spec/int-graph.spec.js +0 -38
  2403. package/lib/mol-math/graph/_spec/int-graph.spec.js.map +0 -1
  2404. package/lib/mol-math/graph/int-adjacency-graph.js.map +0 -1
  2405. package/lib/mol-math/graph/inter-unit-graph.js.map +0 -1
  2406. package/lib/mol-math/graph.js.map +0 -1
  2407. package/lib/mol-math/histogram.js.map +0 -1
  2408. package/lib/mol-math/interpolate.js.map +0 -1
  2409. package/lib/mol-math/linear-algebra/3d/common.js.map +0 -1
  2410. package/lib/mol-math/linear-algebra/3d/mat3.js.map +0 -1
  2411. package/lib/mol-math/linear-algebra/3d/mat4.js.map +0 -1
  2412. package/lib/mol-math/linear-algebra/3d/minimize-rmsd.js.map +0 -1
  2413. package/lib/mol-math/linear-algebra/3d/quat.js.map +0 -1
  2414. package/lib/mol-math/linear-algebra/3d/vec2.js.map +0 -1
  2415. package/lib/mol-math/linear-algebra/3d/vec3.js.map +0 -1
  2416. package/lib/mol-math/linear-algebra/3d/vec4.js.map +0 -1
  2417. package/lib/mol-math/linear-algebra/3d.js.map +0 -1
  2418. package/lib/mol-math/linear-algebra/_spec/approx.spec.d.ts +0 -6
  2419. package/lib/mol-math/linear-algebra/_spec/approx.spec.js +0 -75
  2420. package/lib/mol-math/linear-algebra/_spec/approx.spec.js.map +0 -1
  2421. package/lib/mol-math/linear-algebra/_spec/mat3.spec.d.ts +0 -6
  2422. package/lib/mol-math/linear-algebra/_spec/mat3.spec.js +0 -25
  2423. package/lib/mol-math/linear-algebra/_spec/mat3.spec.js.map +0 -1
  2424. package/lib/mol-math/linear-algebra/_spec/mat4.spec.d.ts +0 -6
  2425. package/lib/mol-math/linear-algebra/_spec/mat4.spec.js +0 -21
  2426. package/lib/mol-math/linear-algebra/_spec/mat4.spec.js.map +0 -1
  2427. package/lib/mol-math/linear-algebra/_spec/tensor.spec.d.ts +0 -6
  2428. package/lib/mol-math/linear-algebra/_spec/tensor.spec.js +0 -284
  2429. package/lib/mol-math/linear-algebra/_spec/tensor.spec.js.map +0 -1
  2430. package/lib/mol-math/linear-algebra/_spec/vec3.spec.d.ts +0 -6
  2431. package/lib/mol-math/linear-algebra/_spec/vec3.spec.js +0 -18
  2432. package/lib/mol-math/linear-algebra/_spec/vec3.spec.js.map +0 -1
  2433. package/lib/mol-math/linear-algebra/matrix/evd.js.map +0 -1
  2434. package/lib/mol-math/linear-algebra/matrix/matrix.js.map +0 -1
  2435. package/lib/mol-math/linear-algebra/matrix/principal-axes.js.map +0 -1
  2436. package/lib/mol-math/linear-algebra/matrix/svd.js.map +0 -1
  2437. package/lib/mol-math/linear-algebra/tensor.js.map +0 -1
  2438. package/lib/mol-math/linear-algebra.js.map +0 -1
  2439. package/lib/mol-math/misc.js.map +0 -1
  2440. package/lib/mol-model/custom-property.js.map +0 -1
  2441. package/lib/mol-model/location.js.map +0 -1
  2442. package/lib/mol-model/loci.js.map +0 -1
  2443. package/lib/mol-model/sequence/alignment/_spec/alignment.spec.d.ts +0 -6
  2444. package/lib/mol-model/sequence/alignment/_spec/alignment.spec.js +0 -23
  2445. package/lib/mol-model/sequence/alignment/_spec/alignment.spec.js.map +0 -1
  2446. package/lib/mol-model/sequence/alignment/alignment.js.map +0 -1
  2447. package/lib/mol-model/sequence/alignment/sequence.js.map +0 -1
  2448. package/lib/mol-model/sequence/alignment/substitution-matrix.js.map +0 -1
  2449. package/lib/mol-model/sequence/alignment.js.map +0 -1
  2450. package/lib/mol-model/sequence/constants.js.map +0 -1
  2451. package/lib/mol-model/sequence/sequence.js.map +0 -1
  2452. package/lib/mol-model/sequence.js.map +0 -1
  2453. package/lib/mol-model/shape/provider.js.map +0 -1
  2454. package/lib/mol-model/shape/shape.js.map +0 -1
  2455. package/lib/mol-model/shape.js.map +0 -1
  2456. package/lib/mol-model/structure/coordinates/coordinates.js.map +0 -1
  2457. package/lib/mol-model/structure/coordinates.js.map +0 -1
  2458. package/lib/mol-model/structure/export/categories/atom_site.js.map +0 -1
  2459. package/lib/mol-model/structure/export/categories/atom_site_operator_mapping.js.map +0 -1
  2460. package/lib/mol-model/structure/export/categories/misc.js.map +0 -1
  2461. package/lib/mol-model/structure/export/categories/secondary-structure.js.map +0 -1
  2462. package/lib/mol-model/structure/export/categories/sequence.js.map +0 -1
  2463. package/lib/mol-model/structure/export/categories/utils.js.map +0 -1
  2464. package/lib/mol-model/structure/export/mmcif.js.map +0 -1
  2465. package/lib/mol-model/structure/model/indexing.js.map +0 -1
  2466. package/lib/mol-model/structure/model/model.js.map +0 -1
  2467. package/lib/mol-model/structure/model/properties/atomic/bonds.js.map +0 -1
  2468. package/lib/mol-model/structure/model/properties/atomic/conformation.js.map +0 -1
  2469. package/lib/mol-model/structure/model/properties/atomic/hierarchy.js.map +0 -1
  2470. package/lib/mol-model/structure/model/properties/atomic/measures.js.map +0 -1
  2471. package/lib/mol-model/structure/model/properties/atomic/types.js.map +0 -1
  2472. package/lib/mol-model/structure/model/properties/atomic.js.map +0 -1
  2473. package/lib/mol-model/structure/model/properties/coarse/conformation.js.map +0 -1
  2474. package/lib/mol-model/structure/model/properties/coarse/hierarchy.js.map +0 -1
  2475. package/lib/mol-model/structure/model/properties/coarse.js.map +0 -1
  2476. package/lib/mol-model/structure/model/properties/common.js.map +0 -1
  2477. package/lib/mol-model/structure/model/properties/custom/indexed.js.map +0 -1
  2478. package/lib/mol-model/structure/model/properties/global-transform.js.map +0 -1
  2479. package/lib/mol-model/structure/model/properties/seconday-structure.js.map +0 -1
  2480. package/lib/mol-model/structure/model/properties/sequence.js.map +0 -1
  2481. package/lib/mol-model/structure/model/properties/symmetry.js.map +0 -1
  2482. package/lib/mol-model/structure/model/properties/utils/atomic-derived.js.map +0 -1
  2483. package/lib/mol-model/structure/model/properties/utils/atomic-index.js.map +0 -1
  2484. package/lib/mol-model/structure/model/properties/utils/atomic-ranges.js.map +0 -1
  2485. package/lib/mol-model/structure/model/properties/utils/coarse-keys.js.map +0 -1
  2486. package/lib/mol-model/structure/model/properties/utils/coarse-ranges.js.map +0 -1
  2487. package/lib/mol-model/structure/model/properties/utils/residue-set.js.map +0 -1
  2488. package/lib/mol-model/structure/model/types/ions.js.map +0 -1
  2489. package/lib/mol-model/structure/model/types/lipids.js.map +0 -1
  2490. package/lib/mol-model/structure/model/types.js.map +0 -1
  2491. package/lib/mol-model/structure/model/util.js.map +0 -1
  2492. package/lib/mol-model/structure/model.js.map +0 -1
  2493. package/lib/mol-model/structure/query/context.js.map +0 -1
  2494. package/lib/mol-model/structure/query/predicates.js.map +0 -1
  2495. package/lib/mol-model/structure/query/queries/combinators.js.map +0 -1
  2496. package/lib/mol-model/structure/query/queries/filters.js.map +0 -1
  2497. package/lib/mol-model/structure/query/queries/generators.js.map +0 -1
  2498. package/lib/mol-model/structure/query/queries/internal.js.map +0 -1
  2499. package/lib/mol-model/structure/query/queries/modifiers.js.map +0 -1
  2500. package/lib/mol-model/structure/query/query.js.map +0 -1
  2501. package/lib/mol-model/structure/query/selection.js.map +0 -1
  2502. package/lib/mol-model/structure/query/utils/builders.js.map +0 -1
  2503. package/lib/mol-model/structure/query/utils/structure-distance.js.map +0 -1
  2504. package/lib/mol-model/structure/query/utils/structure-set.js.map +0 -1
  2505. package/lib/mol-model/structure/query.js.map +0 -1
  2506. package/lib/mol-model/structure/structure/carbohydrates/compute.js.map +0 -1
  2507. package/lib/mol-model/structure/structure/carbohydrates/constants.js.map +0 -1
  2508. package/lib/mol-model/structure/structure/carbohydrates/data.js.map +0 -1
  2509. package/lib/mol-model/structure/structure/element/bundle.js.map +0 -1
  2510. package/lib/mol-model/structure/structure/element/element.js.map +0 -1
  2511. package/lib/mol-model/structure/structure/element/location.js.map +0 -1
  2512. package/lib/mol-model/structure/structure/element/loci.js.map +0 -1
  2513. package/lib/mol-model/structure/structure/element/stats.js.map +0 -1
  2514. package/lib/mol-model/structure/structure/element/util.js.map +0 -1
  2515. package/lib/mol-model/structure/structure/element.js.map +0 -1
  2516. package/lib/mol-model/structure/structure/properties.js.map +0 -1
  2517. package/lib/mol-model/structure/structure/structure.js.map +0 -1
  2518. package/lib/mol-model/structure/structure/symmetry.js.map +0 -1
  2519. package/lib/mol-model/structure/structure/unit/bonds/common.js.map +0 -1
  2520. package/lib/mol-model/structure/structure/unit/bonds/data.js.map +0 -1
  2521. package/lib/mol-model/structure/structure/unit/bonds/element-set-intra-bond-cache.js.map +0 -1
  2522. package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js.map +0 -1
  2523. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js.map +0 -1
  2524. package/lib/mol-model/structure/structure/unit/bonds.js.map +0 -1
  2525. package/lib/mol-model/structure/structure/unit/rings/compute.js.map +0 -1
  2526. package/lib/mol-model/structure/structure/unit/rings.js.map +0 -1
  2527. package/lib/mol-model/structure/structure/unit.js.map +0 -1
  2528. package/lib/mol-model/structure/structure/util/boundary.js.map +0 -1
  2529. package/lib/mol-model/structure/structure/util/lookup3d.js.map +0 -1
  2530. package/lib/mol-model/structure/structure/util/polymer.js.map +0 -1
  2531. package/lib/mol-model/structure/structure/util/principal-axes.js.map +0 -1
  2532. package/lib/mol-model/structure/structure/util/subset-builder.js.map +0 -1
  2533. package/lib/mol-model/structure/structure/util/superposition-db-mapping.js.map +0 -1
  2534. package/lib/mol-model/structure/structure/util/superposition.js.map +0 -1
  2535. package/lib/mol-model/structure/structure/util/unique-subset-builder.js.map +0 -1
  2536. package/lib/mol-model/structure/structure/util/unit-transforms.js.map +0 -1
  2537. package/lib/mol-model/structure/structure.js.map +0 -1
  2538. package/lib/mol-model/structure/topology/topology.js.map +0 -1
  2539. package/lib/mol-model/structure/topology.js.map +0 -1
  2540. package/lib/mol-model/structure/trajectory.js.map +0 -1
  2541. package/lib/mol-model/structure/util.js.map +0 -1
  2542. package/lib/mol-model/structure.js.map +0 -1
  2543. package/lib/mol-model/volume/grid.js.map +0 -1
  2544. package/lib/mol-model/volume/volume.js.map +0 -1
  2545. package/lib/mol-model/volume.js.map +0 -1
  2546. package/lib/mol-model-formats/format.js.map +0 -1
  2547. package/lib/mol-model-formats/shape/ply.js.map +0 -1
  2548. package/lib/mol-model-formats/structure/_spec/cif-core.spec.d.ts +0 -6
  2549. package/lib/mol-model-formats/structure/_spec/cif-core.spec.js +0 -49
  2550. package/lib/mol-model-formats/structure/_spec/cif-core.spec.js.map +0 -1
  2551. package/lib/mol-model-formats/structure/_spec/pdb.spec.d.ts +0 -6
  2552. package/lib/mol-model-formats/structure/_spec/pdb.spec.js +0 -24
  2553. package/lib/mol-model-formats/structure/_spec/pdb.spec.js.map +0 -1
  2554. package/lib/mol-model-formats/structure/basic/atomic.js.map +0 -1
  2555. package/lib/mol-model-formats/structure/basic/coarse.js.map +0 -1
  2556. package/lib/mol-model-formats/structure/basic/entities.js.map +0 -1
  2557. package/lib/mol-model-formats/structure/basic/parser.js.map +0 -1
  2558. package/lib/mol-model-formats/structure/basic/properties.js.map +0 -1
  2559. package/lib/mol-model-formats/structure/basic/schema.js.map +0 -1
  2560. package/lib/mol-model-formats/structure/basic/sequence.js.map +0 -1
  2561. package/lib/mol-model-formats/structure/basic/sort.js.map +0 -1
  2562. package/lib/mol-model-formats/structure/basic/util.js.map +0 -1
  2563. package/lib/mol-model-formats/structure/cif-core.js.map +0 -1
  2564. package/lib/mol-model-formats/structure/common/component.js.map +0 -1
  2565. package/lib/mol-model-formats/structure/common/entity.js.map +0 -1
  2566. package/lib/mol-model-formats/structure/common/property.js.map +0 -1
  2567. package/lib/mol-model-formats/structure/common/util.js.map +0 -1
  2568. package/lib/mol-model-formats/structure/cube.js.map +0 -1
  2569. package/lib/mol-model-formats/structure/dcd.js.map +0 -1
  2570. package/lib/mol-model-formats/structure/gro.js.map +0 -1
  2571. package/lib/mol-model-formats/structure/mmcif.js.map +0 -1
  2572. package/lib/mol-model-formats/structure/mol.js.map +0 -1
  2573. package/lib/mol-model-formats/structure/mol2.js.map +0 -1
  2574. package/lib/mol-model-formats/structure/pdb/anisotropic.js.map +0 -1
  2575. package/lib/mol-model-formats/structure/pdb/assembly.js.map +0 -1
  2576. package/lib/mol-model-formats/structure/pdb/atom-site.js.map +0 -1
  2577. package/lib/mol-model-formats/structure/pdb/conect.js.map +0 -1
  2578. package/lib/mol-model-formats/structure/pdb/entity.js.map +0 -1
  2579. package/lib/mol-model-formats/structure/pdb/secondary-structure.js.map +0 -1
  2580. package/lib/mol-model-formats/structure/pdb/to-cif.js.map +0 -1
  2581. package/lib/mol-model-formats/structure/pdb.js.map +0 -1
  2582. package/lib/mol-model-formats/structure/property/anisotropic.js.map +0 -1
  2583. package/lib/mol-model-formats/structure/property/assembly.js.map +0 -1
  2584. package/lib/mol-model-formats/structure/property/atoms/chem_comp.js.map +0 -1
  2585. package/lib/mol-model-formats/structure/property/bonds/chem_comp.js.map +0 -1
  2586. package/lib/mol-model-formats/structure/property/bonds/index-pair.js.map +0 -1
  2587. package/lib/mol-model-formats/structure/property/bonds/struct_conn.js.map +0 -1
  2588. package/lib/mol-model-formats/structure/property/partial-charge.js.map +0 -1
  2589. package/lib/mol-model-formats/structure/property/secondary-structure.js.map +0 -1
  2590. package/lib/mol-model-formats/structure/property/symmetry.js.map +0 -1
  2591. package/lib/mol-model-formats/structure/psf.js.map +0 -1
  2592. package/lib/mol-model-formats/structure/sdf.js.map +0 -1
  2593. package/lib/mol-model-formats/structure/util.js.map +0 -1
  2594. package/lib/mol-model-formats/structure/xtc.js.map +0 -1
  2595. package/lib/mol-model-formats/structure/xyz.js.map +0 -1
  2596. package/lib/mol-model-formats/volume/ccp4.js.map +0 -1
  2597. package/lib/mol-model-formats/volume/cube.js.map +0 -1
  2598. package/lib/mol-model-formats/volume/density-server.js.map +0 -1
  2599. package/lib/mol-model-formats/volume/dsn6.js.map +0 -1
  2600. package/lib/mol-model-formats/volume/dx.js.map +0 -1
  2601. package/lib/mol-model-formats/volume/property.js.map +0 -1
  2602. package/lib/mol-model-props/common/custom-element-property.js.map +0 -1
  2603. package/lib/mol-model-props/common/custom-model-property.js.map +0 -1
  2604. package/lib/mol-model-props/common/custom-property.js.map +0 -1
  2605. package/lib/mol-model-props/common/custom-structure-property.js.map +0 -1
  2606. package/lib/mol-model-props/common/wrapper.js.map +0 -1
  2607. package/lib/mol-model-props/computed/accessible-surface-area/shrake-rupley/area.js.map +0 -1
  2608. package/lib/mol-model-props/computed/accessible-surface-area/shrake-rupley/common.js.map +0 -1
  2609. package/lib/mol-model-props/computed/accessible-surface-area/shrake-rupley/radii.js.map +0 -1
  2610. package/lib/mol-model-props/computed/accessible-surface-area/shrake-rupley.js.map +0 -1
  2611. package/lib/mol-model-props/computed/accessible-surface-area.js.map +0 -1
  2612. package/lib/mol-model-props/computed/chemistry/functional-group.js.map +0 -1
  2613. package/lib/mol-model-props/computed/chemistry/geometry.js.map +0 -1
  2614. package/lib/mol-model-props/computed/chemistry/util.js.map +0 -1
  2615. package/lib/mol-model-props/computed/chemistry/valence-model.js.map +0 -1
  2616. package/lib/mol-model-props/computed/helix-orientation/helix-orientation.js.map +0 -1
  2617. package/lib/mol-model-props/computed/helix-orientation.js.map +0 -1
  2618. package/lib/mol-model-props/computed/interactions/charged.js.map +0 -1
  2619. package/lib/mol-model-props/computed/interactions/common.js.map +0 -1
  2620. package/lib/mol-model-props/computed/interactions/contacts-builder.js.map +0 -1
  2621. package/lib/mol-model-props/computed/interactions/contacts.js.map +0 -1
  2622. package/lib/mol-model-props/computed/interactions/features.js.map +0 -1
  2623. package/lib/mol-model-props/computed/interactions/halogen-bonds.js.map +0 -1
  2624. package/lib/mol-model-props/computed/interactions/hydrogen-bonds.js.map +0 -1
  2625. package/lib/mol-model-props/computed/interactions/hydrophobic.js.map +0 -1
  2626. package/lib/mol-model-props/computed/interactions/interactions.js.map +0 -1
  2627. package/lib/mol-model-props/computed/interactions/metal.js.map +0 -1
  2628. package/lib/mol-model-props/computed/interactions/refine.js.map +0 -1
  2629. package/lib/mol-model-props/computed/interactions.js.map +0 -1
  2630. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.js.map +0 -1
  2631. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.js.map +0 -1
  2632. package/lib/mol-model-props/computed/representations/interactions.js.map +0 -1
  2633. package/lib/mol-model-props/computed/secondary-structure/dssp/backbone-hbonds.js.map +0 -1
  2634. package/lib/mol-model-props/computed/secondary-structure/dssp/bends.js.map +0 -1
  2635. package/lib/mol-model-props/computed/secondary-structure/dssp/bridges.js.map +0 -1
  2636. package/lib/mol-model-props/computed/secondary-structure/dssp/common.js.map +0 -1
  2637. package/lib/mol-model-props/computed/secondary-structure/dssp/dihedral-angles.js.map +0 -1
  2638. package/lib/mol-model-props/computed/secondary-structure/dssp/helices.js.map +0 -1
  2639. package/lib/mol-model-props/computed/secondary-structure/dssp/ladders.js.map +0 -1
  2640. package/lib/mol-model-props/computed/secondary-structure/dssp/protein-info.js.map +0 -1
  2641. package/lib/mol-model-props/computed/secondary-structure/dssp/sheets.js.map +0 -1
  2642. package/lib/mol-model-props/computed/secondary-structure/dssp/trace-lookup.js.map +0 -1
  2643. package/lib/mol-model-props/computed/secondary-structure/dssp/turns.js.map +0 -1
  2644. package/lib/mol-model-props/computed/secondary-structure/dssp.js.map +0 -1
  2645. package/lib/mol-model-props/computed/secondary-structure/zhang-skolnik.js.map +0 -1
  2646. package/lib/mol-model-props/computed/secondary-structure.js.map +0 -1
  2647. package/lib/mol-model-props/computed/themes/accessible-surface-area.js.map +0 -1
  2648. package/lib/mol-model-props/computed/themes/interaction-type.js.map +0 -1
  2649. package/lib/mol-model-props/computed/valence-model.js.map +0 -1
  2650. package/lib/mol-model-props/integrative/cross-link-restraint/color.js.map +0 -1
  2651. package/lib/mol-model-props/integrative/cross-link-restraint/format.js.map +0 -1
  2652. package/lib/mol-model-props/integrative/cross-link-restraint/property.js.map +0 -1
  2653. package/lib/mol-model-props/integrative/cross-link-restraint/representation.js.map +0 -1
  2654. package/lib/mol-model-props/integrative/pair-restraints.js.map +0 -1
  2655. package/lib/mol-model-props/sequence/best-database-mapping.js.map +0 -1
  2656. package/lib/mol-model-props/sequence/themes/best-database-mapping.js.map +0 -1
  2657. package/lib/mol-plugin/animation-loop.js.map +0 -1
  2658. package/lib/mol-plugin/behavior/behavior.js.map +0 -1
  2659. package/lib/mol-plugin/behavior/dynamic/camera.js.map +0 -1
  2660. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/accessible-surface-area.js.map +0 -1
  2661. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/interactions.js.map +0 -1
  2662. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/secondary-structure.js.map +0 -1
  2663. package/lib/mol-plugin/behavior/dynamic/custom-props/computed/valence-model.js.map +0 -1
  2664. package/lib/mol-plugin/behavior/dynamic/custom-props/integrative/cross-link-restraint.js.map +0 -1
  2665. package/lib/mol-plugin/behavior/dynamic/custom-props/sequence/best-database-mapping.js.map +0 -1
  2666. package/lib/mol-plugin/behavior/dynamic/custom-props/structure-info.js.map +0 -1
  2667. package/lib/mol-plugin/behavior/dynamic/custom-props.js.map +0 -1
  2668. package/lib/mol-plugin/behavior/dynamic/representation.js.map +0 -1
  2669. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.js.map +0 -1
  2670. package/lib/mol-plugin/behavior/dynamic/volume-streaming/behavior.js.map +0 -1
  2671. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.js.map +0 -1
  2672. package/lib/mol-plugin/behavior/dynamic/volume-streaming/transformers.js.map +0 -1
  2673. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js.map +0 -1
  2674. package/lib/mol-plugin/behavior/static/camera.js.map +0 -1
  2675. package/lib/mol-plugin/behavior/static/misc.js.map +0 -1
  2676. package/lib/mol-plugin/behavior/static/representation.js.map +0 -1
  2677. package/lib/mol-plugin/behavior/static/state.js.map +0 -1
  2678. package/lib/mol-plugin/behavior.js.map +0 -1
  2679. package/lib/mol-plugin/command.js.map +0 -1
  2680. package/lib/mol-plugin/commands.js.map +0 -1
  2681. package/lib/mol-plugin/config.js.map +0 -1
  2682. package/lib/mol-plugin/context.js.map +0 -1
  2683. package/lib/mol-plugin/layout.js.map +0 -1
  2684. package/lib/mol-plugin/spec.js.map +0 -1
  2685. package/lib/mol-plugin/state.js.map +0 -1
  2686. package/lib/mol-plugin/util/substructure-parent-helper.js.map +0 -1
  2687. package/lib/mol-plugin/util/task-manager.js.map +0 -1
  2688. package/lib/mol-plugin/util/toast.js.map +0 -1
  2689. package/lib/mol-plugin/util/viewport-screenshot.js.map +0 -1
  2690. package/lib/mol-plugin/version.js.map +0 -1
  2691. package/lib/mol-plugin-state/actions/file.js.map +0 -1
  2692. package/lib/mol-plugin-state/actions/structure.js.map +0 -1
  2693. package/lib/mol-plugin-state/actions/volume.js.map +0 -1
  2694. package/lib/mol-plugin-state/actions.js.map +0 -1
  2695. package/lib/mol-plugin-state/animation/built-in/assembly-unwind.js.map +0 -1
  2696. package/lib/mol-plugin-state/animation/built-in/camera-spin.js.map +0 -1
  2697. package/lib/mol-plugin-state/animation/built-in/explode-units.js.map +0 -1
  2698. package/lib/mol-plugin-state/animation/built-in/model-index.js.map +0 -1
  2699. package/lib/mol-plugin-state/animation/built-in/spin-structure.js.map +0 -1
  2700. package/lib/mol-plugin-state/animation/built-in/state-interpolation.js.map +0 -1
  2701. package/lib/mol-plugin-state/animation/built-in/state-snapshots.js.map +0 -1
  2702. package/lib/mol-plugin-state/animation/helpers.js.map +0 -1
  2703. package/lib/mol-plugin-state/animation/model.js.map +0 -1
  2704. package/lib/mol-plugin-state/builder/data.js.map +0 -1
  2705. package/lib/mol-plugin-state/builder/preset-provider.js.map +0 -1
  2706. package/lib/mol-plugin-state/builder/structure/hierarchy-preset.js.map +0 -1
  2707. package/lib/mol-plugin-state/builder/structure/hierarchy.js.map +0 -1
  2708. package/lib/mol-plugin-state/builder/structure/representation-preset.js.map +0 -1
  2709. package/lib/mol-plugin-state/builder/structure/representation.js.map +0 -1
  2710. package/lib/mol-plugin-state/builder/structure.js.map +0 -1
  2711. package/lib/mol-plugin-state/component.js.map +0 -1
  2712. package/lib/mol-plugin-state/formats/provider.js.map +0 -1
  2713. package/lib/mol-plugin-state/formats/registry.js.map +0 -1
  2714. package/lib/mol-plugin-state/formats/shape.js.map +0 -1
  2715. package/lib/mol-plugin-state/formats/structure.js.map +0 -1
  2716. package/lib/mol-plugin-state/formats/trajectory.js.map +0 -1
  2717. package/lib/mol-plugin-state/formats/volume.js.map +0 -1
  2718. package/lib/mol-plugin-state/helpers/root-structure.js.map +0 -1
  2719. package/lib/mol-plugin-state/helpers/structure-clipping.js.map +0 -1
  2720. package/lib/mol-plugin-state/helpers/structure-component.js.map +0 -1
  2721. package/lib/mol-plugin-state/helpers/structure-overpaint.js.map +0 -1
  2722. package/lib/mol-plugin-state/helpers/structure-query.js.map +0 -1
  2723. package/lib/mol-plugin-state/helpers/structure-representation-params.js.map +0 -1
  2724. package/lib/mol-plugin-state/helpers/structure-selection-query.js.map +0 -1
  2725. package/lib/mol-plugin-state/helpers/structure-transparency.js.map +0 -1
  2726. package/lib/mol-plugin-state/helpers/volume-representation-params.js.map +0 -1
  2727. package/lib/mol-plugin-state/manager/animation.js.map +0 -1
  2728. package/lib/mol-plugin-state/manager/camera.js.map +0 -1
  2729. package/lib/mol-plugin-state/manager/interactivity.js.map +0 -1
  2730. package/lib/mol-plugin-state/manager/loci-label.js.map +0 -1
  2731. package/lib/mol-plugin-state/manager/snapshots.js.map +0 -1
  2732. package/lib/mol-plugin-state/manager/structure/component.js.map +0 -1
  2733. package/lib/mol-plugin-state/manager/structure/focus.js.map +0 -1
  2734. package/lib/mol-plugin-state/manager/structure/hierarchy-state.js.map +0 -1
  2735. package/lib/mol-plugin-state/manager/structure/hierarchy.js.map +0 -1
  2736. package/lib/mol-plugin-state/manager/structure/measurement.js.map +0 -1
  2737. package/lib/mol-plugin-state/manager/structure/selection.js.map +0 -1
  2738. package/lib/mol-plugin-state/manager/volume/hierarchy-state.js.map +0 -1
  2739. package/lib/mol-plugin-state/manager/volume/hierarchy.js.map +0 -1
  2740. package/lib/mol-plugin-state/objects.js.map +0 -1
  2741. package/lib/mol-plugin-state/transforms/data.js.map +0 -1
  2742. package/lib/mol-plugin-state/transforms/helpers.js.map +0 -1
  2743. package/lib/mol-plugin-state/transforms/misc.js.map +0 -1
  2744. package/lib/mol-plugin-state/transforms/model.js.map +0 -1
  2745. package/lib/mol-plugin-state/transforms/representation.js.map +0 -1
  2746. package/lib/mol-plugin-state/transforms/shape.js.map +0 -1
  2747. package/lib/mol-plugin-state/transforms/volume.js.map +0 -1
  2748. package/lib/mol-plugin-state/transforms.js.map +0 -1
  2749. package/lib/mol-plugin-ui/base.js.map +0 -1
  2750. package/lib/mol-plugin-ui/context.js.map +0 -1
  2751. package/lib/mol-plugin-ui/controls/action-menu.js.map +0 -1
  2752. package/lib/mol-plugin-ui/controls/color.js.map +0 -1
  2753. package/lib/mol-plugin-ui/controls/common.js.map +0 -1
  2754. package/lib/mol-plugin-ui/controls/icons.js.map +0 -1
  2755. package/lib/mol-plugin-ui/controls/legend.js.map +0 -1
  2756. package/lib/mol-plugin-ui/controls/line-graph/line-graph-component.js.map +0 -1
  2757. package/lib/mol-plugin-ui/controls/line-graph/point-component.js.map +0 -1
  2758. package/lib/mol-plugin-ui/controls/parameters.js.map +0 -1
  2759. package/lib/mol-plugin-ui/controls/screenshot.js.map +0 -1
  2760. package/lib/mol-plugin-ui/controls/slider.js.map +0 -1
  2761. package/lib/mol-plugin-ui/controls.js.map +0 -1
  2762. package/lib/mol-plugin-ui/custom/volume.js.map +0 -1
  2763. package/lib/mol-plugin-ui/hooks/use-behavior.js.map +0 -1
  2764. package/lib/mol-plugin-ui/index.js.map +0 -1
  2765. package/lib/mol-plugin-ui/left-panel.js.map +0 -1
  2766. package/lib/mol-plugin-ui/plugin.js.map +0 -1
  2767. package/lib/mol-plugin-ui/sequence/chain.js.map +0 -1
  2768. package/lib/mol-plugin-ui/sequence/element.js.map +0 -1
  2769. package/lib/mol-plugin-ui/sequence/hetero.js.map +0 -1
  2770. package/lib/mol-plugin-ui/sequence/polymer.js.map +0 -1
  2771. package/lib/mol-plugin-ui/sequence/sequence.js.map +0 -1
  2772. package/lib/mol-plugin-ui/sequence/wrapper.js.map +0 -1
  2773. package/lib/mol-plugin-ui/sequence.js.map +0 -1
  2774. package/lib/mol-plugin-ui/spec.js.map +0 -1
  2775. package/lib/mol-plugin-ui/state/actions.js.map +0 -1
  2776. package/lib/mol-plugin-ui/state/animation.js.map +0 -1
  2777. package/lib/mol-plugin-ui/state/apply-action.js.map +0 -1
  2778. package/lib/mol-plugin-ui/state/common.js.map +0 -1
  2779. package/lib/mol-plugin-ui/state/snapshots.js.map +0 -1
  2780. package/lib/mol-plugin-ui/state/tree.js.map +0 -1
  2781. package/lib/mol-plugin-ui/state/update-transform.js.map +0 -1
  2782. package/lib/mol-plugin-ui/structure/components.js.map +0 -1
  2783. package/lib/mol-plugin-ui/structure/focus.js.map +0 -1
  2784. package/lib/mol-plugin-ui/structure/generic.js.map +0 -1
  2785. package/lib/mol-plugin-ui/structure/measurements.js.map +0 -1
  2786. package/lib/mol-plugin-ui/structure/selection.js.map +0 -1
  2787. package/lib/mol-plugin-ui/structure/source.js.map +0 -1
  2788. package/lib/mol-plugin-ui/structure/superposition.js.map +0 -1
  2789. package/lib/mol-plugin-ui/structure/volume.js.map +0 -1
  2790. package/lib/mol-plugin-ui/task.js.map +0 -1
  2791. package/lib/mol-plugin-ui/toast.js.map +0 -1
  2792. package/lib/mol-plugin-ui/viewport/canvas.js.map +0 -1
  2793. package/lib/mol-plugin-ui/viewport/help.js.map +0 -1
  2794. package/lib/mol-plugin-ui/viewport/screenshot.js.map +0 -1
  2795. package/lib/mol-plugin-ui/viewport/simple-settings.js.map +0 -1
  2796. package/lib/mol-plugin-ui/viewport.js.map +0 -1
  2797. package/lib/mol-repr/representation.js.map +0 -1
  2798. package/lib/mol-repr/shape/loci/angle.js.map +0 -1
  2799. package/lib/mol-repr/shape/loci/common.js.map +0 -1
  2800. package/lib/mol-repr/shape/loci/dihedral.js.map +0 -1
  2801. package/lib/mol-repr/shape/loci/distance.js.map +0 -1
  2802. package/lib/mol-repr/shape/loci/label.js.map +0 -1
  2803. package/lib/mol-repr/shape/loci/orientation.js.map +0 -1
  2804. package/lib/mol-repr/shape/loci/plane.js.map +0 -1
  2805. package/lib/mol-repr/shape/model/unitcell.js.map +0 -1
  2806. package/lib/mol-repr/shape/representation.js.map +0 -1
  2807. package/lib/mol-repr/structure/complex-representation.js.map +0 -1
  2808. package/lib/mol-repr/structure/complex-visual.js.map +0 -1
  2809. package/lib/mol-repr/structure/params.js.map +0 -1
  2810. package/lib/mol-repr/structure/registry.js.map +0 -1
  2811. package/lib/mol-repr/structure/representation/backbone.js.map +0 -1
  2812. package/lib/mol-repr/structure/representation/ball-and-stick.js.map +0 -1
  2813. package/lib/mol-repr/structure/representation/carbohydrate.js.map +0 -1
  2814. package/lib/mol-repr/structure/representation/cartoon.js.map +0 -1
  2815. package/lib/mol-repr/structure/representation/ellipsoid.js.map +0 -1
  2816. package/lib/mol-repr/structure/representation/gaussian-surface.js.map +0 -1
  2817. package/lib/mol-repr/structure/representation/gaussian-volume.js.map +0 -1
  2818. package/lib/mol-repr/structure/representation/label.js.map +0 -1
  2819. package/lib/mol-repr/structure/representation/line.js.map +0 -1
  2820. package/lib/mol-repr/structure/representation/molecular-surface.js.map +0 -1
  2821. package/lib/mol-repr/structure/representation/orientation.js.map +0 -1
  2822. package/lib/mol-repr/structure/representation/point.js.map +0 -1
  2823. package/lib/mol-repr/structure/representation/putty.js.map +0 -1
  2824. package/lib/mol-repr/structure/representation/spacefill.js.map +0 -1
  2825. package/lib/mol-repr/structure/representation.js.map +0 -1
  2826. package/lib/mol-repr/structure/units-representation.js.map +0 -1
  2827. package/lib/mol-repr/structure/units-visual.js.map +0 -1
  2828. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js.map +0 -1
  2829. package/lib/mol-repr/structure/visual/bond-inter-unit-line.js.map +0 -1
  2830. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js.map +0 -1
  2831. package/lib/mol-repr/structure/visual/bond-intra-unit-line.js.map +0 -1
  2832. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.js.map +0 -1
  2833. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.js.map +0 -1
  2834. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.js.map +0 -1
  2835. package/lib/mol-repr/structure/visual/element-cross.js.map +0 -1
  2836. package/lib/mol-repr/structure/visual/element-point.js.map +0 -1
  2837. package/lib/mol-repr/structure/visual/element-sphere.js.map +0 -1
  2838. package/lib/mol-repr/structure/visual/ellipsoid-mesh.js.map +0 -1
  2839. package/lib/mol-repr/structure/visual/gaussian-density-volume.js.map +0 -1
  2840. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js.map +0 -1
  2841. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js.map +0 -1
  2842. package/lib/mol-repr/structure/visual/label-text.js.map +0 -1
  2843. package/lib/mol-repr/structure/visual/molecular-surface-mesh.js.map +0 -1
  2844. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js.map +0 -1
  2845. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.js.map +0 -1
  2846. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.js.map +0 -1
  2847. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.js.map +0 -1
  2848. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.js.map +0 -1
  2849. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.js.map +0 -1
  2850. package/lib/mol-repr/structure/visual/polymer-direction-wedge.js.map +0 -1
  2851. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.js.map +0 -1
  2852. package/lib/mol-repr/structure/visual/polymer-trace-mesh.js.map +0 -1
  2853. package/lib/mol-repr/structure/visual/polymer-tube-mesh.js.map +0 -1
  2854. package/lib/mol-repr/structure/visual/util/bond.js.map +0 -1
  2855. package/lib/mol-repr/structure/visual/util/common.js.map +0 -1
  2856. package/lib/mol-repr/structure/visual/util/element.js.map +0 -1
  2857. package/lib/mol-repr/structure/visual/util/gaussian.js.map +0 -1
  2858. package/lib/mol-repr/structure/visual/util/link.js.map +0 -1
  2859. package/lib/mol-repr/structure/visual/util/molecular-surface.js.map +0 -1
  2860. package/lib/mol-repr/structure/visual/util/nucleotide.js.map +0 -1
  2861. package/lib/mol-repr/structure/visual/util/polymer/backbone.js.map +0 -1
  2862. package/lib/mol-repr/structure/visual/util/polymer/curve-segment.js.map +0 -1
  2863. package/lib/mol-repr/structure/visual/util/polymer/gap-iterator.js.map +0 -1
  2864. package/lib/mol-repr/structure/visual/util/polymer/trace-iterator.js.map +0 -1
  2865. package/lib/mol-repr/structure/visual/util/polymer.js.map +0 -1
  2866. package/lib/mol-repr/util.js.map +0 -1
  2867. package/lib/mol-repr/visual.js.map +0 -1
  2868. package/lib/mol-repr/volume/direct-volume.js.map +0 -1
  2869. package/lib/mol-repr/volume/isosurface.js.map +0 -1
  2870. package/lib/mol-repr/volume/registry.js.map +0 -1
  2871. package/lib/mol-repr/volume/representation.js.map +0 -1
  2872. package/lib/mol-repr/volume/slice.js.map +0 -1
  2873. package/lib/mol-repr/volume/util.js.map +0 -1
  2874. package/lib/mol-script/compiler.js.map +0 -1
  2875. package/lib/mol-script/language/builder.js.map +0 -1
  2876. package/lib/mol-script/language/container.js.map +0 -1
  2877. package/lib/mol-script/language/expression-formatter.js.map +0 -1
  2878. package/lib/mol-script/language/expression.js.map +0 -1
  2879. package/lib/mol-script/language/helpers.js.map +0 -1
  2880. package/lib/mol-script/language/parser.js.map +0 -1
  2881. package/lib/mol-script/language/symbol-table/core.js.map +0 -1
  2882. package/lib/mol-script/language/symbol-table/internal.js.map +0 -1
  2883. package/lib/mol-script/language/symbol-table/structure-query.js.map +0 -1
  2884. package/lib/mol-script/language/symbol-table.js.map +0 -1
  2885. package/lib/mol-script/language/symbol.js.map +0 -1
  2886. package/lib/mol-script/language/type.js.map +0 -1
  2887. package/lib/mol-script/runtime/environment.js.map +0 -1
  2888. package/lib/mol-script/runtime/expression.js.map +0 -1
  2889. package/lib/mol-script/runtime/query/base.js.map +0 -1
  2890. package/lib/mol-script/runtime/query/compiler.js.map +0 -1
  2891. package/lib/mol-script/runtime/query/table.js.map +0 -1
  2892. package/lib/mol-script/runtime/runtime-macro.js.map +0 -1
  2893. package/lib/mol-script/runtime/symbol.js.map +0 -1
  2894. package/lib/mol-script/script/mol-script/examples.js.map +0 -1
  2895. package/lib/mol-script/script/mol-script/parser.js.map +0 -1
  2896. package/lib/mol-script/script/mol-script/script-macro.js.map +0 -1
  2897. package/lib/mol-script/script/mol-script/symbols.js.map +0 -1
  2898. package/lib/mol-script/script/parser.js.map +0 -1
  2899. package/lib/mol-script/script.js.map +0 -1
  2900. package/lib/mol-script/util/id-list.js.map +0 -1
  2901. package/lib/mol-state/action/manager.js.map +0 -1
  2902. package/lib/mol-state/action.js.map +0 -1
  2903. package/lib/mol-state/index.js.map +0 -1
  2904. package/lib/mol-state/object.js.map +0 -1
  2905. package/lib/mol-state/state/builder.js.map +0 -1
  2906. package/lib/mol-state/state/selection.js.map +0 -1
  2907. package/lib/mol-state/state.js.map +0 -1
  2908. package/lib/mol-state/transform.js.map +0 -1
  2909. package/lib/mol-state/transformer.js.map +0 -1
  2910. package/lib/mol-state/tree/immutable.js.map +0 -1
  2911. package/lib/mol-state/tree/spine.js.map +0 -1
  2912. package/lib/mol-state/tree/transient.js.map +0 -1
  2913. package/lib/mol-state/tree.js.map +0 -1
  2914. package/lib/mol-task/execution/observable.js.map +0 -1
  2915. package/lib/mol-task/execution/progress.js.map +0 -1
  2916. package/lib/mol-task/execution/runtime-context.js.map +0 -1
  2917. package/lib/mol-task/execution/synchronous.js.map +0 -1
  2918. package/lib/mol-task/index.js.map +0 -1
  2919. package/lib/mol-task/task.js.map +0 -1
  2920. package/lib/mol-task/util/chunked.js.map +0 -1
  2921. package/lib/mol-task/util/multistep.js.map +0 -1
  2922. package/lib/mol-task/util/scheduler.js.map +0 -1
  2923. package/lib/mol-task/util/user-timing.js.map +0 -1
  2924. package/lib/mol-theme/clipping.js.map +0 -1
  2925. package/lib/mol-theme/color/atom-id.js.map +0 -1
  2926. package/lib/mol-theme/color/carbohydrate-symbol.js.map +0 -1
  2927. package/lib/mol-theme/color/chain-id.js.map +0 -1
  2928. package/lib/mol-theme/color/element-index.js.map +0 -1
  2929. package/lib/mol-theme/color/element-symbol.js.map +0 -1
  2930. package/lib/mol-theme/color/entity-id.js.map +0 -1
  2931. package/lib/mol-theme/color/entity-source.js.map +0 -1
  2932. package/lib/mol-theme/color/hydrophobicity.js.map +0 -1
  2933. package/lib/mol-theme/color/illustrative.js.map +0 -1
  2934. package/lib/mol-theme/color/model-index.js.map +0 -1
  2935. package/lib/mol-theme/color/molecule-type.js.map +0 -1
  2936. package/lib/mol-theme/color/occupancy.js.map +0 -1
  2937. package/lib/mol-theme/color/operator-hkl.js.map +0 -1
  2938. package/lib/mol-theme/color/operator-name.js.map +0 -1
  2939. package/lib/mol-theme/color/partial-charge.js.map +0 -1
  2940. package/lib/mol-theme/color/polymer-id.js.map +0 -1
  2941. package/lib/mol-theme/color/polymer-index.js.map +0 -1
  2942. package/lib/mol-theme/color/residue-name.js.map +0 -1
  2943. package/lib/mol-theme/color/secondary-structure.js.map +0 -1
  2944. package/lib/mol-theme/color/sequence-id.js.map +0 -1
  2945. package/lib/mol-theme/color/shape-group.js.map +0 -1
  2946. package/lib/mol-theme/color/uncertainty.js.map +0 -1
  2947. package/lib/mol-theme/color/uniform.js.map +0 -1
  2948. package/lib/mol-theme/color/unit-index.js.map +0 -1
  2949. package/lib/mol-theme/color.js.map +0 -1
  2950. package/lib/mol-theme/label.js.map +0 -1
  2951. package/lib/mol-theme/overpaint.js.map +0 -1
  2952. package/lib/mol-theme/size/physical.js.map +0 -1
  2953. package/lib/mol-theme/size/shape-group.js.map +0 -1
  2954. package/lib/mol-theme/size/uncertainty.js.map +0 -1
  2955. package/lib/mol-theme/size/uniform.js.map +0 -1
  2956. package/lib/mol-theme/size.js.map +0 -1
  2957. package/lib/mol-theme/theme.js.map +0 -1
  2958. package/lib/mol-theme/transparency.js.map +0 -1
  2959. package/lib/mol-util/_spec/id-factory.spec.d.ts +0 -6
  2960. package/lib/mol-util/_spec/id-factory.spec.js +0 -31
  2961. package/lib/mol-util/_spec/id-factory.spec.js.map +0 -1
  2962. package/lib/mol-util/_spec/monadic-parser.spec.d.ts +0 -6
  2963. package/lib/mol-util/_spec/monadic-parser.spec.js +0 -44
  2964. package/lib/mol-util/_spec/monadic-parser.spec.js.map +0 -1
  2965. package/lib/mol-util/_spec/reference-cache.spec.d.ts +0 -6
  2966. package/lib/mol-util/_spec/reference-cache.spec.js +0 -29
  2967. package/lib/mol-util/_spec/reference-cache.spec.js.map +0 -1
  2968. package/lib/mol-util/_spec/string-builder.spec.d.ts +0 -6
  2969. package/lib/mol-util/_spec/string-builder.spec.js +0 -31
  2970. package/lib/mol-util/_spec/string-builder.spec.js.map +0 -1
  2971. package/lib/mol-util/_spec/zip.spec.d.ts +0 -6
  2972. package/lib/mol-util/_spec/zip.spec.js +0 -47
  2973. package/lib/mol-util/_spec/zip.spec.js.map +0 -1
  2974. package/lib/mol-util/array.js.map +0 -1
  2975. package/lib/mol-util/assets.js.map +0 -1
  2976. package/lib/mol-util/async-queue.js.map +0 -1
  2977. package/lib/mol-util/binding.js.map +0 -1
  2978. package/lib/mol-util/bit-flags.js.map +0 -1
  2979. package/lib/mol-util/color/color.js.map +0 -1
  2980. package/lib/mol-util/color/distinct.js.map +0 -1
  2981. package/lib/mol-util/color/index.js.map +0 -1
  2982. package/lib/mol-util/color/lists.js.map +0 -1
  2983. package/lib/mol-util/color/names.js.map +0 -1
  2984. package/lib/mol-util/color/palette.js.map +0 -1
  2985. package/lib/mol-util/color/scale.js.map +0 -1
  2986. package/lib/mol-util/color/spaces/hcl.js.map +0 -1
  2987. package/lib/mol-util/color/spaces/lab.js.map +0 -1
  2988. package/lib/mol-util/color/swatches.js.map +0 -1
  2989. package/lib/mol-util/console-logger.js.map +0 -1
  2990. package/lib/mol-util/data-source.js.map +0 -1
  2991. package/lib/mol-util/date.js.map +0 -1
  2992. package/lib/mol-util/debug.js.map +0 -1
  2993. package/lib/mol-util/download.js.map +0 -1
  2994. package/lib/mol-util/file-info.js.map +0 -1
  2995. package/lib/mol-util/float-packing.js.map +0 -1
  2996. package/lib/mol-util/graphql-client.js.map +0 -1
  2997. package/lib/mol-util/id-factory.js.map +0 -1
  2998. package/lib/mol-util/image.js.map +0 -1
  2999. package/lib/mol-util/index.js.map +0 -1
  3000. package/lib/mol-util/input/event-offset.js.map +0 -1
  3001. package/lib/mol-util/input/input-observer.js.map +0 -1
  3002. package/lib/mol-util/is-little-endian.js.map +0 -1
  3003. package/lib/mol-util/legend.js.map +0 -1
  3004. package/lib/mol-util/log-entry.js.map +0 -1
  3005. package/lib/mol-util/lru-cache.js.map +0 -1
  3006. package/lib/mol-util/make-dir.js.map +0 -1
  3007. package/lib/mol-util/map.js.map +0 -1
  3008. package/lib/mol-util/marker-action.js.map +0 -1
  3009. package/lib/mol-util/mask.js.map +0 -1
  3010. package/lib/mol-util/memoize.js.map +0 -1
  3011. package/lib/mol-util/monadic-parser.js.map +0 -1
  3012. package/lib/mol-util/now.js.map +0 -1
  3013. package/lib/mol-util/number.js.map +0 -1
  3014. package/lib/mol-util/object.js.map +0 -1
  3015. package/lib/mol-util/param-definition.js.map +0 -1
  3016. package/lib/mol-util/param-mapping.js.map +0 -1
  3017. package/lib/mol-util/performance-monitor.js.map +0 -1
  3018. package/lib/mol-util/polyfill.js.map +0 -1
  3019. package/lib/mol-util/read.js.map +0 -1
  3020. package/lib/mol-util/reference-cache.js.map +0 -1
  3021. package/lib/mol-util/retry-if.js.map +0 -1
  3022. package/lib/mol-util/rx-event-helper.js.map +0 -1
  3023. package/lib/mol-util/set.js.map +0 -1
  3024. package/lib/mol-util/sleep.js.map +0 -1
  3025. package/lib/mol-util/string-builder.js.map +0 -1
  3026. package/lib/mol-util/string.js.map +0 -1
  3027. package/lib/mol-util/type-helpers.js.map +0 -1
  3028. package/lib/mol-util/url.js.map +0 -1
  3029. package/lib/mol-util/uuid.js.map +0 -1
  3030. package/lib/mol-util/value-cell.js.map +0 -1
  3031. package/lib/mol-util/zip/bin.js.map +0 -1
  3032. package/lib/mol-util/zip/checksum.js.map +0 -1
  3033. package/lib/mol-util/zip/deflate.js.map +0 -1
  3034. package/lib/mol-util/zip/huffman.js.map +0 -1
  3035. package/lib/mol-util/zip/inflate.js.map +0 -1
  3036. package/lib/mol-util/zip/util.js.map +0 -1
  3037. package/lib/mol-util/zip/zip.js.map +0 -1
  3038. package/lib/perf-tests/binary-search.d.ts +0 -23
  3039. package/lib/perf-tests/binary-search.js +0 -154
  3040. package/lib/perf-tests/binary-search.js.map +0 -1
  3041. package/lib/perf-tests/chunked-array-vs-native.d.ts +0 -1
  3042. package/lib/perf-tests/chunked-array-vs-native.js +0 -40
  3043. package/lib/perf-tests/chunked-array-vs-native.js.map +0 -1
  3044. package/lib/perf-tests/cif-encoder.d.ts +0 -6
  3045. package/lib/perf-tests/cif-encoder.js +0 -55
  3046. package/lib/perf-tests/cif-encoder.js.map +0 -1
  3047. package/lib/perf-tests/column.d.ts +0 -4
  3048. package/lib/perf-tests/column.js +0 -75
  3049. package/lib/perf-tests/column.js.map +0 -1
  3050. package/lib/perf-tests/iterators.d.ts +0 -13
  3051. package/lib/perf-tests/iterators.js +0 -211
  3052. package/lib/perf-tests/iterators.js.map +0 -1
  3053. package/lib/perf-tests/lookup3d.d.ts +0 -8
  3054. package/lib/perf-tests/lookup3d.js +0 -84
  3055. package/lib/perf-tests/lookup3d.js.map +0 -1
  3056. package/lib/perf-tests/markers-average.d.ts +0 -1
  3057. package/lib/perf-tests/markers-average.js +0 -190
  3058. package/lib/perf-tests/markers-average.js.map +0 -1
  3059. package/lib/perf-tests/mol-script.d.ts +0 -1
  3060. package/lib/perf-tests/mol-script.js +0 -95
  3061. package/lib/perf-tests/mol-script.js.map +0 -1
  3062. package/lib/perf-tests/sets.d.ts +0 -37
  3063. package/lib/perf-tests/sets.js +0 -433
  3064. package/lib/perf-tests/sets.js.map +0 -1
  3065. package/lib/perf-tests/sort.d.ts +0 -3
  3066. package/lib/perf-tests/sort.js +0 -74
  3067. package/lib/perf-tests/sort.js.map +0 -1
  3068. package/lib/perf-tests/state.d.ts +0 -0
  3069. package/lib/perf-tests/state.js +0 -112
  3070. package/lib/perf-tests/state.js.map +0 -1
  3071. package/lib/perf-tests/string-builder.d.ts +0 -3
  3072. package/lib/perf-tests/string-builder.js +0 -53
  3073. package/lib/perf-tests/string-builder.js.map +0 -1
  3074. package/lib/perf-tests/structure.d.ts +0 -24
  3075. package/lib/perf-tests/structure.js +0 -524
  3076. package/lib/perf-tests/structure.js.map +0 -1
  3077. package/lib/perf-tests/tasks.d.ts +0 -18
  3078. package/lib/perf-tests/tasks.js +0 -324
  3079. package/lib/perf-tests/tasks.js.map +0 -1
  3080. package/lib/perf-tests/test-xtc.d.ts +0 -6
  3081. package/lib/perf-tests/test-xtc.js +0 -37
  3082. package/lib/perf-tests/test-xtc.js.map +0 -1
  3083. package/lib/servers/common/file-handle.js.map +0 -1
  3084. package/lib/servers/common/swagger-ui/index.js.map +0 -1
  3085. package/lib/servers/common/swagger-ui/indexTemplate.js.map +0 -1
  3086. package/lib/servers/common/util.js.map +0 -1
  3087. package/lib/servers/model/config.js.map +0 -1
  3088. package/lib/servers/model/preprocess/converter.js.map +0 -1
  3089. package/lib/servers/model/preprocess/master.js.map +0 -1
  3090. package/lib/servers/model/preprocess/parallel.js.map +0 -1
  3091. package/lib/servers/model/preprocess/preprocess.js.map +0 -1
  3092. package/lib/servers/model/preprocess/util.js.map +0 -1
  3093. package/lib/servers/model/preprocess.js.map +0 -1
  3094. package/lib/servers/model/properties/pdbe.js.map +0 -1
  3095. package/lib/servers/model/properties/providers/pdbe.js.map +0 -1
  3096. package/lib/servers/model/properties/providers/wwpdb.js.map +0 -1
  3097. package/lib/servers/model/properties/wwpdb.js.map +0 -1
  3098. package/lib/servers/model/property-provider.js.map +0 -1
  3099. package/lib/servers/model/query/atoms.js.map +0 -1
  3100. package/lib/servers/model/query/schemas.js.map +0 -1
  3101. package/lib/servers/model/query.js.map +0 -1
  3102. package/lib/servers/model/server/api-local.js.map +0 -1
  3103. package/lib/servers/model/server/api-schema.js.map +0 -1
  3104. package/lib/servers/model/server/api-web-multiple.js.map +0 -1
  3105. package/lib/servers/model/server/api-web.js.map +0 -1
  3106. package/lib/servers/model/server/api.js.map +0 -1
  3107. package/lib/servers/model/server/cache.js.map +0 -1
  3108. package/lib/servers/model/server/jobs.js.map +0 -1
  3109. package/lib/servers/model/server/query.js.map +0 -1
  3110. package/lib/servers/model/server/structure-wrapper.js.map +0 -1
  3111. package/lib/servers/model/server.js.map +0 -1
  3112. package/lib/servers/model/test.js.map +0 -1
  3113. package/lib/servers/model/utils/fetch-props-pdbe.js.map +0 -1
  3114. package/lib/servers/model/utils/fetch-retry.js.map +0 -1
  3115. package/lib/servers/model/utils/tar.js.map +0 -1
  3116. package/lib/servers/model/utils/writer.js.map +0 -1
  3117. package/lib/servers/model/version.js.map +0 -1
  3118. package/lib/servers/plugin-state/api-schema.js.map +0 -1
  3119. package/lib/servers/plugin-state/config.js.map +0 -1
  3120. package/lib/servers/plugin-state/index.js.map +0 -1
  3121. package/lib/servers/plugin-state/version.js.map +0 -1
  3122. package/lib/servers/volume/common/binary-schema.js.map +0 -1
  3123. package/lib/servers/volume/common/data-format.js.map +0 -1
  3124. package/lib/servers/volume/common/file.js.map +0 -1
  3125. package/lib/servers/volume/config.js.map +0 -1
  3126. package/lib/servers/volume/pack/data-model.js.map +0 -1
  3127. package/lib/servers/volume/pack/downsampling.js.map +0 -1
  3128. package/lib/servers/volume/pack/format/ccp4.js.map +0 -1
  3129. package/lib/servers/volume/pack/format/dsn6.js.map +0 -1
  3130. package/lib/servers/volume/pack/format.js.map +0 -1
  3131. package/lib/servers/volume/pack/main.js.map +0 -1
  3132. package/lib/servers/volume/pack/sampling.js.map +0 -1
  3133. package/lib/servers/volume/pack/version.js.map +0 -1
  3134. package/lib/servers/volume/pack/writer.js.map +0 -1
  3135. package/lib/servers/volume/pack.js.map +0 -1
  3136. package/lib/servers/volume/query.js.map +0 -1
  3137. package/lib/servers/volume/server/algebra/box.js.map +0 -1
  3138. package/lib/servers/volume/server/algebra/coordinate.js.map +0 -1
  3139. package/lib/servers/volume/server/api.js.map +0 -1
  3140. package/lib/servers/volume/server/local-api.js.map +0 -1
  3141. package/lib/servers/volume/server/query/compose.js.map +0 -1
  3142. package/lib/servers/volume/server/query/data-model.js.map +0 -1
  3143. package/lib/servers/volume/server/query/encode.js.map +0 -1
  3144. package/lib/servers/volume/server/query/execute.js.map +0 -1
  3145. package/lib/servers/volume/server/query/identify.js.map +0 -1
  3146. package/lib/servers/volume/server/state.js.map +0 -1
  3147. package/lib/servers/volume/server/version.js.map +0 -1
  3148. package/lib/servers/volume/server/web-api.js.map +0 -1
  3149. package/lib/servers/volume/server/web-schema.js.map +0 -1
  3150. package/lib/servers/volume/server.js.map +0 -1
  3151. package/lib/tests/browser/font-atlas.d.ts +0 -6
  3152. package/lib/tests/browser/font-atlas.js +0 -36
  3153. package/lib/tests/browser/font-atlas.js.map +0 -1
  3154. package/lib/tests/browser/index.html +0 -37
  3155. package/lib/tests/browser/marching-cubes.d.ts +0 -6
  3156. package/lib/tests/browser/marching-cubes.js +0 -142
  3157. package/lib/tests/browser/marching-cubes.js.map +0 -1
  3158. package/lib/tests/browser/parse-xtc.d.ts +0 -6
  3159. package/lib/tests/browser/parse-xtc.js +0 -40
  3160. package/lib/tests/browser/parse-xtc.js.map +0 -1
  3161. package/lib/tests/browser/render-lines.d.ts +0 -6
  3162. package/lib/tests/browser/render-lines.js +0 -40
  3163. package/lib/tests/browser/render-lines.js.map +0 -1
  3164. package/lib/tests/browser/render-mesh.d.ts +0 -6
  3165. package/lib/tests/browser/render-mesh.js +0 -49
  3166. package/lib/tests/browser/render-mesh.js.map +0 -1
  3167. package/lib/tests/browser/render-shape.d.ts +0 -7
  3168. package/lib/tests/browser/render-shape.js +0 -164
  3169. package/lib/tests/browser/render-shape.js.map +0 -1
  3170. package/lib/tests/browser/render-spheres.d.ts +0 -6
  3171. package/lib/tests/browser/render-spheres.js +0 -39
  3172. package/lib/tests/browser/render-spheres.js.map +0 -1
  3173. package/lib/tests/browser/render-structure.d.ts +0 -6
  3174. package/lib/tests/browser/render-structure.js +0 -287
  3175. package/lib/tests/browser/render-structure.js.map +0 -1
  3176. package/lib/tests/browser/render-text.d.ts +0 -6
  3177. package/lib/tests/browser/render-text.js +0 -59
  3178. package/lib/tests/browser/render-text.js.map +0 -1
  3179. package/lib/tsconfig.commonjs.tsbuildinfo +0 -1
@@ -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";
@@ -4,5 +4,5 @@
4
4
  * @author Ludovic Autin <autin@scripps.edu>
5
5
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
6
6
  */
7
- export var 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 var 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";
8
8
  //# 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\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\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,2 +1,2 @@
1
- export var 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 var 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\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";
2
2
  //# sourceMappingURL=common-frag-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(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\n #define isNaN(x) ( (x) != (x) )\n #define isInf(x) ( (x) == (x)+1. )\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,2 +1,2 @@
1
- export var 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 var 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\n #define isNaN(x) ( (x) != (x) )\n #define isInf(x) ( (x) == (x)+1. )\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";
2
2
  //# 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,10 +1,10 @@
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 var 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 var 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";
10
10
  //# sourceMappingURL=light-frag-params.glsl.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 #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 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";
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
6
- export var 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 var 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 #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 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";
7
7
  //# sourceMappingURL=cylinders.frag.js.map
@@ -4,4 +4,4 @@
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  * @author Michael Krone <michael.krone@uni-tuebingen.de>
6
6
  */
7
- export declare const directVolume_frag = "\nprecision highp float;\nprecision highp int;\n\n#include common\n#include light_frag_params\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#endif\n#include common_clip\n\n#include read_from_texture\n#include texture3d_from_1d_trilinear\n#include texture3d_from_2d_nearest\n#include texture3d_from_2d_linear\n\nuniform mat4 uProjection, uTransform, uModelView, uModel, uView;\nuniform vec3 uCameraDir;\n\nuniform sampler2D tDepth;\nuniform vec2 uDrawingBufferSize;\n\nvarying vec3 vOrigPos;\nvarying float vInstance;\nvarying vec4 vBoundingSphere;\nvarying mat4 vTransform;\n\nuniform mat4 uInvView;\nuniform vec2 uIsoValue;\nuniform vec3 uGridDim;\nuniform vec3 uBboxSize;\nuniform sampler2D tTransferTex;\nuniform float uTransferScale;\nuniform float uStepScale;\nuniform float uJumpLength;\n\nuniform int uObjectId;\nuniform int uVertexCount;\nuniform int uInstanceCount;\nuniform int uGroupCount;\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 uniform vec2 uMarkerTexDim;\n uniform sampler2D tMarker;\n#endif\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 bool uRenderWboit;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uIsOrtho;\n\nuniform vec3 uCellDim;\nuniform vec3 uCameraPosition;\nuniform mat4 uCartnToUnit;\n\n#if __VERSION__ != 100\n // for webgl1 this is given as a 'define'\n uniform int uMaxSteps;\n#endif\n\n#if defined(dGridTexType_2d)\n precision highp sampler2D;\n uniform sampler2D tGridTex;\n uniform vec3 uGridTexDim;\n#elif defined(dGridTexType_3d)\n precision highp sampler3D;\n uniform sampler3D tGridTex;\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_texture)\n uniform vec2 uColorTexDim;\n uniform sampler2D tColor;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance) || defined(dOverpaintType_vertexInstance)\n uniform vec2 uOverpaintTexDim;\n uniform sampler2D tOverpaint;\n #endif\n #endif\n#endif\n\n#if defined(dGridTexType_2d)\n vec4 textureVal(vec3 pos) {\n return texture3dFrom2dLinear(tGridTex, pos + (vec3(0.5, 0.5, 0.0) / uGridDim), uGridDim, uGridTexDim.xy);\n }\n vec4 textureGroup(vec3 pos) {\n return texture3dFrom2dNearest(tGridTex, pos + (vec3(0.5, 0.5, 0.0) / uGridDim), uGridDim, uGridTexDim.xy);\n }\n#elif defined(dGridTexType_3d)\n vec4 textureVal(vec3 pos) {\n return texture(tGridTex, pos + (vec3(0.5) / uGridDim));\n }\n vec4 textureGroup(vec3 pos) {\n return texelFetch(tGridTex, ivec3(pos * uGridDim), 0);\n }\n#endif\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\nvec4 transferFunction(float value) {\n return texture2D(tTransferTex, vec2(value, 0.0));\n}\n\nfloat getDepth(const in vec2 coords) {\n #ifdef depthTextureSupport\n if (!uRenderWboit) {\n // in case of opaque volumes (and depth texture support)\n return texture2D(tDepth, coords).r;\n } else {\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n }\n #else\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n #endif\n}\n\nconst float gradOffset = 0.5;\n\nvec3 v3m4(vec3 p, mat4 m) {\n return (m * vec4(p, 1.0)).xyz;\n}\n\nfloat preFogAlphaBlended = 0.0;\n\nvec4 raymarch(vec3 startLoc, vec3 step, vec3 rayDir) {\n #if defined(dRenderVariant_color) && !defined(dIgnoreLight)\n mat3 normalMatrix = transpose3(inverse3(mat3(uModelView * vTransform)));\n #endif\n mat4 cartnToUnit = uCartnToUnit * inverse4(vTransform);\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n mat4 modelTransform = uModel * vTransform * uTransform;\n #endif\n mat4 modelViewTransform = uModelView * vTransform * uTransform;\n\n vec3 scaleVol = vec3(1.0) / uGridDim;\n vec3 pos = startLoc;\n vec4 cell;\n float prevValue = -1.0;\n float value = 0.0;\n vec4 src = vec4(0.0);\n vec4 dst = vec4(0.0);\n bool hit = false;\n float fragmentDepth;\n\n vec3 posMin = vec3(0.0);\n vec3 posMax = vec3(1.0) - vec3(1.0) / uGridDim;\n\n vec3 unitPos;\n vec3 isoPos;\n\n vec3 nextPos;\n float nextValue;\n\n vec3 color = vec3(0.45, 0.55, 0.8);\n vec4 overpaint = vec4(0.0);\n\n vec3 gradient = vec3(1.0);\n vec3 dx = vec3(gradOffset * scaleVol.x, 0.0, 0.0);\n vec3 dy = vec3(0.0, gradOffset * scaleVol.y, 0.0);\n vec3 dz = vec3(0.0, 0.0, gradOffset * scaleVol.z);\n\n float maxDist = min(vBoundingSphere.w * 2.0, uFar - uNear);\n float maxDistSq = maxDist * maxDist;\n\n for (int i = 0; i < uMaxSteps; ++i) {\n // break when beyond bounding-sphere or far-plane\n vec3 distVec = startLoc - pos;\n if (dot(distVec, distVec) > maxDistSq) break;\n\n unitPos = v3m4(pos, cartnToUnit);\n\n // continue when outside of grid\n if (unitPos.x > posMax.x || unitPos.y > posMax.y || unitPos.z > posMax.z ||\n unitPos.x < posMin.x || unitPos.y < posMin.y || unitPos.z < posMin.z\n ) {\n if (hit) break;\n prevValue = value;\n pos += step;\n continue;\n }\n\n cell = textureVal(unitPos);\n value = cell.a; // current voxel value\n\n if (uJumpLength > 0.0 && value < 0.01) {\n nextPos = pos + rayDir * uJumpLength;\n nextValue = textureVal(v3m4(nextPos, cartnToUnit)).a;\n if (nextValue < 0.01) {\n prevValue = nextValue;\n pos = nextPos;\n continue;\n }\n }\n\n #if defined(dRenderMode_isosurface)\n if (prevValue > 0.0 && ( // there was a prev Value\n (prevValue < uIsoValue.x && value > uIsoValue.x) || // entering isosurface\n (prevValue > uIsoValue.x && value < uIsoValue.x) // leaving isosurface\n )) {\n isoPos = v3m4(mix(pos - step, pos, ((prevValue - uIsoValue.x) / ((prevValue - uIsoValue.x) - (value - uIsoValue.x)))), cartnToUnit);\n\n vec4 mvPosition = modelViewTransform * vec4(isoPos * uGridDim, 1.0);\n\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n vec3 vModelPosition = v3m4(isoPos * uGridDim, modelTransform);\n if (clipTest(vec4(vModelPosition, 0.0), 0)) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n\n float depth = calcDepth(mvPosition.xyz);\n if (depth > getDepth(gl_FragCoord.xy / uDrawingBufferSize))\n break;\n\n #ifdef enabledFragDepth\n if (!hit) {\n gl_FragDepthEXT = depth;\n }\n #endif\n\n #if defined(dRenderVariant_pickObject)\n return vec4(encodeFloatRGB(float(uObjectId)), 1.0);\n #elif defined(dRenderVariant_pickInstance)\n return vec4(encodeFloatRGB(vInstance), 1.0);\n #elif defined(dRenderVariant_pickGroup)\n #ifdef dPackedGroup\n return vec4(textureGroup(floor(isoPos * uGridDim + 0.5) / uGridDim).rgb, 1.0);\n #else\n vec3 g = floor(isoPos * uGridDim + 0.5);\n return vec4(encodeFloatRGB(g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y), 1.0);\n #endif\n #elif defined(dRenderVariant_depth)\n #ifdef enabledFragDepth\n return packDepthToRGBA(gl_FragDepthEXT);\n #else\n return packDepthToRGBA(depth);\n #endif\n #elif defined(dRenderVariant_color)\n #ifdef dPackedGroup\n float group = decodeFloatRGB(textureGroup(floor(isoPos * uGridDim + 0.5) / uGridDim).rgb);\n #else\n vec3 g = floor(isoPos * uGridDim + 0.5);\n float group = g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y;\n #endif\n\n #if defined(dColorType_uniform)\n color = uColor;\n #elif defined(dColorType_instance)\n color = readFromTexture(tColor, vInstance, uColorTexDim).rgb;\n #elif defined(dColorType_group)\n color = readFromTexture(tColor, group, uColorTexDim).rgb;\n #elif defined(dColorType_groupInstance)\n color = readFromTexture(tColor, vInstance * float(uGroupCount) + group, uColorTexDim).rgb;\n #elif defined(dColorType_vertex)\n color = texture3dFrom1dTrilinear(tColor, isoPos, uGridDim, uColorTexDim, 0.0).rgb;\n #elif defined(dColorType_vertexInstance)\n color = texture3dFrom1dTrilinear(tColor, isoPos, uGridDim, uColorTexDim, vInstance * float(uVertexCount)).rgb;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance)\n overpaint = readFromTexture(tOverpaint, vInstance * float(uGroupCount) + group, uOverpaintTexDim);\n #elif defined(dOverpaintType_vertexInstance)\n overpaint = texture3dFrom1dTrilinear(tOverpaint, isoPos, uGridDim, uOverpaintTexDim, vInstance * float(uVertexCount)).rgb;\n #endif\n\n color = mix(color, overpaint.rgb, overpaint.a);\n #endif\n\n // handle flipping and negative isosurfaces\n #ifdef dFlipSided\n bool flipped = value < uIsoValue.y; // flipped\n #else\n bool flipped = value > uIsoValue.y;\n #endif\n interior = value < uIsoValue.x && flipped;\n #ifndef dDoubleSided\n if (interior) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n vec3 vViewPosition = mvPosition.xyz;\n vec4 material = vec4(color, uAlpha);\n\n #ifdef dIgnoreLight\n gl_FragColor = material;\n #else\n #if defined(dFlatShaded)\n // nearest grid point\n isoPos = floor(isoPos * uGridDim + 0.5) / uGridDim;\n #endif\n #ifdef dPackedGroup\n // compute gradient by central differences\n gradient.x = textureVal(isoPos - dx).a - textureVal(isoPos + dx).a;\n gradient.y = textureVal(isoPos - dy).a - textureVal(isoPos + dy).a;\n gradient.z = textureVal(isoPos - dz).a - textureVal(isoPos + dz).a;\n #else\n gradient = textureVal(isoPos).xyz * 2.0 - 1.0;\n #endif\n vec3 normal = -normalize(normalMatrix * normalize(gradient));\n normal = normal * (float(flipped) * 2.0 - 1.0);\n normal = normal * -(float(interior) * 2.0 - 1.0);\n #include apply_light_color\n #endif\n\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n float marker = readFromTexture(tMarker, vInstance * float(uGroupCount) + group, uMarkerTexDim).a;\n marker = floor(marker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n #include apply_interior_color\n #include apply_marker_color\n\n preFogAlphaBlended = (1.0 - preFogAlphaBlended) * gl_FragColor.a + preFogAlphaBlended;\n fragmentDepth = depth;\n #include apply_fog\n\n src = gl_FragColor;\n\n if (!uTransparentBackground) {\n // done in 'apply_fog' otherwise\n src.rgb *= src.a;\n }\n dst = (1.0 - dst.a) * src + dst; // standard blending\n #endif\n\n #ifdef dSingleLayer\n break;\n #endif\n\n hit = true;\n }\n prevValue = value;\n #elif defined(dRenderMode_volume)\n vec4 mvPosition = modelViewTransform * vec4(unitPos * uGridDim, 1.0);\n if (calcDepth(mvPosition.xyz) > getDepth(gl_FragCoord.xy / uDrawingBufferSize))\n break;\n\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n vec3 vModelPosition = v3m4(unitPos * uGridDim, modelTransform);\n if (clipTest(vec4(vModelPosition, 0.0), 0)) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n\n #if defined(dRenderVariant_color)\n vec3 vViewPosition = mvPosition.xyz;\n vec4 material = transferFunction(value);\n\n #ifdef dIgnoreLight\n gl_FragColor.rgb = material.rgb;\n #else\n if (material.a >= 0.01) {\n #ifdef dPackedGroup\n // compute gradient by central differences\n gradient.x = textureVal(unitPos - dx).a - textureVal(unitPos + dx).a;\n gradient.y = textureVal(unitPos - dy).a - textureVal(unitPos + dy).a;\n gradient.z = textureVal(unitPos - dz).a - textureVal(unitPos + dz).a;\n #else\n gradient = cell.xyz * 2.0 - 1.0;\n #endif\n vec3 normal = -normalize(normalMatrix * normalize(gradient));\n #include apply_light_color\n } else {\n gl_FragColor.rgb = material.rgb;\n }\n #endif\n\n gl_FragColor.a = material.a * uAlpha * uTransferScale;\n\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n #ifdef dPackedGroup\n float group = decodeFloatRGB(textureGroup(floor(unitPos * uGridDim + 0.5) / uGridDim).rgb);\n #else\n vec3 g = floor(unitPos * uGridDim + 0.5);\n float group = g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y;\n #endif\n float marker = readFromTexture(tMarker, vInstance * float(uGroupCount) + group, uMarkerTexDim).a;\n marker = floor(marker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n #include apply_marker_color\n\n preFogAlphaBlended = (1.0 - preFogAlphaBlended) * gl_FragColor.a + preFogAlphaBlended;\n fragmentDepth = calcDepth(mvPosition.xyz);\n #include apply_fog\n\n src = gl_FragColor;\n\n if (!uTransparentBackground) {\n // done in 'apply_fog' otherwise\n src.rgb *= src.a;\n }\n dst = (1.0 - dst.a) * src + dst; // standard blending\n #endif\n #endif\n\n // break if the color is opaque enough\n if (dst.a > 0.95)\n break;\n\n pos += step;\n }\n\n #if defined(dRenderMode_isosurface) && defined(enabledFragDepth)\n // ensure depth is written everywhere\n if (!hit)\n gl_FragDepthEXT = 1.0;\n #endif\n\n return dst;\n}\n\n// TODO: support float texture for higher precision values???\n// TODO: support clipping exclusion texture support\n\nvoid main() {\n if (gl_FrontFacing)\n discard;\n\n #ifdef dRenderVariant_marking\n // not supported\n discard;\n #endif\n\n #if defined(dRenderVariant_pick) || defined(dRenderVariant_depth)\n #if defined(dRenderMode_volume)\n // always ignore pick & depth for volume\n discard;\n #elif defined(dRenderMode_isosurface)\n if (uAlpha < uPickingAlphaThreshold)\n discard; // ignore so the element below can be picked\n #endif\n #endif\n\n vec3 rayDir = mix(normalize(vOrigPos - uCameraPosition), uCameraDir, uIsOrtho);\n vec3 step = rayDir * uStepScale;\n\n float boundingSphereNear = distance(vBoundingSphere.xyz, uCameraPosition) - vBoundingSphere.w;\n float d = max(uNear, boundingSphereNear) - mix(0.0, distance(vOrigPos, uCameraPosition), uIsOrtho);\n vec3 start = mix(uCameraPosition, vOrigPos, uIsOrtho) + (d * rayDir);\n gl_FragColor = raymarch(start, step, rayDir);\n\n #if defined(dRenderVariant_pick) || defined(dRenderVariant_depth)\n // discard when nothing was hit\n if (gl_FragColor == vec4(0.0))\n discard;\n #endif\n\n #if defined(dRenderVariant_color)\n #if defined(dRenderMode_isosurface) && defined(enabledFragDepth)\n float fragmentDepth = gl_FragDepthEXT;\n #else\n float fragmentDepth = calcDepth((uModelView * vec4(start, 1.0)).xyz);\n #endif\n float preFogAlpha = clamp(preFogAlphaBlended, 0.0, 1.0);\n interior = false;\n #include wboit_write\n #endif\n}\n";
7
+ export declare const directVolume_frag = "\nprecision highp float;\nprecision highp int;\n\n#include common\n#include light_frag_params\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#endif\n#include common_clip\n\n#include read_from_texture\n#include texture3d_from_1d_trilinear\n#include texture3d_from_2d_nearest\n#include texture3d_from_2d_linear\n\nuniform mat4 uProjection, uTransform, uModelView, uModel, uView;\nuniform vec3 uCameraDir;\n\nuniform sampler2D tDepth;\nuniform vec2 uDrawingBufferSize;\n\nvarying vec3 vOrigPos;\nvarying float vInstance;\nvarying vec4 vBoundingSphere;\nvarying mat4 vTransform;\n\nuniform mat4 uInvView;\nuniform vec2 uIsoValue;\nuniform vec3 uGridDim;\nuniform vec3 uBboxSize;\nuniform sampler2D tTransferTex;\nuniform float uTransferScale;\nuniform float uStepScale;\nuniform float uJumpLength;\n\nuniform int uObjectId;\nuniform int uVertexCount;\nuniform int uInstanceCount;\nuniform int uGroupCount;\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 uniform vec2 uMarkerTexDim;\n uniform sampler2D tMarker;\n#endif\n\nuniform float uMetalness;\nuniform float uRoughness;\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 bool uRenderWboit;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uIsOrtho;\n\nuniform vec3 uCellDim;\nuniform vec3 uCameraPosition;\nuniform mat4 uCartnToUnit;\n\n#if __VERSION__ != 100\n // for webgl1 this is given as a 'define'\n uniform int uMaxSteps;\n#endif\n\n#if defined(dGridTexType_2d)\n precision highp sampler2D;\n uniform sampler2D tGridTex;\n uniform vec3 uGridTexDim;\n#elif defined(dGridTexType_3d)\n precision highp sampler3D;\n uniform sampler3D tGridTex;\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_texture)\n uniform vec2 uColorTexDim;\n uniform sampler2D tColor;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance) || defined(dOverpaintType_vertexInstance)\n uniform vec2 uOverpaintTexDim;\n uniform sampler2D tOverpaint;\n #endif\n #endif\n\n #ifdef dSubstance\n #if defined(dSubstanceType_groupInstance) || defined(dSubstanceType_vertexInstance)\n uniform vec2 uSubstanceTexDim;\n uniform sampler2D tSubstance;\n #endif\n #endif\n#endif\n\n#if defined(dGridTexType_2d)\n vec4 textureVal(vec3 pos) {\n return texture3dFrom2dLinear(tGridTex, pos + (vec3(0.5, 0.5, 0.0) / uGridDim), uGridDim, uGridTexDim.xy);\n }\n vec4 textureGroup(vec3 pos) {\n return texture3dFrom2dNearest(tGridTex, pos + (vec3(0.5, 0.5, 0.0) / uGridDim), uGridDim, uGridTexDim.xy);\n }\n#elif defined(dGridTexType_3d)\n vec4 textureVal(vec3 pos) {\n return texture(tGridTex, pos + (vec3(0.5) / uGridDim));\n }\n vec4 textureGroup(vec3 pos) {\n return texelFetch(tGridTex, ivec3(pos * uGridDim), 0);\n }\n#endif\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\nvec4 transferFunction(float value) {\n return texture2D(tTransferTex, vec2(value, 0.0));\n}\n\nfloat getDepth(const in vec2 coords) {\n #ifdef depthTextureSupport\n if (!uRenderWboit) {\n // in case of opaque volumes (and depth texture support)\n return texture2D(tDepth, coords).r;\n } else {\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n }\n #else\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n #endif\n}\n\nconst float gradOffset = 0.5;\n\nvec3 v3m4(vec3 p, mat4 m) {\n return (m * vec4(p, 1.0)).xyz;\n}\n\nfloat preFogAlphaBlended = 0.0;\n\nvec4 raymarch(vec3 startLoc, vec3 step, vec3 rayDir) {\n #if defined(dRenderVariant_color) && !defined(dIgnoreLight)\n mat3 normalMatrix = transpose3(inverse3(mat3(uModelView * vTransform)));\n #endif\n mat4 cartnToUnit = uCartnToUnit * inverse4(vTransform);\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n mat4 modelTransform = uModel * vTransform * uTransform;\n #endif\n mat4 modelViewTransform = uModelView * vTransform * uTransform;\n\n vec3 scaleVol = vec3(1.0) / uGridDim;\n vec3 pos = startLoc;\n vec4 cell;\n float prevValue = -1.0;\n float value = 0.0;\n vec4 src = vec4(0.0);\n vec4 dst = vec4(0.0);\n bool hit = false;\n float fragmentDepth;\n\n vec3 posMin = vec3(0.0);\n vec3 posMax = vec3(1.0) - vec3(1.0) / uGridDim;\n\n vec3 unitPos;\n vec3 isoPos;\n\n vec3 nextPos;\n float nextValue;\n\n vec3 color = vec3(0.45, 0.55, 0.8);\n vec4 overpaint = vec4(0.0);\n vec3 substance = vec3(0.0);\n float metalness = uMetalness;\n float roughness = uRoughness;\n\n vec3 gradient = vec3(1.0);\n vec3 dx = vec3(gradOffset * scaleVol.x, 0.0, 0.0);\n vec3 dy = vec3(0.0, gradOffset * scaleVol.y, 0.0);\n vec3 dz = vec3(0.0, 0.0, gradOffset * scaleVol.z);\n\n float maxDist = min(vBoundingSphere.w * 2.0, uFar - uNear);\n float maxDistSq = maxDist * maxDist;\n\n for (int i = 0; i < uMaxSteps; ++i) {\n // break when beyond bounding-sphere or far-plane\n vec3 distVec = startLoc - pos;\n if (dot(distVec, distVec) > maxDistSq) break;\n\n unitPos = v3m4(pos, cartnToUnit);\n\n // continue when outside of grid\n if (unitPos.x > posMax.x || unitPos.y > posMax.y || unitPos.z > posMax.z ||\n unitPos.x < posMin.x || unitPos.y < posMin.y || unitPos.z < posMin.z\n ) {\n if (hit) break;\n prevValue = value;\n pos += step;\n continue;\n }\n\n cell = textureVal(unitPos);\n value = cell.a; // current voxel value\n\n if (uJumpLength > 0.0 && value < 0.01) {\n nextPos = pos + rayDir * uJumpLength;\n nextValue = textureVal(v3m4(nextPos, cartnToUnit)).a;\n if (nextValue < 0.01) {\n prevValue = nextValue;\n pos = nextPos;\n continue;\n }\n }\n\n #if defined(dRenderMode_isosurface)\n if (prevValue > 0.0 && ( // there was a prev Value\n (prevValue < uIsoValue.x && value > uIsoValue.x) || // entering isosurface\n (prevValue > uIsoValue.x && value < uIsoValue.x) // leaving isosurface\n )) {\n isoPos = v3m4(mix(pos - step, pos, ((prevValue - uIsoValue.x) / ((prevValue - uIsoValue.x) - (value - uIsoValue.x)))), cartnToUnit);\n\n vec4 mvPosition = modelViewTransform * vec4(isoPos * uGridDim, 1.0);\n\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n vec3 vModelPosition = v3m4(isoPos * uGridDim, modelTransform);\n if (clipTest(vec4(vModelPosition, 0.0), 0)) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n\n float depth = calcDepth(mvPosition.xyz);\n if (depth > getDepth(gl_FragCoord.xy / uDrawingBufferSize))\n break;\n\n #ifdef enabledFragDepth\n if (!hit) {\n gl_FragDepthEXT = depth;\n }\n #endif\n\n #if defined(dRenderVariant_pickObject)\n return vec4(encodeFloatRGB(float(uObjectId)), 1.0);\n #elif defined(dRenderVariant_pickInstance)\n return vec4(encodeFloatRGB(vInstance), 1.0);\n #elif defined(dRenderVariant_pickGroup)\n #ifdef dPackedGroup\n return vec4(textureGroup(floor(isoPos * uGridDim + 0.5) / uGridDim).rgb, 1.0);\n #else\n vec3 g = floor(isoPos * uGridDim + 0.5);\n return vec4(encodeFloatRGB(g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y), 1.0);\n #endif\n #elif defined(dRenderVariant_depth)\n #ifdef enabledFragDepth\n return packDepthToRGBA(gl_FragDepthEXT);\n #else\n return packDepthToRGBA(depth);\n #endif\n #elif defined(dRenderVariant_color)\n #ifdef dPackedGroup\n float group = decodeFloatRGB(textureGroup(floor(isoPos * uGridDim + 0.5) / uGridDim).rgb);\n #else\n vec3 g = floor(isoPos * uGridDim + 0.5);\n float group = g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y;\n #endif\n\n #if defined(dColorType_uniform)\n color = uColor;\n #elif defined(dColorType_instance)\n color = readFromTexture(tColor, vInstance, uColorTexDim).rgb;\n #elif defined(dColorType_group)\n color = readFromTexture(tColor, group, uColorTexDim).rgb;\n #elif defined(dColorType_groupInstance)\n color = readFromTexture(tColor, vInstance * float(uGroupCount) + group, uColorTexDim).rgb;\n #elif defined(dColorType_vertex)\n color = texture3dFrom1dTrilinear(tColor, isoPos, uGridDim, uColorTexDim, 0.0).rgb;\n #elif defined(dColorType_vertexInstance)\n color = texture3dFrom1dTrilinear(tColor, isoPos, uGridDim, uColorTexDim, vInstance * float(uVertexCount)).rgb;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance)\n overpaint = readFromTexture(tOverpaint, vInstance * float(uGroupCount) + group, uOverpaintTexDim);\n #elif defined(dOverpaintType_vertexInstance)\n overpaint = texture3dFrom1dTrilinear(tOverpaint, isoPos, uGridDim, uOverpaintTexDim, vInstance * float(uVertexCount));\n #endif\n\n color = mix(color, overpaint.rgb, overpaint.a);\n #endif\n\n // handle flipping and negative isosurfaces\n #ifdef dFlipSided\n bool flipped = value < uIsoValue.y; // flipped\n #else\n bool flipped = value > uIsoValue.y;\n #endif\n interior = value < uIsoValue.x && flipped;\n #ifndef dDoubleSided\n if (interior) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n vec3 vViewPosition = mvPosition.xyz;\n vec4 material = vec4(color, uAlpha);\n\n #ifdef dIgnoreLight\n gl_FragColor = material;\n #else\n #if defined(dFlatShaded)\n // nearest grid point\n isoPos = floor(isoPos * uGridDim + 0.5) / uGridDim;\n #endif\n #ifdef dPackedGroup\n // compute gradient by central differences\n gradient.x = textureVal(isoPos - dx).a - textureVal(isoPos + dx).a;\n gradient.y = textureVal(isoPos - dy).a - textureVal(isoPos + dy).a;\n gradient.z = textureVal(isoPos - dz).a - textureVal(isoPos + dz).a;\n #else\n gradient = textureVal(isoPos).xyz * 2.0 - 1.0;\n #endif\n vec3 normal = -normalize(normalMatrix * normalize(gradient));\n normal = normal * (float(flipped) * 2.0 - 1.0);\n normal = normal * -(float(interior) * 2.0 - 1.0);\n #ifdef dSubstance\n #if defined(dSubstanceType_groupInstance)\n substance = readFromTexture(tSubstance, vInstance * float(uGroupCount) + group, uSubstanceTexDim).rgb;\n #elif defined(dSubstanceType_vertexInstance)\n substance = texture3dFrom1dTrilinear(tSubstance, isoPos, uGridDim, uSubstanceTexDim, vInstance * float(uVertexCount)).rgb;\n #endif\n metalness = mix(metalness, substance.r, substance.b);\n roughness = mix(roughness, substance.g, substance.b);\n #endif\n #include apply_light_color\n #endif\n\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n float marker = readFromTexture(tMarker, vInstance * float(uGroupCount) + group, uMarkerTexDim).a;\n marker = floor(marker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n #include apply_interior_color\n #include apply_marker_color\n\n preFogAlphaBlended = (1.0 - preFogAlphaBlended) * gl_FragColor.a + preFogAlphaBlended;\n fragmentDepth = depth;\n #include apply_fog\n\n src = gl_FragColor;\n\n if (!uTransparentBackground) {\n // done in 'apply_fog' otherwise\n src.rgb *= src.a;\n }\n dst = (1.0 - dst.a) * src + dst; // standard blending\n #endif\n\n #ifdef dSingleLayer\n break;\n #endif\n\n hit = true;\n }\n prevValue = value;\n #elif defined(dRenderMode_volume)\n vec4 mvPosition = modelViewTransform * vec4(unitPos * uGridDim, 1.0);\n if (calcDepth(mvPosition.xyz) > getDepth(gl_FragCoord.xy / uDrawingBufferSize))\n break;\n\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n vec3 vModelPosition = v3m4(unitPos * uGridDim, modelTransform);\n if (clipTest(vec4(vModelPosition, 0.0), 0)) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n\n #if defined(dRenderVariant_color)\n vec3 vViewPosition = mvPosition.xyz;\n vec4 material = transferFunction(value);\n\n #ifdef dIgnoreLight\n gl_FragColor.rgb = material.rgb;\n #else\n if (material.a >= 0.01) {\n #ifdef dPackedGroup\n // compute gradient by central differences\n gradient.x = textureVal(unitPos - dx).a - textureVal(unitPos + dx).a;\n gradient.y = textureVal(unitPos - dy).a - textureVal(unitPos + dy).a;\n gradient.z = textureVal(unitPos - dz).a - textureVal(unitPos + dz).a;\n #else\n gradient = cell.xyz * 2.0 - 1.0;\n #endif\n vec3 normal = -normalize(normalMatrix * normalize(gradient));\n #include apply_light_color\n } else {\n gl_FragColor.rgb = material.rgb;\n }\n #endif\n\n gl_FragColor.a = material.a * uAlpha * uTransferScale;\n\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n #ifdef dPackedGroup\n float group = decodeFloatRGB(textureGroup(floor(unitPos * uGridDim + 0.5) / uGridDim).rgb);\n #else\n vec3 g = floor(unitPos * uGridDim + 0.5);\n float group = g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y;\n #endif\n float marker = readFromTexture(tMarker, vInstance * float(uGroupCount) + group, uMarkerTexDim).a;\n marker = floor(marker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n #include apply_marker_color\n\n preFogAlphaBlended = (1.0 - preFogAlphaBlended) * gl_FragColor.a + preFogAlphaBlended;\n fragmentDepth = calcDepth(mvPosition.xyz);\n #include apply_fog\n\n src = gl_FragColor;\n\n if (!uTransparentBackground) {\n // done in 'apply_fog' otherwise\n src.rgb *= src.a;\n }\n dst = (1.0 - dst.a) * src + dst; // standard blending\n #endif\n #endif\n\n // break if the color is opaque enough\n if (dst.a > 0.95)\n break;\n\n pos += step;\n }\n\n #if defined(dRenderMode_isosurface) && defined(enabledFragDepth)\n // ensure depth is written everywhere\n if (!hit)\n gl_FragDepthEXT = 1.0;\n #endif\n\n return dst;\n}\n\n// TODO: support float texture for higher precision values???\n// TODO: support clipping exclusion texture support\n\nvoid main() {\n if (gl_FrontFacing)\n discard;\n\n #ifdef dRenderVariant_marking\n // not supported\n discard;\n #endif\n\n #if defined(dRenderVariant_pick) || defined(dRenderVariant_depth)\n #if defined(dRenderMode_volume)\n // always ignore pick & depth for volume\n discard;\n #elif defined(dRenderMode_isosurface)\n if (uAlpha < uPickingAlphaThreshold)\n discard; // ignore so the element below can be picked\n #endif\n #endif\n\n vec3 rayDir = mix(normalize(vOrigPos - uCameraPosition), uCameraDir, uIsOrtho);\n vec3 step = rayDir * uStepScale;\n\n float boundingSphereNear = distance(vBoundingSphere.xyz, uCameraPosition) - vBoundingSphere.w;\n float d = max(uNear, boundingSphereNear) - mix(0.0, distance(vOrigPos, uCameraPosition), uIsOrtho);\n vec3 start = mix(uCameraPosition, vOrigPos, uIsOrtho) + (d * rayDir);\n gl_FragColor = raymarch(start, step, rayDir);\n\n #if defined(dRenderVariant_pick) || defined(dRenderVariant_depth)\n // discard when nothing was hit\n if (gl_FragColor == vec4(0.0))\n discard;\n #endif\n\n #if defined(dRenderVariant_color)\n #if defined(dRenderMode_isosurface) && defined(enabledFragDepth)\n float fragmentDepth = gl_FragDepthEXT;\n #else\n float fragmentDepth = calcDepth((uModelView * vec4(start, 1.0)).xyz);\n #endif\n float preFogAlpha = clamp(preFogAlphaBlended, 0.0, 1.0);\n interior = false;\n #include wboit_write\n #endif\n}\n";
@@ -4,5 +4,5 @@
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  * @author Michael Krone <michael.krone@uni-tuebingen.de>
6
6
  */
7
- export var directVolume_frag = "\nprecision highp float;\nprecision highp int;\n\n#include common\n#include light_frag_params\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#endif\n#include common_clip\n\n#include read_from_texture\n#include texture3d_from_1d_trilinear\n#include texture3d_from_2d_nearest\n#include texture3d_from_2d_linear\n\nuniform mat4 uProjection, uTransform, uModelView, uModel, uView;\nuniform vec3 uCameraDir;\n\nuniform sampler2D tDepth;\nuniform vec2 uDrawingBufferSize;\n\nvarying vec3 vOrigPos;\nvarying float vInstance;\nvarying vec4 vBoundingSphere;\nvarying mat4 vTransform;\n\nuniform mat4 uInvView;\nuniform vec2 uIsoValue;\nuniform vec3 uGridDim;\nuniform vec3 uBboxSize;\nuniform sampler2D tTransferTex;\nuniform float uTransferScale;\nuniform float uStepScale;\nuniform float uJumpLength;\n\nuniform int uObjectId;\nuniform int uVertexCount;\nuniform int uInstanceCount;\nuniform int uGroupCount;\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 uniform vec2 uMarkerTexDim;\n uniform sampler2D tMarker;\n#endif\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 bool uRenderWboit;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uIsOrtho;\n\nuniform vec3 uCellDim;\nuniform vec3 uCameraPosition;\nuniform mat4 uCartnToUnit;\n\n#if __VERSION__ != 100\n // for webgl1 this is given as a 'define'\n uniform int uMaxSteps;\n#endif\n\n#if defined(dGridTexType_2d)\n precision highp sampler2D;\n uniform sampler2D tGridTex;\n uniform vec3 uGridTexDim;\n#elif defined(dGridTexType_3d)\n precision highp sampler3D;\n uniform sampler3D tGridTex;\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_texture)\n uniform vec2 uColorTexDim;\n uniform sampler2D tColor;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance) || defined(dOverpaintType_vertexInstance)\n uniform vec2 uOverpaintTexDim;\n uniform sampler2D tOverpaint;\n #endif\n #endif\n#endif\n\n#if defined(dGridTexType_2d)\n vec4 textureVal(vec3 pos) {\n return texture3dFrom2dLinear(tGridTex, pos + (vec3(0.5, 0.5, 0.0) / uGridDim), uGridDim, uGridTexDim.xy);\n }\n vec4 textureGroup(vec3 pos) {\n return texture3dFrom2dNearest(tGridTex, pos + (vec3(0.5, 0.5, 0.0) / uGridDim), uGridDim, uGridTexDim.xy);\n }\n#elif defined(dGridTexType_3d)\n vec4 textureVal(vec3 pos) {\n return texture(tGridTex, pos + (vec3(0.5) / uGridDim));\n }\n vec4 textureGroup(vec3 pos) {\n return texelFetch(tGridTex, ivec3(pos * uGridDim), 0);\n }\n#endif\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\nvec4 transferFunction(float value) {\n return texture2D(tTransferTex, vec2(value, 0.0));\n}\n\nfloat getDepth(const in vec2 coords) {\n #ifdef depthTextureSupport\n if (!uRenderWboit) {\n // in case of opaque volumes (and depth texture support)\n return texture2D(tDepth, coords).r;\n } else {\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n }\n #else\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n #endif\n}\n\nconst float gradOffset = 0.5;\n\nvec3 v3m4(vec3 p, mat4 m) {\n return (m * vec4(p, 1.0)).xyz;\n}\n\nfloat preFogAlphaBlended = 0.0;\n\nvec4 raymarch(vec3 startLoc, vec3 step, vec3 rayDir) {\n #if defined(dRenderVariant_color) && !defined(dIgnoreLight)\n mat3 normalMatrix = transpose3(inverse3(mat3(uModelView * vTransform)));\n #endif\n mat4 cartnToUnit = uCartnToUnit * inverse4(vTransform);\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n mat4 modelTransform = uModel * vTransform * uTransform;\n #endif\n mat4 modelViewTransform = uModelView * vTransform * uTransform;\n\n vec3 scaleVol = vec3(1.0) / uGridDim;\n vec3 pos = startLoc;\n vec4 cell;\n float prevValue = -1.0;\n float value = 0.0;\n vec4 src = vec4(0.0);\n vec4 dst = vec4(0.0);\n bool hit = false;\n float fragmentDepth;\n\n vec3 posMin = vec3(0.0);\n vec3 posMax = vec3(1.0) - vec3(1.0) / uGridDim;\n\n vec3 unitPos;\n vec3 isoPos;\n\n vec3 nextPos;\n float nextValue;\n\n vec3 color = vec3(0.45, 0.55, 0.8);\n vec4 overpaint = vec4(0.0);\n\n vec3 gradient = vec3(1.0);\n vec3 dx = vec3(gradOffset * scaleVol.x, 0.0, 0.0);\n vec3 dy = vec3(0.0, gradOffset * scaleVol.y, 0.0);\n vec3 dz = vec3(0.0, 0.0, gradOffset * scaleVol.z);\n\n float maxDist = min(vBoundingSphere.w * 2.0, uFar - uNear);\n float maxDistSq = maxDist * maxDist;\n\n for (int i = 0; i < uMaxSteps; ++i) {\n // break when beyond bounding-sphere or far-plane\n vec3 distVec = startLoc - pos;\n if (dot(distVec, distVec) > maxDistSq) break;\n\n unitPos = v3m4(pos, cartnToUnit);\n\n // continue when outside of grid\n if (unitPos.x > posMax.x || unitPos.y > posMax.y || unitPos.z > posMax.z ||\n unitPos.x < posMin.x || unitPos.y < posMin.y || unitPos.z < posMin.z\n ) {\n if (hit) break;\n prevValue = value;\n pos += step;\n continue;\n }\n\n cell = textureVal(unitPos);\n value = cell.a; // current voxel value\n\n if (uJumpLength > 0.0 && value < 0.01) {\n nextPos = pos + rayDir * uJumpLength;\n nextValue = textureVal(v3m4(nextPos, cartnToUnit)).a;\n if (nextValue < 0.01) {\n prevValue = nextValue;\n pos = nextPos;\n continue;\n }\n }\n\n #if defined(dRenderMode_isosurface)\n if (prevValue > 0.0 && ( // there was a prev Value\n (prevValue < uIsoValue.x && value > uIsoValue.x) || // entering isosurface\n (prevValue > uIsoValue.x && value < uIsoValue.x) // leaving isosurface\n )) {\n isoPos = v3m4(mix(pos - step, pos, ((prevValue - uIsoValue.x) / ((prevValue - uIsoValue.x) - (value - uIsoValue.x)))), cartnToUnit);\n\n vec4 mvPosition = modelViewTransform * vec4(isoPos * uGridDim, 1.0);\n\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n vec3 vModelPosition = v3m4(isoPos * uGridDim, modelTransform);\n if (clipTest(vec4(vModelPosition, 0.0), 0)) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n\n float depth = calcDepth(mvPosition.xyz);\n if (depth > getDepth(gl_FragCoord.xy / uDrawingBufferSize))\n break;\n\n #ifdef enabledFragDepth\n if (!hit) {\n gl_FragDepthEXT = depth;\n }\n #endif\n\n #if defined(dRenderVariant_pickObject)\n return vec4(encodeFloatRGB(float(uObjectId)), 1.0);\n #elif defined(dRenderVariant_pickInstance)\n return vec4(encodeFloatRGB(vInstance), 1.0);\n #elif defined(dRenderVariant_pickGroup)\n #ifdef dPackedGroup\n return vec4(textureGroup(floor(isoPos * uGridDim + 0.5) / uGridDim).rgb, 1.0);\n #else\n vec3 g = floor(isoPos * uGridDim + 0.5);\n return vec4(encodeFloatRGB(g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y), 1.0);\n #endif\n #elif defined(dRenderVariant_depth)\n #ifdef enabledFragDepth\n return packDepthToRGBA(gl_FragDepthEXT);\n #else\n return packDepthToRGBA(depth);\n #endif\n #elif defined(dRenderVariant_color)\n #ifdef dPackedGroup\n float group = decodeFloatRGB(textureGroup(floor(isoPos * uGridDim + 0.5) / uGridDim).rgb);\n #else\n vec3 g = floor(isoPos * uGridDim + 0.5);\n float group = g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y;\n #endif\n\n #if defined(dColorType_uniform)\n color = uColor;\n #elif defined(dColorType_instance)\n color = readFromTexture(tColor, vInstance, uColorTexDim).rgb;\n #elif defined(dColorType_group)\n color = readFromTexture(tColor, group, uColorTexDim).rgb;\n #elif defined(dColorType_groupInstance)\n color = readFromTexture(tColor, vInstance * float(uGroupCount) + group, uColorTexDim).rgb;\n #elif defined(dColorType_vertex)\n color = texture3dFrom1dTrilinear(tColor, isoPos, uGridDim, uColorTexDim, 0.0).rgb;\n #elif defined(dColorType_vertexInstance)\n color = texture3dFrom1dTrilinear(tColor, isoPos, uGridDim, uColorTexDim, vInstance * float(uVertexCount)).rgb;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance)\n overpaint = readFromTexture(tOverpaint, vInstance * float(uGroupCount) + group, uOverpaintTexDim);\n #elif defined(dOverpaintType_vertexInstance)\n overpaint = texture3dFrom1dTrilinear(tOverpaint, isoPos, uGridDim, uOverpaintTexDim, vInstance * float(uVertexCount)).rgb;\n #endif\n\n color = mix(color, overpaint.rgb, overpaint.a);\n #endif\n\n // handle flipping and negative isosurfaces\n #ifdef dFlipSided\n bool flipped = value < uIsoValue.y; // flipped\n #else\n bool flipped = value > uIsoValue.y;\n #endif\n interior = value < uIsoValue.x && flipped;\n #ifndef dDoubleSided\n if (interior) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n vec3 vViewPosition = mvPosition.xyz;\n vec4 material = vec4(color, uAlpha);\n\n #ifdef dIgnoreLight\n gl_FragColor = material;\n #else\n #if defined(dFlatShaded)\n // nearest grid point\n isoPos = floor(isoPos * uGridDim + 0.5) / uGridDim;\n #endif\n #ifdef dPackedGroup\n // compute gradient by central differences\n gradient.x = textureVal(isoPos - dx).a - textureVal(isoPos + dx).a;\n gradient.y = textureVal(isoPos - dy).a - textureVal(isoPos + dy).a;\n gradient.z = textureVal(isoPos - dz).a - textureVal(isoPos + dz).a;\n #else\n gradient = textureVal(isoPos).xyz * 2.0 - 1.0;\n #endif\n vec3 normal = -normalize(normalMatrix * normalize(gradient));\n normal = normal * (float(flipped) * 2.0 - 1.0);\n normal = normal * -(float(interior) * 2.0 - 1.0);\n #include apply_light_color\n #endif\n\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n float marker = readFromTexture(tMarker, vInstance * float(uGroupCount) + group, uMarkerTexDim).a;\n marker = floor(marker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n #include apply_interior_color\n #include apply_marker_color\n\n preFogAlphaBlended = (1.0 - preFogAlphaBlended) * gl_FragColor.a + preFogAlphaBlended;\n fragmentDepth = depth;\n #include apply_fog\n\n src = gl_FragColor;\n\n if (!uTransparentBackground) {\n // done in 'apply_fog' otherwise\n src.rgb *= src.a;\n }\n dst = (1.0 - dst.a) * src + dst; // standard blending\n #endif\n\n #ifdef dSingleLayer\n break;\n #endif\n\n hit = true;\n }\n prevValue = value;\n #elif defined(dRenderMode_volume)\n vec4 mvPosition = modelViewTransform * vec4(unitPos * uGridDim, 1.0);\n if (calcDepth(mvPosition.xyz) > getDepth(gl_FragCoord.xy / uDrawingBufferSize))\n break;\n\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n vec3 vModelPosition = v3m4(unitPos * uGridDim, modelTransform);\n if (clipTest(vec4(vModelPosition, 0.0), 0)) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n\n #if defined(dRenderVariant_color)\n vec3 vViewPosition = mvPosition.xyz;\n vec4 material = transferFunction(value);\n\n #ifdef dIgnoreLight\n gl_FragColor.rgb = material.rgb;\n #else\n if (material.a >= 0.01) {\n #ifdef dPackedGroup\n // compute gradient by central differences\n gradient.x = textureVal(unitPos - dx).a - textureVal(unitPos + dx).a;\n gradient.y = textureVal(unitPos - dy).a - textureVal(unitPos + dy).a;\n gradient.z = textureVal(unitPos - dz).a - textureVal(unitPos + dz).a;\n #else\n gradient = cell.xyz * 2.0 - 1.0;\n #endif\n vec3 normal = -normalize(normalMatrix * normalize(gradient));\n #include apply_light_color\n } else {\n gl_FragColor.rgb = material.rgb;\n }\n #endif\n\n gl_FragColor.a = material.a * uAlpha * uTransferScale;\n\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n #ifdef dPackedGroup\n float group = decodeFloatRGB(textureGroup(floor(unitPos * uGridDim + 0.5) / uGridDim).rgb);\n #else\n vec3 g = floor(unitPos * uGridDim + 0.5);\n float group = g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y;\n #endif\n float marker = readFromTexture(tMarker, vInstance * float(uGroupCount) + group, uMarkerTexDim).a;\n marker = floor(marker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n #include apply_marker_color\n\n preFogAlphaBlended = (1.0 - preFogAlphaBlended) * gl_FragColor.a + preFogAlphaBlended;\n fragmentDepth = calcDepth(mvPosition.xyz);\n #include apply_fog\n\n src = gl_FragColor;\n\n if (!uTransparentBackground) {\n // done in 'apply_fog' otherwise\n src.rgb *= src.a;\n }\n dst = (1.0 - dst.a) * src + dst; // standard blending\n #endif\n #endif\n\n // break if the color is opaque enough\n if (dst.a > 0.95)\n break;\n\n pos += step;\n }\n\n #if defined(dRenderMode_isosurface) && defined(enabledFragDepth)\n // ensure depth is written everywhere\n if (!hit)\n gl_FragDepthEXT = 1.0;\n #endif\n\n return dst;\n}\n\n// TODO: support float texture for higher precision values???\n// TODO: support clipping exclusion texture support\n\nvoid main() {\n if (gl_FrontFacing)\n discard;\n\n #ifdef dRenderVariant_marking\n // not supported\n discard;\n #endif\n\n #if defined(dRenderVariant_pick) || defined(dRenderVariant_depth)\n #if defined(dRenderMode_volume)\n // always ignore pick & depth for volume\n discard;\n #elif defined(dRenderMode_isosurface)\n if (uAlpha < uPickingAlphaThreshold)\n discard; // ignore so the element below can be picked\n #endif\n #endif\n\n vec3 rayDir = mix(normalize(vOrigPos - uCameraPosition), uCameraDir, uIsOrtho);\n vec3 step = rayDir * uStepScale;\n\n float boundingSphereNear = distance(vBoundingSphere.xyz, uCameraPosition) - vBoundingSphere.w;\n float d = max(uNear, boundingSphereNear) - mix(0.0, distance(vOrigPos, uCameraPosition), uIsOrtho);\n vec3 start = mix(uCameraPosition, vOrigPos, uIsOrtho) + (d * rayDir);\n gl_FragColor = raymarch(start, step, rayDir);\n\n #if defined(dRenderVariant_pick) || defined(dRenderVariant_depth)\n // discard when nothing was hit\n if (gl_FragColor == vec4(0.0))\n discard;\n #endif\n\n #if defined(dRenderVariant_color)\n #if defined(dRenderMode_isosurface) && defined(enabledFragDepth)\n float fragmentDepth = gl_FragDepthEXT;\n #else\n float fragmentDepth = calcDepth((uModelView * vec4(start, 1.0)).xyz);\n #endif\n float preFogAlpha = clamp(preFogAlphaBlended, 0.0, 1.0);\n interior = false;\n #include wboit_write\n #endif\n}\n";
7
+ export var directVolume_frag = "\nprecision highp float;\nprecision highp int;\n\n#include common\n#include light_frag_params\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#endif\n#include common_clip\n\n#include read_from_texture\n#include texture3d_from_1d_trilinear\n#include texture3d_from_2d_nearest\n#include texture3d_from_2d_linear\n\nuniform mat4 uProjection, uTransform, uModelView, uModel, uView;\nuniform vec3 uCameraDir;\n\nuniform sampler2D tDepth;\nuniform vec2 uDrawingBufferSize;\n\nvarying vec3 vOrigPos;\nvarying float vInstance;\nvarying vec4 vBoundingSphere;\nvarying mat4 vTransform;\n\nuniform mat4 uInvView;\nuniform vec2 uIsoValue;\nuniform vec3 uGridDim;\nuniform vec3 uBboxSize;\nuniform sampler2D tTransferTex;\nuniform float uTransferScale;\nuniform float uStepScale;\nuniform float uJumpLength;\n\nuniform int uObjectId;\nuniform int uVertexCount;\nuniform int uInstanceCount;\nuniform int uGroupCount;\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 uniform vec2 uMarkerTexDim;\n uniform sampler2D tMarker;\n#endif\n\nuniform float uMetalness;\nuniform float uRoughness;\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 bool uRenderWboit;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uIsOrtho;\n\nuniform vec3 uCellDim;\nuniform vec3 uCameraPosition;\nuniform mat4 uCartnToUnit;\n\n#if __VERSION__ != 100\n // for webgl1 this is given as a 'define'\n uniform int uMaxSteps;\n#endif\n\n#if defined(dGridTexType_2d)\n precision highp sampler2D;\n uniform sampler2D tGridTex;\n uniform vec3 uGridTexDim;\n#elif defined(dGridTexType_3d)\n precision highp sampler3D;\n uniform sampler3D tGridTex;\n#endif\n\n#if defined(dRenderVariant_color)\n #if defined(dColorType_uniform)\n uniform vec3 uColor;\n #elif defined(dColorType_texture)\n uniform vec2 uColorTexDim;\n uniform sampler2D tColor;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance) || defined(dOverpaintType_vertexInstance)\n uniform vec2 uOverpaintTexDim;\n uniform sampler2D tOverpaint;\n #endif\n #endif\n\n #ifdef dSubstance\n #if defined(dSubstanceType_groupInstance) || defined(dSubstanceType_vertexInstance)\n uniform vec2 uSubstanceTexDim;\n uniform sampler2D tSubstance;\n #endif\n #endif\n#endif\n\n#if defined(dGridTexType_2d)\n vec4 textureVal(vec3 pos) {\n return texture3dFrom2dLinear(tGridTex, pos + (vec3(0.5, 0.5, 0.0) / uGridDim), uGridDim, uGridTexDim.xy);\n }\n vec4 textureGroup(vec3 pos) {\n return texture3dFrom2dNearest(tGridTex, pos + (vec3(0.5, 0.5, 0.0) / uGridDim), uGridDim, uGridTexDim.xy);\n }\n#elif defined(dGridTexType_3d)\n vec4 textureVal(vec3 pos) {\n return texture(tGridTex, pos + (vec3(0.5) / uGridDim));\n }\n vec4 textureGroup(vec3 pos) {\n return texelFetch(tGridTex, ivec3(pos * uGridDim), 0);\n }\n#endif\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\nvec4 transferFunction(float value) {\n return texture2D(tTransferTex, vec2(value, 0.0));\n}\n\nfloat getDepth(const in vec2 coords) {\n #ifdef depthTextureSupport\n if (!uRenderWboit) {\n // in case of opaque volumes (and depth texture support)\n return texture2D(tDepth, coords).r;\n } else {\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n }\n #else\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n #endif\n}\n\nconst float gradOffset = 0.5;\n\nvec3 v3m4(vec3 p, mat4 m) {\n return (m * vec4(p, 1.0)).xyz;\n}\n\nfloat preFogAlphaBlended = 0.0;\n\nvec4 raymarch(vec3 startLoc, vec3 step, vec3 rayDir) {\n #if defined(dRenderVariant_color) && !defined(dIgnoreLight)\n mat3 normalMatrix = transpose3(inverse3(mat3(uModelView * vTransform)));\n #endif\n mat4 cartnToUnit = uCartnToUnit * inverse4(vTransform);\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n mat4 modelTransform = uModel * vTransform * uTransform;\n #endif\n mat4 modelViewTransform = uModelView * vTransform * uTransform;\n\n vec3 scaleVol = vec3(1.0) / uGridDim;\n vec3 pos = startLoc;\n vec4 cell;\n float prevValue = -1.0;\n float value = 0.0;\n vec4 src = vec4(0.0);\n vec4 dst = vec4(0.0);\n bool hit = false;\n float fragmentDepth;\n\n vec3 posMin = vec3(0.0);\n vec3 posMax = vec3(1.0) - vec3(1.0) / uGridDim;\n\n vec3 unitPos;\n vec3 isoPos;\n\n vec3 nextPos;\n float nextValue;\n\n vec3 color = vec3(0.45, 0.55, 0.8);\n vec4 overpaint = vec4(0.0);\n vec3 substance = vec3(0.0);\n float metalness = uMetalness;\n float roughness = uRoughness;\n\n vec3 gradient = vec3(1.0);\n vec3 dx = vec3(gradOffset * scaleVol.x, 0.0, 0.0);\n vec3 dy = vec3(0.0, gradOffset * scaleVol.y, 0.0);\n vec3 dz = vec3(0.0, 0.0, gradOffset * scaleVol.z);\n\n float maxDist = min(vBoundingSphere.w * 2.0, uFar - uNear);\n float maxDistSq = maxDist * maxDist;\n\n for (int i = 0; i < uMaxSteps; ++i) {\n // break when beyond bounding-sphere or far-plane\n vec3 distVec = startLoc - pos;\n if (dot(distVec, distVec) > maxDistSq) break;\n\n unitPos = v3m4(pos, cartnToUnit);\n\n // continue when outside of grid\n if (unitPos.x > posMax.x || unitPos.y > posMax.y || unitPos.z > posMax.z ||\n unitPos.x < posMin.x || unitPos.y < posMin.y || unitPos.z < posMin.z\n ) {\n if (hit) break;\n prevValue = value;\n pos += step;\n continue;\n }\n\n cell = textureVal(unitPos);\n value = cell.a; // current voxel value\n\n if (uJumpLength > 0.0 && value < 0.01) {\n nextPos = pos + rayDir * uJumpLength;\n nextValue = textureVal(v3m4(nextPos, cartnToUnit)).a;\n if (nextValue < 0.01) {\n prevValue = nextValue;\n pos = nextPos;\n continue;\n }\n }\n\n #if defined(dRenderMode_isosurface)\n if (prevValue > 0.0 && ( // there was a prev Value\n (prevValue < uIsoValue.x && value > uIsoValue.x) || // entering isosurface\n (prevValue > uIsoValue.x && value < uIsoValue.x) // leaving isosurface\n )) {\n isoPos = v3m4(mix(pos - step, pos, ((prevValue - uIsoValue.x) / ((prevValue - uIsoValue.x) - (value - uIsoValue.x)))), cartnToUnit);\n\n vec4 mvPosition = modelViewTransform * vec4(isoPos * uGridDim, 1.0);\n\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n vec3 vModelPosition = v3m4(isoPos * uGridDim, modelTransform);\n if (clipTest(vec4(vModelPosition, 0.0), 0)) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n\n float depth = calcDepth(mvPosition.xyz);\n if (depth > getDepth(gl_FragCoord.xy / uDrawingBufferSize))\n break;\n\n #ifdef enabledFragDepth\n if (!hit) {\n gl_FragDepthEXT = depth;\n }\n #endif\n\n #if defined(dRenderVariant_pickObject)\n return vec4(encodeFloatRGB(float(uObjectId)), 1.0);\n #elif defined(dRenderVariant_pickInstance)\n return vec4(encodeFloatRGB(vInstance), 1.0);\n #elif defined(dRenderVariant_pickGroup)\n #ifdef dPackedGroup\n return vec4(textureGroup(floor(isoPos * uGridDim + 0.5) / uGridDim).rgb, 1.0);\n #else\n vec3 g = floor(isoPos * uGridDim + 0.5);\n return vec4(encodeFloatRGB(g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y), 1.0);\n #endif\n #elif defined(dRenderVariant_depth)\n #ifdef enabledFragDepth\n return packDepthToRGBA(gl_FragDepthEXT);\n #else\n return packDepthToRGBA(depth);\n #endif\n #elif defined(dRenderVariant_color)\n #ifdef dPackedGroup\n float group = decodeFloatRGB(textureGroup(floor(isoPos * uGridDim + 0.5) / uGridDim).rgb);\n #else\n vec3 g = floor(isoPos * uGridDim + 0.5);\n float group = g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y;\n #endif\n\n #if defined(dColorType_uniform)\n color = uColor;\n #elif defined(dColorType_instance)\n color = readFromTexture(tColor, vInstance, uColorTexDim).rgb;\n #elif defined(dColorType_group)\n color = readFromTexture(tColor, group, uColorTexDim).rgb;\n #elif defined(dColorType_groupInstance)\n color = readFromTexture(tColor, vInstance * float(uGroupCount) + group, uColorTexDim).rgb;\n #elif defined(dColorType_vertex)\n color = texture3dFrom1dTrilinear(tColor, isoPos, uGridDim, uColorTexDim, 0.0).rgb;\n #elif defined(dColorType_vertexInstance)\n color = texture3dFrom1dTrilinear(tColor, isoPos, uGridDim, uColorTexDim, vInstance * float(uVertexCount)).rgb;\n #endif\n\n #ifdef dOverpaint\n #if defined(dOverpaintType_groupInstance)\n overpaint = readFromTexture(tOverpaint, vInstance * float(uGroupCount) + group, uOverpaintTexDim);\n #elif defined(dOverpaintType_vertexInstance)\n overpaint = texture3dFrom1dTrilinear(tOverpaint, isoPos, uGridDim, uOverpaintTexDim, vInstance * float(uVertexCount));\n #endif\n\n color = mix(color, overpaint.rgb, overpaint.a);\n #endif\n\n // handle flipping and negative isosurfaces\n #ifdef dFlipSided\n bool flipped = value < uIsoValue.y; // flipped\n #else\n bool flipped = value > uIsoValue.y;\n #endif\n interior = value < uIsoValue.x && flipped;\n #ifndef dDoubleSided\n if (interior) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n vec3 vViewPosition = mvPosition.xyz;\n vec4 material = vec4(color, uAlpha);\n\n #ifdef dIgnoreLight\n gl_FragColor = material;\n #else\n #if defined(dFlatShaded)\n // nearest grid point\n isoPos = floor(isoPos * uGridDim + 0.5) / uGridDim;\n #endif\n #ifdef dPackedGroup\n // compute gradient by central differences\n gradient.x = textureVal(isoPos - dx).a - textureVal(isoPos + dx).a;\n gradient.y = textureVal(isoPos - dy).a - textureVal(isoPos + dy).a;\n gradient.z = textureVal(isoPos - dz).a - textureVal(isoPos + dz).a;\n #else\n gradient = textureVal(isoPos).xyz * 2.0 - 1.0;\n #endif\n vec3 normal = -normalize(normalMatrix * normalize(gradient));\n normal = normal * (float(flipped) * 2.0 - 1.0);\n normal = normal * -(float(interior) * 2.0 - 1.0);\n #ifdef dSubstance\n #if defined(dSubstanceType_groupInstance)\n substance = readFromTexture(tSubstance, vInstance * float(uGroupCount) + group, uSubstanceTexDim).rgb;\n #elif defined(dSubstanceType_vertexInstance)\n substance = texture3dFrom1dTrilinear(tSubstance, isoPos, uGridDim, uSubstanceTexDim, vInstance * float(uVertexCount)).rgb;\n #endif\n metalness = mix(metalness, substance.r, substance.b);\n roughness = mix(roughness, substance.g, substance.b);\n #endif\n #include apply_light_color\n #endif\n\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n float marker = readFromTexture(tMarker, vInstance * float(uGroupCount) + group, uMarkerTexDim).a;\n marker = floor(marker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n #include apply_interior_color\n #include apply_marker_color\n\n preFogAlphaBlended = (1.0 - preFogAlphaBlended) * gl_FragColor.a + preFogAlphaBlended;\n fragmentDepth = depth;\n #include apply_fog\n\n src = gl_FragColor;\n\n if (!uTransparentBackground) {\n // done in 'apply_fog' otherwise\n src.rgb *= src.a;\n }\n dst = (1.0 - dst.a) * src + dst; // standard blending\n #endif\n\n #ifdef dSingleLayer\n break;\n #endif\n\n hit = true;\n }\n prevValue = value;\n #elif defined(dRenderMode_volume)\n vec4 mvPosition = modelViewTransform * vec4(unitPos * uGridDim, 1.0);\n if (calcDepth(mvPosition.xyz) > getDepth(gl_FragCoord.xy / uDrawingBufferSize))\n break;\n\n #if defined(dClipVariant_pixel) && dClipObjectCount != 0\n vec3 vModelPosition = v3m4(unitPos * uGridDim, modelTransform);\n if (clipTest(vec4(vModelPosition, 0.0), 0)) {\n prevValue = value;\n pos += step;\n continue;\n }\n #endif\n\n #if defined(dRenderVariant_color)\n vec3 vViewPosition = mvPosition.xyz;\n vec4 material = transferFunction(value);\n\n #ifdef dIgnoreLight\n gl_FragColor.rgb = material.rgb;\n #else\n if (material.a >= 0.01) {\n #ifdef dPackedGroup\n // compute gradient by central differences\n gradient.x = textureVal(unitPos - dx).a - textureVal(unitPos + dx).a;\n gradient.y = textureVal(unitPos - dy).a - textureVal(unitPos + dy).a;\n gradient.z = textureVal(unitPos - dz).a - textureVal(unitPos + dz).a;\n #else\n gradient = cell.xyz * 2.0 - 1.0;\n #endif\n vec3 normal = -normalize(normalMatrix * normalize(gradient));\n #include apply_light_color\n } else {\n gl_FragColor.rgb = material.rgb;\n }\n #endif\n\n gl_FragColor.a = material.a * uAlpha * uTransferScale;\n\n #if defined(dMarkerType_uniform)\n float marker = uMarker;\n #elif defined(dMarkerType_groupInstance)\n #ifdef dPackedGroup\n float group = decodeFloatRGB(textureGroup(floor(unitPos * uGridDim + 0.5) / uGridDim).rgb);\n #else\n vec3 g = floor(unitPos * uGridDim + 0.5);\n float group = g.z + g.y * uGridDim.z + g.x * uGridDim.z * uGridDim.y;\n #endif\n float marker = readFromTexture(tMarker, vInstance * float(uGroupCount) + group, uMarkerTexDim).a;\n marker = floor(marker * 255.0 + 0.5); // rounding required to work on some cards on win\n #endif\n #include apply_marker_color\n\n preFogAlphaBlended = (1.0 - preFogAlphaBlended) * gl_FragColor.a + preFogAlphaBlended;\n fragmentDepth = calcDepth(mvPosition.xyz);\n #include apply_fog\n\n src = gl_FragColor;\n\n if (!uTransparentBackground) {\n // done in 'apply_fog' otherwise\n src.rgb *= src.a;\n }\n dst = (1.0 - dst.a) * src + dst; // standard blending\n #endif\n #endif\n\n // break if the color is opaque enough\n if (dst.a > 0.95)\n break;\n\n pos += step;\n }\n\n #if defined(dRenderMode_isosurface) && defined(enabledFragDepth)\n // ensure depth is written everywhere\n if (!hit)\n gl_FragDepthEXT = 1.0;\n #endif\n\n return dst;\n}\n\n// TODO: support float texture for higher precision values???\n// TODO: support clipping exclusion texture support\n\nvoid main() {\n if (gl_FrontFacing)\n discard;\n\n #ifdef dRenderVariant_marking\n // not supported\n discard;\n #endif\n\n #if defined(dRenderVariant_pick) || defined(dRenderVariant_depth)\n #if defined(dRenderMode_volume)\n // always ignore pick & depth for volume\n discard;\n #elif defined(dRenderMode_isosurface)\n if (uAlpha < uPickingAlphaThreshold)\n discard; // ignore so the element below can be picked\n #endif\n #endif\n\n vec3 rayDir = mix(normalize(vOrigPos - uCameraPosition), uCameraDir, uIsOrtho);\n vec3 step = rayDir * uStepScale;\n\n float boundingSphereNear = distance(vBoundingSphere.xyz, uCameraPosition) - vBoundingSphere.w;\n float d = max(uNear, boundingSphereNear) - mix(0.0, distance(vOrigPos, uCameraPosition), uIsOrtho);\n vec3 start = mix(uCameraPosition, vOrigPos, uIsOrtho) + (d * rayDir);\n gl_FragColor = raymarch(start, step, rayDir);\n\n #if defined(dRenderVariant_pick) || defined(dRenderVariant_depth)\n // discard when nothing was hit\n if (gl_FragColor == vec4(0.0))\n discard;\n #endif\n\n #if defined(dRenderVariant_color)\n #if defined(dRenderMode_isosurface) && defined(enabledFragDepth)\n float fragmentDepth = gl_FragDepthEXT;\n #else\n float fragmentDepth = calcDepth((uModelView * vec4(start, 1.0)).xyz);\n #endif\n float preFogAlpha = clamp(preFogAlphaBlended, 0.0, 1.0);\n interior = false;\n #include wboit_write\n #endif\n}\n";
8
8
  //# sourceMappingURL=direct-volume.frag.js.map
@@ -3,4 +3,4 @@
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
6
- export declare const mesh_frag = "\nprecision highp float;\nprecision highp int;\n\n#include common\n#include common_frag_params\n#include color_frag_params\n#include light_frag_params\n#include normal_frag_params\n#include common_clip\n\nvoid main() {\n #include clip_pixel\n\n // Workaround for buggy gl_FrontFacing (e.g. on some integrated Intel GPUs)\n #if defined(enabledStandardDerivatives)\n vec3 fdx = dFdx(vViewPosition);\n vec3 fdy = dFdy(vViewPosition);\n vec3 faceNormal = normalize(cross(fdx,fdy));\n bool frontFacing = dot(vNormal, faceNormal) > 0.0;\n #else\n bool frontFacing = dot(vNormal, vViewPosition) < 0.0;\n #endif\n\n #if defined(dFlipSided)\n interior = frontFacing;\n #else\n interior = !frontFacing;\n #endif\n\n float fragmentDepth = gl_FragCoord.z;\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 #if defined(dFlatShaded) && defined(enabledStandardDerivatives)\n vec3 normal = -faceNormal;\n #else\n vec3 normal = -normalize(vNormal);\n #ifdef dDoubleSided\n normal = normal * (float(frontFacing) * 2.0 - 1.0);\n #endif\n #endif\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 mesh_frag = "\nprecision highp float;\nprecision highp int;\n\n#define bumpEnabled\n\n#include common\n#include common_frag_params\n#include color_frag_params\n#include light_frag_params\n#include normal_frag_params\n#include common_clip\n\nvoid main() {\n #include clip_pixel\n\n // Workaround for buggy gl_FrontFacing (e.g. on some integrated Intel GPUs)\n vec3 fdx = dFdx(vViewPosition);\n vec3 fdy = dFdy(vViewPosition);\n vec3 faceNormal = normalize(cross(fdx,fdy));\n bool frontFacing = dot(vNormal, faceNormal) > 0.0;\n\n #if defined(dFlipSided)\n interior = frontFacing;\n #else\n interior = !frontFacing;\n #endif\n\n float fragmentDepth = gl_FragCoord.z;\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 #if defined(dFlatShaded)\n vec3 normal = -faceNormal;\n #else\n vec3 normal = -normalize(vNormal);\n #ifdef dDoubleSided\n normal = normal * (float(frontFacing) * 2.0 - 1.0);\n #endif\n #endif\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";
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */
6
- export var mesh_frag = "\nprecision highp float;\nprecision highp int;\n\n#include common\n#include common_frag_params\n#include color_frag_params\n#include light_frag_params\n#include normal_frag_params\n#include common_clip\n\nvoid main() {\n #include clip_pixel\n\n // Workaround for buggy gl_FrontFacing (e.g. on some integrated Intel GPUs)\n #if defined(enabledStandardDerivatives)\n vec3 fdx = dFdx(vViewPosition);\n vec3 fdy = dFdy(vViewPosition);\n vec3 faceNormal = normalize(cross(fdx,fdy));\n bool frontFacing = dot(vNormal, faceNormal) > 0.0;\n #else\n bool frontFacing = dot(vNormal, vViewPosition) < 0.0;\n #endif\n\n #if defined(dFlipSided)\n interior = frontFacing;\n #else\n interior = !frontFacing;\n #endif\n\n float fragmentDepth = gl_FragCoord.z;\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 #if defined(dFlatShaded) && defined(enabledStandardDerivatives)\n vec3 normal = -faceNormal;\n #else\n vec3 normal = -normalize(vNormal);\n #ifdef dDoubleSided\n normal = normal * (float(frontFacing) * 2.0 - 1.0);\n #endif\n #endif\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 var mesh_frag = "\nprecision highp float;\nprecision highp int;\n\n#define bumpEnabled\n\n#include common\n#include common_frag_params\n#include color_frag_params\n#include light_frag_params\n#include normal_frag_params\n#include common_clip\n\nvoid main() {\n #include clip_pixel\n\n // Workaround for buggy gl_FrontFacing (e.g. on some integrated Intel GPUs)\n vec3 fdx = dFdx(vViewPosition);\n vec3 fdy = dFdy(vViewPosition);\n vec3 faceNormal = normalize(cross(fdx,fdy));\n bool frontFacing = dot(vNormal, faceNormal) > 0.0;\n\n #if defined(dFlipSided)\n interior = frontFacing;\n #else\n interior = !frontFacing;\n #endif\n\n float fragmentDepth = gl_FragCoord.z;\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 #if defined(dFlatShaded)\n vec3 normal = -faceNormal;\n #else\n vec3 normal = -normalize(vNormal);\n #ifdef dDoubleSided\n normal = normal * (float(frontFacing) * 2.0 - 1.0);\n #endif\n #endif\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";
7
7
  //# sourceMappingURL=mesh.frag.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 postprocessing_frag = "\nprecision highp float;\nprecision highp int;\nprecision highp sampler2D;\n\nuniform sampler2D tSsaoDepth;\nuniform sampler2D tColor;\nuniform sampler2D tDepth;\nuniform sampler2D tOutlines;\nuniform vec2 uTexSize;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uFogNear;\nuniform float uFogFar;\nuniform vec3 uFogColor;\nuniform bool uTransparentBackground;\n\nuniform float uOcclusionBias;\nuniform float uOcclusionRadius;\n\nuniform float uMaxPossibleViewZDiff;\n\nconst vec3 occlusionColor = vec3(0.0);\n\n#include common\n\nfloat getViewZ(const in float depth) {\n #if dOrthographic == 1\n return orthographicDepthToViewZ(depth, uNear, uFar);\n #else\n return perspectiveDepthToViewZ(depth, uNear, uFar);\n #endif\n}\n\nfloat getDepth(const in vec2 coords) {\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n}\n\nbool isBackground(const in float depth) {\n return depth == 1.0;\n}\n\nfloat getOutline(const in vec2 coords, out float closestTexel) {\n float backgroundViewZ = uFar + 3.0 * uMaxPossibleViewZDiff;\n vec2 invTexSize = 1.0 / uTexSize;\n\n float selfDepth = getDepth(coords);\n float selfViewZ = isBackground(selfDepth) ? backgroundViewZ : getViewZ(selfDepth);\n\n float outline = 1.0;\n closestTexel = 1.0;\n for (int y = -dOutlineScale; y <= dOutlineScale; y++) {\n for (int x = -dOutlineScale; x <= dOutlineScale; x++) {\n if (x * x + y * y > dOutlineScale * dOutlineScale) {\n continue;\n }\n\n vec2 sampleCoords = coords + vec2(float(x), float(y)) * invTexSize;\n\n vec4 sampleOutlineCombined = texture2D(tOutlines, sampleCoords);\n float sampleOutline = sampleOutlineCombined.r;\n float sampleOutlineDepth = unpackRGToUnitInterval(sampleOutlineCombined.gb);\n\n if (sampleOutline == 0.0 && sampleOutlineDepth < closestTexel && abs(selfViewZ - sampleOutlineDepth) > uMaxPossibleViewZDiff) {\n outline = 0.0;\n closestTexel = sampleOutlineDepth;\n }\n }\n }\n return outline;\n}\n\nfloat getSsao(vec2 coords) {\n float rawSsao = unpackRGToUnitInterval(texture2D(tSsaoDepth, coords).xy);\n if (rawSsao > 0.999) {\n return 1.0;\n } else if (rawSsao > 0.001) {\n return rawSsao;\n }\n // treat values close to 0.0 as errors and return no occlusion\n return 1.0;\n}\n\nvoid main(void) {\n vec2 coords = gl_FragCoord.xy / uTexSize;\n vec4 color = texture2D(tColor, coords);\n\n float viewDist;\n float fogFactor;\n\n #ifdef dOcclusionEnable\n float depth = getDepth(coords);\n if (!isBackground(depth)) {\n viewDist = abs(getViewZ(depth));\n fogFactor = smoothstep(uFogNear, uFogFar, viewDist);\n float occlusionFactor = getSsao(coords);\n if (!uTransparentBackground) {\n color.rgb = mix(mix(occlusionColor, uFogColor, fogFactor), color.rgb, occlusionFactor);\n } else {\n color.rgb = mix(occlusionColor * (1.0 - fogFactor), color.rgb, occlusionFactor);\n }\n }\n #endif\n\n // outline needs to be handled after occlusion to keep them clean\n #ifdef dOutlineEnable\n float closestTexel;\n float outline = getOutline(coords, closestTexel);\n\n if (outline == 0.0) {\n color.rgb *= outline;\n viewDist = abs(getViewZ(closestTexel));\n fogFactor = smoothstep(uFogNear, uFogFar, viewDist);\n if (!uTransparentBackground) {\n color.rgb = mix(color.rgb, uFogColor, fogFactor);\n } else {\n color.a = 1.0 - fogFactor;\n }\n }\n #endif\n\n gl_FragColor = color;\n}\n";
7
+ export declare const postprocessing_frag = "\nprecision highp float;\nprecision highp int;\nprecision highp sampler2D;\n\nuniform sampler2D tSsaoDepth;\nuniform sampler2D tColor;\nuniform sampler2D tDepth;\nuniform sampler2D tOutlines;\nuniform vec2 uTexSize;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uFogNear;\nuniform float uFogFar;\nuniform vec3 uFogColor;\nuniform vec3 uOutlineColor;\nuniform bool uTransparentBackground;\n\nuniform float uOcclusionBias;\nuniform float uOcclusionRadius;\n\nuniform float uMaxPossibleViewZDiff;\n\nconst vec3 occlusionColor = vec3(0.0);\n\n#include common\n\nfloat getViewZ(const in float depth) {\n #if dOrthographic == 1\n return orthographicDepthToViewZ(depth, uNear, uFar);\n #else\n return perspectiveDepthToViewZ(depth, uNear, uFar);\n #endif\n}\n\nfloat getDepth(const in vec2 coords) {\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n}\n\nbool isBackground(const in float depth) {\n return depth == 1.0;\n}\n\nfloat getOutline(const in vec2 coords, out float closestTexel) {\n float backgroundViewZ = uFar + 3.0 * uMaxPossibleViewZDiff;\n vec2 invTexSize = 1.0 / uTexSize;\n\n float selfDepth = getDepth(coords);\n float selfViewZ = isBackground(selfDepth) ? backgroundViewZ : getViewZ(selfDepth);\n\n float outline = 1.0;\n closestTexel = 1.0;\n for (int y = -dOutlineScale; y <= dOutlineScale; y++) {\n for (int x = -dOutlineScale; x <= dOutlineScale; x++) {\n if (x * x + y * y > dOutlineScale * dOutlineScale) {\n continue;\n }\n\n vec2 sampleCoords = coords + vec2(float(x), float(y)) * invTexSize;\n\n vec4 sampleOutlineCombined = texture2D(tOutlines, sampleCoords);\n float sampleOutline = sampleOutlineCombined.r;\n float sampleOutlineDepth = unpackRGToUnitInterval(sampleOutlineCombined.gb);\n\n if (sampleOutline == 0.0 && sampleOutlineDepth < closestTexel && abs(selfViewZ - sampleOutlineDepth) > uMaxPossibleViewZDiff) {\n outline = 0.0;\n closestTexel = sampleOutlineDepth;\n }\n }\n }\n return outline;\n}\n\nfloat getSsao(vec2 coords) {\n float rawSsao = unpackRGToUnitInterval(texture2D(tSsaoDepth, coords).xy);\n if (rawSsao > 0.999) {\n return 1.0;\n } else if (rawSsao > 0.001) {\n return rawSsao;\n }\n // treat values close to 0.0 as errors and return no occlusion\n return 1.0;\n}\n\nvoid main(void) {\n vec2 coords = gl_FragCoord.xy / uTexSize;\n vec4 color = texture2D(tColor, coords);\n\n float viewDist;\n float fogFactor;\n\n #ifdef dOcclusionEnable\n float depth = getDepth(coords);\n if (!isBackground(depth)) {\n viewDist = abs(getViewZ(depth));\n fogFactor = smoothstep(uFogNear, uFogFar, viewDist);\n float occlusionFactor = getSsao(coords);\n if (!uTransparentBackground) {\n color.rgb = mix(mix(occlusionColor, uFogColor, fogFactor), color.rgb, occlusionFactor);\n } else {\n color.rgb = mix(occlusionColor * (1.0 - fogFactor), color.rgb, occlusionFactor);\n }\n }\n #endif\n\n // outline needs to be handled after occlusion to keep them clean\n #ifdef dOutlineEnable\n float closestTexel;\n float outline = getOutline(coords, closestTexel);\n\n if (outline == 0.0) {\n color.rgb = mix(uOutlineColor, color.rgb, outline);\n viewDist = abs(getViewZ(closestTexel));\n fogFactor = smoothstep(uFogNear, uFogFar, viewDist);\n if (!uTransparentBackground) {\n color.rgb = mix(color.rgb, uFogColor, fogFactor);\n } else {\n color.a = 1.0 - fogFactor;\n }\n }\n #endif\n\n gl_FragColor = color;\n}\n";
@@ -4,5 +4,5 @@
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 var postprocessing_frag = "\nprecision highp float;\nprecision highp int;\nprecision highp sampler2D;\n\nuniform sampler2D tSsaoDepth;\nuniform sampler2D tColor;\nuniform sampler2D tDepth;\nuniform sampler2D tOutlines;\nuniform vec2 uTexSize;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uFogNear;\nuniform float uFogFar;\nuniform vec3 uFogColor;\nuniform bool uTransparentBackground;\n\nuniform float uOcclusionBias;\nuniform float uOcclusionRadius;\n\nuniform float uMaxPossibleViewZDiff;\n\nconst vec3 occlusionColor = vec3(0.0);\n\n#include common\n\nfloat getViewZ(const in float depth) {\n #if dOrthographic == 1\n return orthographicDepthToViewZ(depth, uNear, uFar);\n #else\n return perspectiveDepthToViewZ(depth, uNear, uFar);\n #endif\n}\n\nfloat getDepth(const in vec2 coords) {\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n}\n\nbool isBackground(const in float depth) {\n return depth == 1.0;\n}\n\nfloat getOutline(const in vec2 coords, out float closestTexel) {\n float backgroundViewZ = uFar + 3.0 * uMaxPossibleViewZDiff;\n vec2 invTexSize = 1.0 / uTexSize;\n\n float selfDepth = getDepth(coords);\n float selfViewZ = isBackground(selfDepth) ? backgroundViewZ : getViewZ(selfDepth);\n\n float outline = 1.0;\n closestTexel = 1.0;\n for (int y = -dOutlineScale; y <= dOutlineScale; y++) {\n for (int x = -dOutlineScale; x <= dOutlineScale; x++) {\n if (x * x + y * y > dOutlineScale * dOutlineScale) {\n continue;\n }\n\n vec2 sampleCoords = coords + vec2(float(x), float(y)) * invTexSize;\n\n vec4 sampleOutlineCombined = texture2D(tOutlines, sampleCoords);\n float sampleOutline = sampleOutlineCombined.r;\n float sampleOutlineDepth = unpackRGToUnitInterval(sampleOutlineCombined.gb);\n\n if (sampleOutline == 0.0 && sampleOutlineDepth < closestTexel && abs(selfViewZ - sampleOutlineDepth) > uMaxPossibleViewZDiff) {\n outline = 0.0;\n closestTexel = sampleOutlineDepth;\n }\n }\n }\n return outline;\n}\n\nfloat getSsao(vec2 coords) {\n float rawSsao = unpackRGToUnitInterval(texture2D(tSsaoDepth, coords).xy);\n if (rawSsao > 0.999) {\n return 1.0;\n } else if (rawSsao > 0.001) {\n return rawSsao;\n }\n // treat values close to 0.0 as errors and return no occlusion\n return 1.0;\n}\n\nvoid main(void) {\n vec2 coords = gl_FragCoord.xy / uTexSize;\n vec4 color = texture2D(tColor, coords);\n\n float viewDist;\n float fogFactor;\n\n #ifdef dOcclusionEnable\n float depth = getDepth(coords);\n if (!isBackground(depth)) {\n viewDist = abs(getViewZ(depth));\n fogFactor = smoothstep(uFogNear, uFogFar, viewDist);\n float occlusionFactor = getSsao(coords);\n if (!uTransparentBackground) {\n color.rgb = mix(mix(occlusionColor, uFogColor, fogFactor), color.rgb, occlusionFactor);\n } else {\n color.rgb = mix(occlusionColor * (1.0 - fogFactor), color.rgb, occlusionFactor);\n }\n }\n #endif\n\n // outline needs to be handled after occlusion to keep them clean\n #ifdef dOutlineEnable\n float closestTexel;\n float outline = getOutline(coords, closestTexel);\n\n if (outline == 0.0) {\n color.rgb *= outline;\n viewDist = abs(getViewZ(closestTexel));\n fogFactor = smoothstep(uFogNear, uFogFar, viewDist);\n if (!uTransparentBackground) {\n color.rgb = mix(color.rgb, uFogColor, fogFactor);\n } else {\n color.a = 1.0 - fogFactor;\n }\n }\n #endif\n\n gl_FragColor = color;\n}\n";
7
+ export var postprocessing_frag = "\nprecision highp float;\nprecision highp int;\nprecision highp sampler2D;\n\nuniform sampler2D tSsaoDepth;\nuniform sampler2D tColor;\nuniform sampler2D tDepth;\nuniform sampler2D tOutlines;\nuniform vec2 uTexSize;\n\nuniform float uNear;\nuniform float uFar;\nuniform float uFogNear;\nuniform float uFogFar;\nuniform vec3 uFogColor;\nuniform vec3 uOutlineColor;\nuniform bool uTransparentBackground;\n\nuniform float uOcclusionBias;\nuniform float uOcclusionRadius;\n\nuniform float uMaxPossibleViewZDiff;\n\nconst vec3 occlusionColor = vec3(0.0);\n\n#include common\n\nfloat getViewZ(const in float depth) {\n #if dOrthographic == 1\n return orthographicDepthToViewZ(depth, uNear, uFar);\n #else\n return perspectiveDepthToViewZ(depth, uNear, uFar);\n #endif\n}\n\nfloat getDepth(const in vec2 coords) {\n return unpackRGBAToDepth(texture2D(tDepth, coords));\n}\n\nbool isBackground(const in float depth) {\n return depth == 1.0;\n}\n\nfloat getOutline(const in vec2 coords, out float closestTexel) {\n float backgroundViewZ = uFar + 3.0 * uMaxPossibleViewZDiff;\n vec2 invTexSize = 1.0 / uTexSize;\n\n float selfDepth = getDepth(coords);\n float selfViewZ = isBackground(selfDepth) ? backgroundViewZ : getViewZ(selfDepth);\n\n float outline = 1.0;\n closestTexel = 1.0;\n for (int y = -dOutlineScale; y <= dOutlineScale; y++) {\n for (int x = -dOutlineScale; x <= dOutlineScale; x++) {\n if (x * x + y * y > dOutlineScale * dOutlineScale) {\n continue;\n }\n\n vec2 sampleCoords = coords + vec2(float(x), float(y)) * invTexSize;\n\n vec4 sampleOutlineCombined = texture2D(tOutlines, sampleCoords);\n float sampleOutline = sampleOutlineCombined.r;\n float sampleOutlineDepth = unpackRGToUnitInterval(sampleOutlineCombined.gb);\n\n if (sampleOutline == 0.0 && sampleOutlineDepth < closestTexel && abs(selfViewZ - sampleOutlineDepth) > uMaxPossibleViewZDiff) {\n outline = 0.0;\n closestTexel = sampleOutlineDepth;\n }\n }\n }\n return outline;\n}\n\nfloat getSsao(vec2 coords) {\n float rawSsao = unpackRGToUnitInterval(texture2D(tSsaoDepth, coords).xy);\n if (rawSsao > 0.999) {\n return 1.0;\n } else if (rawSsao > 0.001) {\n return rawSsao;\n }\n // treat values close to 0.0 as errors and return no occlusion\n return 1.0;\n}\n\nvoid main(void) {\n vec2 coords = gl_FragCoord.xy / uTexSize;\n vec4 color = texture2D(tColor, coords);\n\n float viewDist;\n float fogFactor;\n\n #ifdef dOcclusionEnable\n float depth = getDepth(coords);\n if (!isBackground(depth)) {\n viewDist = abs(getViewZ(depth));\n fogFactor = smoothstep(uFogNear, uFogFar, viewDist);\n float occlusionFactor = getSsao(coords);\n if (!uTransparentBackground) {\n color.rgb = mix(mix(occlusionColor, uFogColor, fogFactor), color.rgb, occlusionFactor);\n } else {\n color.rgb = mix(occlusionColor * (1.0 - fogFactor), color.rgb, occlusionFactor);\n }\n }\n #endif\n\n // outline needs to be handled after occlusion to keep them clean\n #ifdef dOutlineEnable\n float closestTexel;\n float outline = getOutline(coords, closestTexel);\n\n if (outline == 0.0) {\n color.rgb = mix(uOutlineColor, color.rgb, outline);\n viewDist = abs(getViewZ(closestTexel));\n fogFactor = smoothstep(uFogNear, uFogFar, viewDist);\n if (!uTransparentBackground) {\n color.rgb = mix(color.rgb, uFogColor, fogFactor);\n } else {\n color.a = 1.0 - fogFactor;\n }\n }\n #endif\n\n gl_FragColor = color;\n}\n";
8
8
  //# sourceMappingURL=postprocessing.frag.js.map