@divinevoxel/vlox 0.0.74 → 0.0.76

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 (701) hide show
  1. package/Builder/RayProvider.d.ts +6 -0
  2. package/Builder/Tools/Box/BoxSelection.d.ts +12 -0
  3. package/Builder/Tools/Box/BoxSelection.js +27 -0
  4. package/Builder/Tools/Box/BoxTool.d.ts +31 -0
  5. package/Builder/Tools/Box/BoxTool.js +91 -0
  6. package/Builder/Tools/Box/BoxToolTemplate.d.ts +13 -0
  7. package/Builder/Tools/Box/BoxToolTemplate.js +23 -0
  8. package/Builder/Tools/Brush/BrushTool.d.ts +48 -0
  9. package/Builder/Tools/Brush/BrushTool.js +146 -0
  10. package/Builder/Tools/BuilderToolBase.d.ts +3 -0
  11. package/Builder/Tools/BuilderToolBase.js +3 -0
  12. package/Builder/Tools/Hand/HandTool.d.ts +22 -0
  13. package/Builder/Tools/Hand/HandTool.js +56 -0
  14. package/Builder/Tools/Path/PahtTool.d.ts +29 -0
  15. package/Builder/Tools/Path/PahtTool.js +117 -0
  16. package/Builder/Tools/Wand/WandTool.d.ts +28 -0
  17. package/Builder/Tools/Wand/WandTool.js +67 -0
  18. package/Builder/Tools/Wrench/WrenchTool.d.ts +47 -0
  19. package/Builder/Tools/Wrench/WrenchTool.js +175 -0
  20. package/Builder/VoxelBuildSpace.d.ts +61 -0
  21. package/Builder/VoxelBuildSpace.js +165 -0
  22. package/Builder/VoxelBuilder.types.d.ts +0 -0
  23. package/Builder/VoxelBuilder.types.js +1 -0
  24. package/Builder/World/InitTasks.d.ts +1 -0
  25. package/Builder/World/InitTasks.js +134 -0
  26. package/Builder/World/VoxelBuildSpaceWorld.d.ts +4 -0
  27. package/Builder/World/VoxelBuildSpaceWorld.js +10 -0
  28. package/Cache/Cache.types.d.ts +1 -1
  29. package/Contexts/Base/Remote/InitDataSync.js +3 -3
  30. package/Contexts/Base/Remote/InitWorldDataSync.d.ts +2 -1
  31. package/Contexts/Base/Remote/InitWorldDataSync.js +13 -2
  32. package/Contexts/Generator/DivineVoxelEngineGenerator.d.ts +9 -0
  33. package/Contexts/Generator/DivineVoxelEngineGenerator.js +14 -0
  34. package/Contexts/{Constructor/ConstrcutorTheads.d.ts → Generator/GeneratorThreads.d.ts} +2 -2
  35. package/Contexts/{Constructor/ConstrcutorTheads.js → Generator/GeneratorThreads.js} +2 -2
  36. package/Contexts/Generator/index.d.ts +1 -0
  37. package/Contexts/Generator/index.js +1 -0
  38. package/Contexts/Mesher/DivineVoxelEngineMesher.d.ts +9 -0
  39. package/Contexts/Mesher/DivineVoxelEngineMesher.js +14 -0
  40. package/Contexts/Mesher/MesherTheads.d.ts +7 -0
  41. package/Contexts/Mesher/MesherTheads.js +14 -0
  42. package/Contexts/Mesher/index.d.ts +1 -0
  43. package/Contexts/Mesher/index.js +1 -0
  44. package/Contexts/Nexus/NexusTheads.js +1 -1
  45. package/Contexts/Render/DVERenderThreads.d.ts +2 -1
  46. package/Contexts/Render/DVERenderThreads.js +4 -2
  47. package/Contexts/Render/DivineVoxelEngineRender.d.ts +14 -4
  48. package/Contexts/Render/DivineVoxelEngineRender.js +9 -4
  49. package/Contexts/World/DivineVoxelEngineWorld.d.ts +12 -3
  50. package/Contexts/World/WorldThreads.d.ts +2 -1
  51. package/Contexts/World/WorldThreads.js +4 -2
  52. package/Init/StartGenerator.d.ts +2 -0
  53. package/Init/StartGenerator.js +45 -0
  54. package/Init/StartMesher.d.ts +2 -0
  55. package/Init/StartMesher.js +41 -0
  56. package/Init/StartNexus.js +4 -2
  57. package/Init/StartRenderer.d.ts +4 -1
  58. package/Init/StartRenderer.js +59 -14
  59. package/Init/StartWorld.js +2 -1
  60. package/LICENSE.md +2 -1
  61. package/Math/CardinalNeighbors.d.ts +43 -3
  62. package/Math/CardinalNeighbors.js +54 -8
  63. package/Math/Indexing.d.ts +1 -0
  64. package/Math/Location.d.ts +10 -0
  65. package/Math/UtilFunctions.d.ts +4 -0
  66. package/Math/UtilFunctions.js +52 -0
  67. package/Math/index.d.ts +1 -10
  68. package/Math/index.js +1 -0
  69. package/Mesher/Functions/Base/MeshSectionBase.d.ts +5 -0
  70. package/Mesher/Functions/Base/MeshSectionBase.js +108 -0
  71. package/Mesher/Functions/CompactVoxelSectionMesh.js +4 -10
  72. package/Mesher/Functions/MeshSection.js +3 -107
  73. package/Mesher/Functions/MeshSectionSnapShot.d.ts +3 -0
  74. package/Mesher/Functions/MeshSectionSnapShot.js +14 -0
  75. package/Mesher/Functions/MeshTexture.js +8 -4
  76. package/Mesher/Functions/MeshVoxel.js +12 -4
  77. package/Mesher/Geomtry/CompactedSectionVoxelMesh.d.ts +5 -2
  78. package/Mesher/Geomtry/CompactedSectionVoxelMesh.js +12 -7
  79. package/Mesher/Geomtry/Functions/GetBounds.d.ts +2 -0
  80. package/Mesher/{Models/Common/BoundsFunctions.js → Geomtry/Functions/GetBounds.js} +13 -13
  81. package/Mesher/Geomtry/Geometry.types.d.ts +14 -0
  82. package/Mesher/Geomtry/Geometry.types.js +11 -0
  83. package/Mesher/Geomtry/Primitives/Quad.d.ts +7 -15
  84. package/Mesher/Geomtry/Primitives/Quad.js +36 -91
  85. package/Mesher/Geomtry/Primitives/QuadVertexData.d.ts +4 -14
  86. package/Mesher/Geomtry/Primitives/QuadVertexData.js +17 -57
  87. package/Mesher/Geomtry/Primitives/Triangle.d.ts +65 -0
  88. package/Mesher/Geomtry/Primitives/Triangle.js +148 -0
  89. package/Mesher/Geomtry/Primitives/TriangleVertexData.d.ts +58 -0
  90. package/Mesher/Geomtry/Primitives/TriangleVertexData.js +263 -0
  91. package/Mesher/Geomtry/Primitives/index.d.ts +2 -0
  92. package/Mesher/Geomtry/Primitives/index.js +2 -0
  93. package/Mesher/Geomtry/Shapes/Box.d.ts +20 -0
  94. package/Mesher/Geomtry/Shapes/Box.js +69 -0
  95. package/Mesher/Geomtry/Transform/TransformBox.d.ts +3 -0
  96. package/{Models/Shared/Transform.js → Mesher/Geomtry/Transform/TransformBox.js} +9 -124
  97. package/Mesher/Geomtry/Transform/TransformQuad.d.ts +3 -0
  98. package/Mesher/Geomtry/Transform/TransformQuad.js +113 -0
  99. package/Mesher/Geomtry/Transform/TransformTriangle.d.ts +3 -0
  100. package/Mesher/Geomtry/Transform/TransformTriangle.js +112 -0
  101. package/Mesher/Geomtry/VoxelGeometryBuilder.d.ts +3 -4
  102. package/Mesher/Geomtry/VoxelGeometryBuilder.js +128 -112
  103. package/Mesher/Geomtry/VoxelMeshBVHBuilder.d.ts +3 -3
  104. package/Mesher/Geomtry/VoxelMeshBVHBuilder.js +1 -1
  105. package/Mesher/Geomtry/VoxelMeshVertexStructCursor.d.ts +9 -3
  106. package/Mesher/Geomtry/VoxelMeshVertexStructCursor.js +26 -3
  107. package/Mesher/Geomtry/VoxelShaderData.d.ts +4 -1
  108. package/Mesher/Geomtry/VoxelShaderData.js +25 -10
  109. package/Mesher/InitMesher.d.ts +1 -1
  110. package/Mesher/InitMesher.js +6 -0
  111. package/Mesher/InitTask.js +17 -6
  112. package/Mesher/Models/Common/Calc/CalcConstants.d.ts +2 -6
  113. package/Mesher/Models/Common/Calc/CalcConstants.js +2 -76
  114. package/Mesher/Models/Common/Faces/CullRulledFace.d.ts +2 -0
  115. package/Mesher/Models/Common/Faces/CullRulledFace.js +60 -0
  116. package/Mesher/Models/Common/Faces/ShadeRulelessFace.d.ts +4 -0
  117. package/Mesher/Models/Common/Faces/ShadeRulelessFace.js +12 -0
  118. package/Mesher/Models/Common/Faces/ShadeRulledFace.d.ts +4 -0
  119. package/Mesher/Models/Common/Faces/ShadeRulledFace.js +58 -0
  120. package/Mesher/Models/Common/GetTexture.d.ts +6 -0
  121. package/Mesher/Models/Common/GetTexture.js +12 -0
  122. package/Mesher/Models/Nodes/Custom/Liquid/FlowGradient.js +1 -1
  123. package/Mesher/Models/Nodes/Custom/Liquid/LiquidGeomtryNode.d.ts +2 -3
  124. package/Mesher/Models/Nodes/Custom/Liquid/LiquidGeomtryNode.js +124 -48
  125. package/Mesher/Models/Nodes/Default/QuadVoxelGeometryNode.d.ts +13 -0
  126. package/Mesher/Models/Nodes/Default/QuadVoxelGeometryNode.js +55 -0
  127. package/Mesher/Models/Nodes/Default/TriangleVoxelGeometryNode.d.ts +13 -0
  128. package/Mesher/Models/Nodes/Default/TriangleVoxelGeometryNode.js +52 -0
  129. package/Mesher/Models/Nodes/GeometryNode.d.ts +2 -8
  130. package/Mesher/Models/Nodes/GeometryNode.js +1 -7
  131. package/Mesher/Models/Nodes/Types/GeomtryNode.types.d.ts +7 -0
  132. package/Mesher/Models/Nodes/Types/GeomtryNode.types.js +1 -0
  133. package/Mesher/Models/Nodes/Types/QuadVoxelGometryNodeTypes.d.ts +29 -0
  134. package/{Models/Input/QuadVoxelGometryInputs.js → Mesher/Models/Nodes/Types/QuadVoxelGometryNodeTypes.js} +4 -8
  135. package/Mesher/Models/Nodes/Types/TriangleVoxelGometryNodeTypes.d.ts +28 -0
  136. package/Mesher/Models/Nodes/Types/TriangleVoxelGometryNodeTypes.js +24 -0
  137. package/Mesher/Models/Nodes/VoxelGeometryConstructor.d.ts +4 -8
  138. package/Mesher/Models/Nodes/VoxelGeometryConstructor.js +16 -52
  139. package/Mesher/Models/Procedures/Default/ConsistentRotationTextureProcedure.d.ts +25 -0
  140. package/Mesher/Models/Procedures/Default/ConsistentRotationTextureProcedure.js +44 -0
  141. package/Mesher/Models/Procedures/Default/OutlinedTextureProcedure.d.ts +28 -0
  142. package/Mesher/Models/Procedures/Default/OutlinedTextureProcedure.js +162 -0
  143. package/Mesher/Models/Procedures/TextureProcedure.d.ts +16 -0
  144. package/Mesher/Models/Procedures/TextureProcedure.js +2 -0
  145. package/Mesher/Models/Procedures/TextureProcedureRegister.d.ts +6 -0
  146. package/Mesher/Models/Procedures/TextureProcedureRegister.js +16 -0
  147. package/Mesher/Models/VoxelConstructor.d.ts +1 -5
  148. package/Mesher/Models/VoxelConstructor.js +1 -11
  149. package/Mesher/Models/VoxelGeometryBuilderCacheSpace.js +2 -2
  150. package/Mesher/Models/VoxelModelBuilder.d.ts +0 -1
  151. package/Mesher/Models/VoxelModelBuilder.js +1 -2
  152. package/Mesher/Models/VoxelModelConstructorRegister.d.ts +8 -2
  153. package/Mesher/Models/VoxelModelConstructorRegister.js +6 -8
  154. package/Renderer/Classes/SectionMesh.d.ts +2 -3
  155. package/Renderer/Classes/SectionMesh.js +13 -10
  156. package/Renderer/Classes/SectorMesh.d.ts +5 -5
  157. package/Renderer/Classes/SectorMesh.js +17 -6
  158. package/Renderer/InitTasks.d.ts +1 -2
  159. package/Renderer/InitTasks.js +4 -10
  160. package/Renderer/MeshManager.d.ts +6 -1
  161. package/Renderer/MeshManager.js +11 -14
  162. package/Renderer/MeshRegister.d.ts +6 -4
  163. package/Renderer/MeshRegister.js +34 -43
  164. package/Settings/EngineSettings.js +3 -0
  165. package/Settings/EngineSettings.types.d.ts +7 -1
  166. package/Settings/EngineSettings.types.js +5 -1
  167. package/Stats/EngineStats.d.ts +19 -0
  168. package/Stats/EngineStats.js +27 -0
  169. package/Tasks/Paint/Common.d.ts +7 -0
  170. package/Tasks/Paint/Common.js +200 -0
  171. package/Tasks/Paint/Erase/EraseVoxel.d.ts +3 -0
  172. package/Tasks/Paint/Erase/EraseVoxel.js +31 -0
  173. package/Tasks/Paint/Erase/EraseVoxelPath.d.ts +4 -0
  174. package/Tasks/Paint/Erase/EraseVoxelPath.js +80 -0
  175. package/Tasks/Paint/Erase/EraseVoxelTemplate.d.ts +4 -0
  176. package/Tasks/Paint/Erase/EraseVoxelTemplate.js +34 -0
  177. package/Tasks/Paint/InitTasks.js +16 -0
  178. package/Tasks/Paint/Paint/PaintVoxel.d.ts +4 -0
  179. package/Tasks/Paint/Paint/PaintVoxel.js +29 -0
  180. package/Tasks/Paint/Paint/PaintVoxelPath.d.ts +4 -0
  181. package/Tasks/Paint/Paint/PaintVoxelPath.js +78 -0
  182. package/Tasks/Paint/Paint/PaintVoxelTemplate.d.ts +4 -0
  183. package/Tasks/Paint/Paint/PaintVoxelTemplate.js +36 -0
  184. package/Tasks/Propagation/Flow/FlowUpdate.js +1 -1
  185. package/Tasks/Propagation/Flow/WorldFlow.js +2 -2
  186. package/Tasks/Propagation/Illumanation/CommonFunctions.d.ts +6 -6
  187. package/Tasks/Propagation/Illumanation/CommonFunctions.js +6 -7
  188. package/Tasks/Propagation/Illumanation/RGBUpdate.js +9 -9
  189. package/Tasks/Propagation/Illumanation/SunUpdate.js +8 -7
  190. package/Tasks/Propagation/Illumanation/WorldSun.js +11 -9
  191. package/Tasks/Propagation/InitTasks.js +16 -28
  192. package/Tasks/Propagation/Power/PowerUpdate.js +10 -10
  193. package/Tasks/Tasks.types.d.ts +25 -9
  194. package/Tasks/TasksIds.d.ts +13 -20
  195. package/Tasks/TasksIds.js +13 -20
  196. package/Tasks/VoxelUpdateTask.d.ts +6 -5
  197. package/Tasks/VoxelUpdateTask.js +53 -37
  198. package/Tasks/WorldGeneration/InitTasks.d.ts +4 -1
  199. package/Tasks/WorldGeneration/InitTasks.js +6 -3
  200. package/Tasks/WorldGeneration/WorldGen.types.d.ts +2 -3
  201. package/Tasks/WorldGeneration/WorldGenBrush.js +6 -7
  202. package/Tasks/WorldGeneration/WorldGenRegister.d.ts +3 -1
  203. package/Tasks/WorldGeneration/WorldGenRegister.js +13 -3
  204. package/Tasks/WorldGeneration/WorldGeneration.d.ts +2 -2
  205. package/Tasks/WorldGeneration/WorldGeneration.js +22 -3
  206. package/Templates/Archive/ArchivedVoxelTemplate.d.ts +38 -0
  207. package/Templates/Archive/ArchivedVoxelTemplate.js +128 -0
  208. package/Templates/Archive/ArchivedVoxelTemplate.types.d.ts +45 -0
  209. package/Templates/Archive/ArchivedVoxelTemplate.types.js +1 -0
  210. package/Templates/Archive/Functions/CreateArchivedTemplate.d.ts +11 -0
  211. package/Templates/Archive/Functions/CreateArchivedTemplate.js +186 -0
  212. package/Templates/Archive/Functions/ExportArchiedTemplateJSON.d.ts +2 -0
  213. package/Templates/Archive/Functions/ExportArchiedTemplateJSON.js +44 -0
  214. package/Templates/Archive/Functions/ImportArchivedTemplateJSON.d.ts +2 -0
  215. package/Templates/Archive/Functions/ImportArchivedTemplateJSON.js +37 -0
  216. package/Templates/Cursor/TemplateCursor.d.ts +5 -3
  217. package/Templates/Cursor/TemplateCursor.js +11 -5
  218. package/Templates/Cursor/TemplateProxy.d.ts +11 -0
  219. package/Templates/Cursor/TemplateProxy.js +36 -0
  220. package/Templates/Cursor/TemplateVoxelCursor.d.ts +5 -7
  221. package/Templates/Cursor/TemplateVoxelCursor.js +7 -13
  222. package/Templates/Full/FullVoxelTemplate.d.ts +28 -0
  223. package/Templates/Full/FullVoxelTemplate.js +112 -0
  224. package/Templates/Full/FullVoxelTemplate.types.d.ts +5 -0
  225. package/Templates/Full/FullVoxelTemplate.types.js +1 -0
  226. package/Templates/Full/Functions/CreateFullTemplate.d.ts +3 -0
  227. package/Templates/Full/Functions/CreateFullTemplate.js +27 -0
  228. package/Templates/Functions/FlipTemplate.d.ts +2 -2
  229. package/Templates/Functions/FlipTemplate.js +1 -9
  230. package/Templates/Functions/RotateTemplate.d.ts +2 -2
  231. package/Templates/Functions/RotateTemplate.js +2 -10
  232. package/Templates/Functions/index.d.ts +1 -1
  233. package/Templates/Functions/index.js +1 -1
  234. package/Templates/Path/VoxelPath.d.ts +38 -0
  235. package/Templates/Path/VoxelPath.js +144 -0
  236. package/Templates/Path/VoxelPath.types.d.ts +11 -0
  237. package/Templates/Path/VoxelPath.types.js +1 -0
  238. package/Templates/Selection/VoxelBFSSelection.d.ts +23 -0
  239. package/Templates/Selection/VoxelBFSSelection.js +141 -0
  240. package/Templates/Selection/VoxelBoxSelection.d.ts +17 -0
  241. package/Templates/Selection/VoxelBoxSelection.js +116 -0
  242. package/Templates/Selection/VoxelPointSelection.d.ts +17 -0
  243. package/Templates/Selection/VoxelPointSelection.js +48 -0
  244. package/Templates/Selection/VoxelSelecton.d.ts +9 -0
  245. package/Templates/Selection/VoxelSelecton.js +1 -0
  246. package/Templates/Selection/VoxelSurfaceSelection.d.ts +30 -0
  247. package/Templates/Selection/VoxelSurfaceSelection.js +224 -0
  248. package/Templates/Selection/VoxelTemplateSelection.d.ts +13 -0
  249. package/Templates/Selection/VoxelTemplateSelection.js +36 -0
  250. package/Templates/Shapes/BasicVoxelShapeTemplate.d.ts +36 -0
  251. package/Templates/Shapes/BasicVoxelShapeTemplate.js +126 -0
  252. package/Templates/Shapes/BoxVoxelTemplate.d.ts +23 -0
  253. package/Templates/Shapes/BoxVoxelTemplate.js +83 -0
  254. package/Templates/Shapes/ConeVoxelTemplate.d.ts +23 -0
  255. package/Templates/Shapes/ConeVoxelTemplate.js +73 -0
  256. package/Templates/Shapes/CylinderVoxelTemplate.d.ts +23 -0
  257. package/Templates/Shapes/CylinderVoxelTemplate.js +73 -0
  258. package/Templates/Shapes/EllipsoidVoxelTemplate.d.ts +23 -0
  259. package/Templates/Shapes/EllipsoidVoxelTemplate.js +89 -0
  260. package/Templates/Shapes/OctahedronVoxelTemplate.d.ts +23 -0
  261. package/Templates/Shapes/OctahedronVoxelTemplate.js +73 -0
  262. package/Templates/Shapes/PyramidVoxelTemplate.d.ts +31 -0
  263. package/Templates/Shapes/PyramidVoxelTemplate.js +148 -0
  264. package/Templates/Shapes/SphereVoxelTemplate.d.ts +15 -0
  265. package/Templates/Shapes/SphereVoxelTemplate.js +59 -0
  266. package/Templates/Shapes/TorusVoxelTemplate.d.ts +23 -0
  267. package/Templates/Shapes/TorusVoxelTemplate.js +73 -0
  268. package/Templates/Shapes/VoxelShapeTemplate.types.d.ts +27 -0
  269. package/Templates/Shapes/VoxelShapeTemplate.types.js +6 -0
  270. package/Templates/VoxelTempateRegister.d.ts +6 -0
  271. package/Templates/VoxelTempateRegister.js +30 -0
  272. package/Templates/VoxelTemplates.types.d.ts +24 -26
  273. package/Templates/index.d.ts +1 -1
  274. package/Templates/index.js +1 -1
  275. package/Textures/Classes/CompiledTexture.d.ts +3 -0
  276. package/Textures/Classes/CompiledTexture.js +3 -0
  277. package/Textures/Classes/CompiledTextureAnimation.d.ts +1 -1
  278. package/Textures/Classes/CompiledTextureAnimation.js +8 -2
  279. package/Textures/Classes/TextureAnimationTexture.d.ts +1 -1
  280. package/Textures/Functions/BuildTextureData.d.ts +2 -1
  281. package/Textures/Functions/BuildTextureData.js +86 -17
  282. package/Textures/Texture.types.d.ts +5 -1
  283. package/Textures/TextureManager.d.ts +2 -1
  284. package/Textures/TextureManager.js +5 -2
  285. package/Tools/Brush/AdvancedBrushTool.d.ts +1 -5
  286. package/Tools/Brush/AdvancedBrushTool.js +2 -30
  287. package/Tools/Brush/Brush.d.ts +8 -2
  288. package/Tools/Brush/Brush.js +61 -36
  289. package/Tools/Tasks/TasksTool.d.ts +49 -20
  290. package/Tools/Tasks/TasksTool.js +87 -23
  291. package/Util/Binary/BinaryArrays.d.ts +2 -0
  292. package/Util/Binary/BinaryArrays.js +15 -0
  293. package/Util/Binary/BinaryFunctions.d.ts +3 -0
  294. package/Util/Binary/BinaryFunctions.js +18 -0
  295. package/Util/BinaryBuffer/BinaryBuffer.d.ts +30 -0
  296. package/Util/BinaryBuffer/BinaryBuffer.js +78 -0
  297. package/Util/BinaryBuffer/BinaryBuffer.types.d.ts +37 -0
  298. package/Util/BinaryBuffer/BinaryBuffer.types.js +28 -0
  299. package/Util/BinaryBuffer/Functions/BinaryBufferConvert.d.ts +5 -0
  300. package/Util/BinaryBuffer/Functions/BinaryBufferConvert.js +60 -0
  301. package/Util/BinaryBuffer/Functions/BinaryBufferJSON.d.ts +3 -0
  302. package/Util/BinaryBuffer/Functions/BinaryBufferJSON.js +64 -0
  303. package/Util/BinaryBuffer/Functions/BinaryBufferRead.d.ts +3 -0
  304. package/Util/BinaryBuffer/Functions/BinaryBufferRead.js +26 -0
  305. package/Util/BinaryBuffer/Functions/BinaryBufferToTypedArray.d.ts +2 -0
  306. package/Util/BinaryBuffer/Functions/BinaryBufferToTypedArray.js +43 -0
  307. package/Util/BinaryBuffer/index.d.ts +2 -0
  308. package/Util/BinaryBuffer/index.js +2 -0
  309. package/Util/LocationData.d.ts +3 -0
  310. package/Util/LocationData.js +16 -0
  311. package/Util/PriorityQueue.d.ts +18 -0
  312. package/Util/PriorityQueue.js +62 -0
  313. package/Util/TickInterval.d.ts +16 -0
  314. package/Util/TickInterval.js +49 -0
  315. package/Util/TypedEventTarget.d.ts +1 -0
  316. package/Util/TypedEventTarget.js +3 -0
  317. package/Util/Util.types.d.ts +4 -0
  318. package/Util/WorkItemProgress.d.ts +23 -0
  319. package/Util/WorkItemProgress.js +52 -0
  320. package/Voxels/Archive/VoxelArchive.types.d.ts +43 -0
  321. package/Voxels/Archive/VoxelArchive.types.js +6 -0
  322. package/Voxels/Archive/VoxelPaletteArchiveReader.d.ts +11 -0
  323. package/Voxels/Archive/VoxelPaletteArchiveReader.js +73 -0
  324. package/Voxels/Archive/VoxelPaletteArechive.d.ts +15 -0
  325. package/Voxels/Archive/VoxelPaletteArechive.js +81 -0
  326. package/Voxels/Cursor/DataCursor.interface.d.ts +1 -0
  327. package/Voxels/Cursor/VoxelCursor.d.ts +6 -7
  328. package/Voxels/Cursor/VoxelCursor.interface.d.ts +25 -24
  329. package/Voxels/Cursor/VoxelCursor.interface.js +93 -96
  330. package/Voxels/Cursor/VoxelCursor.js +22 -12
  331. package/Voxels/Cursor/VoxelLightData.d.ts +2 -0
  332. package/Voxels/Cursor/VoxelLightData.js +2 -0
  333. package/Voxels/Data/VoxelPalettesRegister.d.ts +11 -1
  334. package/Voxels/Data/VoxelPalettesRegister.js +17 -1
  335. package/Voxels/Data/VoxelPropertiesRegister.d.ts +4 -0
  336. package/Voxels/Data/VoxelPropertiesRegister.js +3 -0
  337. package/Voxels/Data/VoxelTag.types.d.ts +7 -1
  338. package/Voxels/Data/VoxelTag.types.js +3 -0
  339. package/Voxels/Data/VoxelTagsRegister.js +4 -1
  340. package/Voxels/Functions/BuildPaletteData.d.ts +6 -0
  341. package/Voxels/Functions/BuildPaletteData.js +87 -0
  342. package/Voxels/Functions/BuildStateData.d.ts +4 -6
  343. package/Voxels/Functions/BuildStateData.js +26 -80
  344. package/Voxels/Functions/{BuildTagAndPaletteData.d.ts → BuildTagData.d.ts} +2 -2
  345. package/Voxels/Functions/{BuildTagAndPaletteData.js → BuildTagData.js} +23 -2
  346. package/Voxels/Indexes/VoxelIndex.d.ts +1 -1
  347. package/Voxels/Indexes/VoxelIndex.js +5 -4
  348. package/Voxels/InitVoxelData.d.ts +1 -1
  349. package/Voxels/InitVoxelData.js +39 -41
  350. package/Voxels/Interaction/Functions/PickVoxel.d.ts +9 -0
  351. package/Voxels/Interaction/Functions/PickVoxel.js +95 -0
  352. package/Voxels/Interaction/Functions/PickVoxelWorld.d.ts +8 -0
  353. package/Voxels/Interaction/Functions/PickVoxelWorld.js +38 -0
  354. package/Voxels/Interaction/Placing/VoxelPlacingStrategy.d.ts +9 -0
  355. package/Voxels/Interaction/Placing/VoxelPlacingStrategy.js +58 -0
  356. package/Voxels/Interaction/Placing/VoxelPlacingStrategy.types.d.ts +15 -0
  357. package/Voxels/Interaction/Placing/VoxelPlacingStrategy.types.js +1 -0
  358. package/Voxels/Interaction/Placing/VoxelPlacingStrategyRegister.d.ts +7 -0
  359. package/Voxels/Interaction/Placing/VoxelPlacingStrategyRegister.js +13 -0
  360. package/Voxels/Interaction/VoxelPickResult.d.ts +51 -0
  361. package/Voxels/Interaction/VoxelPickResult.js +58 -0
  362. package/Voxels/Logic/Classes/Types/VoxelLogicPoweredType.d.ts +8 -0
  363. package/Voxels/Logic/Classes/Types/VoxelLogicPoweredType.js +13 -0
  364. package/Voxels/Logic/Classes/Types/VoxelLogicStateType.d.ts +9 -0
  365. package/Voxels/Logic/Classes/Types/VoxelLogicStateType.js +23 -0
  366. package/Voxels/Logic/Classes/VoxelLogic.d.ts +7 -4
  367. package/Voxels/Logic/Classes/VoxelLogic.js +25 -27
  368. package/Voxels/Logic/Classes/VoxelLogicType.d.ts +11 -1
  369. package/Voxels/Logic/Classes/VoxelLogicType.js +6 -0
  370. package/Voxels/Logic/VoxelLogic.types.d.ts +5 -3
  371. package/Voxels/Logic/VoxelLogicRegister.d.ts +4 -3
  372. package/Voxels/Logic/VoxelLogicRegister.js +12 -4
  373. package/Voxels/Models/CompiledVoxelModel.types.d.ts +46 -0
  374. package/Voxels/Models/CompiledVoxelModel.types.js +1 -0
  375. package/{Models → Voxels/Models}/Defaults/CubeVoxelGeometry.js +0 -30
  376. package/{Models → Voxels/Models}/Defaults/CubeVoxelModels.d.ts +2 -0
  377. package/{Models → Voxels/Models}/Defaults/CubeVoxelModels.js +187 -71
  378. package/{Models → Voxels/Models/Defaults}/Examples.d.ts +1 -1
  379. package/{Models → Voxels/Models/Defaults}/Examples.js +50 -147
  380. package/Voxels/Models/Defaults/FarmVoxelModels.d.ts +3 -0
  381. package/Voxels/Models/Defaults/FarmVoxelModels.js +349 -0
  382. package/{Models → Voxels/Models}/Defaults/LiquidVoxelModel.js +3 -1
  383. package/{Models → Voxels/Models}/Defaults/PanelVoxelGeometry.js +2 -92
  384. package/{Models → Voxels/Models}/Defaults/PanelVoxelModels.d.ts +1 -0
  385. package/{Models → Voxels/Models}/Defaults/PanelVoxelModels.js +52 -180
  386. package/{Models → Voxels/Models}/Defaults/StairVoxelModel.js +59 -149
  387. package/Voxels/Models/Indexing/AOOcclusionFaceIndex.d.ts +12 -0
  388. package/Voxels/Models/Indexing/AOOcclusionFaceIndex.js +28 -0
  389. package/Voxels/Models/Indexing/CulledOcclusionFaceIndex.d.ts +12 -0
  390. package/Voxels/Models/Indexing/CulledOcclusionFaceIndex.js +27 -0
  391. package/Voxels/Models/Rules/Classes/GeomtryInput.d.ts +13 -0
  392. package/Voxels/Models/Rules/Classes/GeomtryInput.js +64 -0
  393. package/Voxels/Models/Rules/Classes/OcclusionFace.d.ts +10 -0
  394. package/Voxels/Models/Rules/Classes/OcclusionFace.js +5 -0
  395. package/Voxels/Models/Rules/Classes/OcclusionFaceRegister.d.ts +18 -0
  396. package/Voxels/Models/Rules/Classes/OcclusionFaceRegister.js +33 -0
  397. package/Voxels/Models/Rules/Classes/OcclusionQuadFace.d.ts +14 -0
  398. package/Voxels/Models/Rules/Classes/OcclusionQuadFace.js +118 -0
  399. package/Voxels/Models/Rules/Classes/OcclusionTriangleFace.d.ts +14 -0
  400. package/Voxels/Models/Rules/Classes/OcclusionTriangleFace.js +114 -0
  401. package/Voxels/Models/Rules/Classes/VoxelRulesGeometry.d.ts +22 -0
  402. package/Voxels/Models/Rules/Classes/VoxelRulesGeometry.js +15 -0
  403. package/{Models → Voxels/Models}/Rules/Classes/VoxelRulesModel.d.ts +3 -2
  404. package/{Models → Voxels/Models}/Rules/Functions/BuildFinalInputs.d.ts +0 -2
  405. package/Voxels/Models/Rules/Functions/BuildFinalInputs.js +72 -0
  406. package/Voxels/Models/Rules/Functions/BuildRules.d.ts +7 -0
  407. package/Voxels/Models/Rules/Functions/BuildRules.js +217 -0
  408. package/Voxels/Models/Rules/Functions/Compile/CompileGeomtryNodes.d.ts +4 -0
  409. package/Voxels/Models/Rules/Functions/Compile/CompileGeomtryNodes.js +39 -0
  410. package/Voxels/Models/Rules/Functions/Compile/Nodes/CalcFunctions.d.ts +8 -0
  411. package/Voxels/Models/Rules/Functions/Compile/Nodes/CalcFunctions.js +106 -0
  412. package/Voxels/Models/Rules/Functions/Compile/Nodes/CompileBoxGeometryNode.d.ts +5 -0
  413. package/Voxels/Models/Rules/Functions/Compile/Nodes/CompileBoxGeometryNode.js +14 -0
  414. package/Voxels/Models/Rules/Functions/Compile/Nodes/CompileQuadGeometryNode.d.ts +6 -0
  415. package/Voxels/Models/Rules/Functions/Compile/Nodes/CompileQuadGeometryNode.js +92 -0
  416. package/Voxels/Models/Rules/Functions/Compile/Nodes/CompileTriangleGeometryNode.d.ts +6 -0
  417. package/Voxels/Models/Rules/Functions/Compile/Nodes/CompileTriangleGeometryNode.js +115 -0
  418. package/{Models → Voxels/Models}/Rules/VoxelModelRuleBuilderRegister.d.ts +1 -1
  419. package/{Models → Voxels/Models}/Rules/VoxelModelRuleBuilderRegister.js +27 -3
  420. package/{Models → Voxels/Models}/VoxelModel.types.d.ts +56 -45
  421. package/Voxels/Models/VoxelModel.types.js +1 -0
  422. package/Voxels/State/Schema/BinarySchema.d.ts +5 -3
  423. package/Voxels/State/Schema/BinarySchema.js +23 -8
  424. package/Voxels/State/Schema/BinarySchemaNode.d.ts +4 -3
  425. package/Voxels/State/Schema/BinarySchemaNode.js +9 -6
  426. package/Voxels/State/Schema/Conditions/SameVoxelConditions.js +2 -0
  427. package/Voxels/State/Schema/ShapeStateRelationsNode.d.ts +3 -3
  428. package/Voxels/State/Schema/ShapeStateRelationsNode.js +2 -2
  429. package/Voxels/State/Schema/StateSchema.d.ts +2 -2
  430. package/Voxels/State/Schema/StateSchema.js +5 -7
  431. package/Voxels/State/SchemaRegister.d.ts +8 -6
  432. package/Voxels/State/SchemaRegister.js +33 -21
  433. package/Voxels/State/State.types.d.ts +19 -23
  434. package/Voxels/Types/PaintVoxelData.d.ts +27 -0
  435. package/Voxels/Types/PaintVoxelData.js +159 -0
  436. package/Voxels/Types/Voxel.types.d.ts +12 -25
  437. package/Voxels/Types/Voxel.types.js +1 -23
  438. package/Voxels/Types/VoxelModelCompiledData.types.d.ts +6 -74
  439. package/Voxels/index.d.ts +1 -0
  440. package/Voxels/index.js +1 -0
  441. package/World/Archive/Classes/ArchiveClasses.d.ts +7 -30
  442. package/World/Archive/Classes/ArchiveClasses.js +8 -33
  443. package/World/Archive/Classes/ImportedSection.d.ts +4 -13
  444. package/World/Archive/Classes/ImportedSection.js +78 -216
  445. package/World/Archive/Classes/ImportedSector.d.ts +7 -9
  446. package/World/Archive/Classes/ImportedSector.js +18 -65
  447. package/World/Archive/Functions/Area/ArchiveArea.d.ts +8 -0
  448. package/World/Archive/Functions/Area/ArchiveArea.js +65 -0
  449. package/World/Archive/Functions/{ArchiveArea.d.ts → Area/ImportArea.d.ts} +1 -8
  450. package/World/Archive/Functions/Area/ImportArea.js +59 -0
  451. package/World/Archive/Functions/JSON/ExportArchivedAreaJSON.d.ts +2 -0
  452. package/World/Archive/Functions/JSON/ExportArchivedAreaJSON.js +100 -0
  453. package/World/Archive/Functions/JSON/ImportArchivedAreaJSON.d.ts +2 -0
  454. package/World/Archive/Functions/JSON/ImportArchivedAreaJSON.js +100 -0
  455. package/World/Archive/Functions/Sector/ArchiveSector.d.ts +7 -0
  456. package/World/Archive/Functions/Sector/ArchiveSector.js +209 -0
  457. package/World/Archive/Functions/Sector/CreateArchivedSection.d.ts +3 -0
  458. package/World/Archive/Functions/Sector/CreateArchivedSection.js +147 -0
  459. package/World/Archive/Functions/{ImportSector.d.ts → Sector/ImportSector.d.ts} +2 -2
  460. package/World/Archive/Functions/Sector/ImportSector.js +32 -0
  461. package/World/Archive/Functions/Sector/RemoveDuplicateSections.d.ts +2 -0
  462. package/World/Archive/Functions/Sector/RemoveDuplicateSections.js +137 -0
  463. package/World/Archive/Functions/Shared/BaseData.d.ts +2 -0
  464. package/World/Archive/Functions/Shared/BaseData.js +14 -0
  465. package/World/Archive/Functions/Shared/IntToString.d.ts +1 -0
  466. package/World/Archive/Functions/Shared/IntToString.js +13 -0
  467. package/World/Archive/Functions/{Shared.d.ts → Shared/LightSegments.d.ts} +2 -3
  468. package/World/Archive/Functions/{Shared.js → Shared/LightSegments.js} +2 -15
  469. package/World/Archive/Functions/Shared/index.d.ts +3 -0
  470. package/World/Archive/Functions/Shared/index.js +3 -0
  471. package/World/Archive/Functions/index.d.ts +3 -3
  472. package/World/Archive/Functions/index.js +3 -3
  473. package/World/Archive/InitTasks.js +21 -30
  474. package/World/Archive/Types/Archive.types.d.ts +45 -0
  475. package/World/Archive/Types/Archive.types.js +1 -0
  476. package/World/Archive/Types/ArchiveArea.types.d.ts +38 -0
  477. package/World/Archive/Types/ArchiveArea.types.js +1 -0
  478. package/World/Archive/Types/ArchiveJSON.types.d.ts +52 -0
  479. package/World/Archive/Types/ArchiveJSON.types.js +1 -0
  480. package/World/Archive/Types/ArchivedSector.types.d.ts +43 -0
  481. package/World/Archive/Types/ArchivedSector.types.js +1 -0
  482. package/World/Archive/Types/index.d.ts +4 -0
  483. package/World/Archive/Types/index.js +4 -0
  484. package/World/Archive/index.d.ts +1 -1
  485. package/World/Archive/index.js +1 -1
  486. package/World/Cursor/SectionCursor.d.ts +4 -3
  487. package/World/Cursor/SectionCursor.js +13 -11
  488. package/World/Cursor/SectorCursor.d.ts +4 -2
  489. package/World/Cursor/SectorCursor.js +11 -1
  490. package/World/Cursor/WorldCursor.d.ts +1 -0
  491. package/World/Cursor/WorldCursor.js +8 -5
  492. package/World/Cursor/WorldVoxelCursor.d.ts +1 -3
  493. package/World/Cursor/WorldVoxelCursor.js +6 -26
  494. package/World/InitTasks.js +52 -40
  495. package/World/Lock/Function/LockSectors.d.ts +2 -0
  496. package/World/Lock/Function/LockSectors.js +28 -0
  497. package/World/Lock/Function/UnLockSectors.d.ts +2 -0
  498. package/World/Lock/Function/UnLockSectors.js +28 -0
  499. package/World/Lock/WorldLock.d.ts +1 -2
  500. package/World/Lock/WorldLock.js +3 -1
  501. package/World/Section/Section.d.ts +16 -21
  502. package/World/Section/Section.js +67 -143
  503. package/World/Section/SectionState.d.ts +6 -2
  504. package/World/Section/SectionState.js +9 -4
  505. package/World/Sector/Sector.d.ts +22 -8
  506. package/World/Sector/Sector.js +86 -67
  507. package/World/Sector/SectorHeightMap.d.ts +1 -1
  508. package/World/Sector/SectorHeightMap.js +6 -6
  509. package/World/Sector/SectorState.d.ts +2 -1
  510. package/World/Sector/SectorState.js +1 -0
  511. package/World/SnapShot/SectionSnapShot.d.ts +19 -0
  512. package/World/SnapShot/SectionSnapShot.js +72 -0
  513. package/World/SnapShot/SectionSnapShotCursor.d.ts +23 -0
  514. package/World/SnapShot/SectionSnapShotCursor.js +107 -0
  515. package/World/SnapShot/SnapShots.d.ts +11 -0
  516. package/World/SnapShot/SnapShots.js +24 -0
  517. package/World/Types/WorldDataSyncIds.d.ts +2 -0
  518. package/World/Types/WorldDataSyncIds.js +2 -0
  519. package/World/WorldRegister.d.ts +19 -7
  520. package/World/WorldRegister.js +47 -23
  521. package/World/WorldSpaces.d.ts +20 -0
  522. package/World/WorldSpaces.js +33 -0
  523. package/WorldSimulation/Dimensions/DimensionSegment.d.ts +38 -0
  524. package/WorldSimulation/Dimensions/DimensionSegment.js +120 -0
  525. package/WorldSimulation/Dimensions/DimensionSimulation.d.ts +26 -0
  526. package/WorldSimulation/Dimensions/DimensionSimulation.js +95 -0
  527. package/WorldSimulation/{Internal/Classes → Dimensions}/Generator.d.ts +5 -9
  528. package/WorldSimulation/{Internal/Classes → Dimensions}/Generator.js +10 -21
  529. package/WorldSimulation/{Internal/Classes → Dimensions}/SectorState.d.ts +4 -0
  530. package/WorldSimulation/Dimensions/SectorState.js +56 -0
  531. package/WorldSimulation/Dimensions/SimulationSector.d.ts +30 -0
  532. package/WorldSimulation/Dimensions/SimulationSector.js +214 -0
  533. package/WorldSimulation/Internal/WorldSimulationDimensions.d.ts +1 -1
  534. package/WorldSimulation/Internal/WorldSimulationDimensions.js +4 -3
  535. package/WorldSimulation/Internal/WorldSimulationTasks.d.ts +14 -9
  536. package/WorldSimulation/Internal/WorldSimulationTasks.js +132 -61
  537. package/WorldSimulation/Internal/runActiveSectorUpdate.d.ts +1 -0
  538. package/WorldSimulation/Internal/runActiveSectorUpdate.js +106 -0
  539. package/WorldSimulation/Procedures/InitalLoad.d.ts +1 -1
  540. package/WorldSimulation/Procedures/InitalLoad.js +6 -4
  541. package/WorldSimulation/Tasks/SimulationTaskBase.d.ts +19 -0
  542. package/WorldSimulation/Tasks/SimulationTaskBase.js +50 -0
  543. package/WorldSimulation/Tasks/TaskRegister.d.ts +7 -0
  544. package/WorldSimulation/{Internal → Tasks}/TaskRegister.js +3 -3
  545. package/WorldSimulation/Tasks/TaskSegment.d.ts +20 -0
  546. package/WorldSimulation/Tasks/TaskSegment.js +83 -0
  547. package/WorldSimulation/Tick/TickQueue.d.ts +9 -0
  548. package/WorldSimulation/Tick/TickQueue.js +31 -0
  549. package/WorldSimulation/Tools/SimulationBrush.d.ts +25 -0
  550. package/WorldSimulation/Tools/SimulationBrush.js +203 -0
  551. package/WorldSimulation/Voxels/Behaviors/Types/CropVoxelBehavior.d.ts +1 -0
  552. package/WorldSimulation/Voxels/Behaviors/Types/CropVoxelBehavior.js +23 -0
  553. package/WorldSimulation/Voxels/Behaviors/Types/DefaultVoxelBehavior.d.ts +1 -0
  554. package/WorldSimulation/Voxels/Behaviors/Types/DefaultVoxelBehavior.js +10 -0
  555. package/WorldSimulation/Voxels/Behaviors/Types/FarmlandVoxelBehavior.d.ts +1 -0
  556. package/WorldSimulation/Voxels/Behaviors/Types/FarmlandVoxelBehavior.js +73 -0
  557. package/WorldSimulation/Voxels/Behaviors/Types/LiquidVoxelBehavior.d.ts +1 -0
  558. package/WorldSimulation/Voxels/Behaviors/Types/LiquidVoxelBehavior.js +21 -0
  559. package/WorldSimulation/Voxels/Behaviors/Types/index.d.ts +4 -0
  560. package/WorldSimulation/Voxels/Behaviors/Types/index.js +4 -0
  561. package/WorldSimulation/Voxels/Behaviors/VoxelBehaviors.d.ts +18 -0
  562. package/WorldSimulation/Voxels/Behaviors/VoxelBehaviors.js +30 -0
  563. package/WorldSimulation/Voxels/Behaviors/VoxelBehaviorsRegister.d.ts +6 -0
  564. package/WorldSimulation/Voxels/Behaviors/VoxelBehaviorsRegister.js +25 -0
  565. package/WorldSimulation/Voxels/Behaviors/VoxelUpdate.d.ts +10 -0
  566. package/WorldSimulation/Voxels/Behaviors/VoxelUpdate.js +1 -0
  567. package/WorldSimulation/Voxels/Behaviors/index.d.ts +4 -0
  568. package/WorldSimulation/Voxels/Behaviors/index.js +4 -0
  569. package/WorldSimulation/Voxels/Ticks/Types/LiquidVoxelUpdate.d.ts +1 -0
  570. package/WorldSimulation/Voxels/Ticks/Types/LiquidVoxelUpdate.js +163 -0
  571. package/WorldSimulation/Voxels/Ticks/Types/index.d.ts +1 -0
  572. package/WorldSimulation/Voxels/Ticks/Types/index.js +1 -0
  573. package/WorldSimulation/Voxels/Ticks/VoxelTickUpdate.d.ts +8 -0
  574. package/WorldSimulation/Voxels/Ticks/VoxelTickUpdate.js +14 -0
  575. package/WorldSimulation/Voxels/Ticks/VoxelTickUpdateRegister.d.ts +6 -0
  576. package/WorldSimulation/Voxels/Ticks/VoxelTickUpdateRegister.js +13 -0
  577. package/WorldSimulation/Voxels/Ticks/VoxelTickUpdateType.d.ts +12 -0
  578. package/WorldSimulation/Voxels/Ticks/VoxelTickUpdateType.js +10 -0
  579. package/WorldSimulation/Voxels/Ticks/index.d.ts +4 -0
  580. package/WorldSimulation/Voxels/Ticks/index.js +4 -0
  581. package/WorldSimulation/WorldSimulation.d.ts +5 -4
  582. package/WorldSimulation/WorldSimulation.js +31 -35
  583. package/package.json +2 -2
  584. package/Contexts/Constructor/DivineVoxelEngineConstructor.d.ts +0 -10
  585. package/Contexts/Constructor/DivineVoxelEngineConstructor.js +0 -14
  586. package/Contexts/Constructor/index.d.ts +0 -1
  587. package/Contexts/Constructor/index.js +0 -1
  588. package/Init/StartConstructor.d.ts +0 -2
  589. package/Init/StartConstructor.js +0 -59
  590. package/Mesher/Models/Common/BoundsFunctions.d.ts +0 -2
  591. package/Mesher/Models/Common/BoxGeometryNode.d.ts +0 -10
  592. package/Mesher/Models/Common/BoxGeometryNode.js +0 -80
  593. package/Mesher/Models/Common/QuadGeometryNode.d.ts +0 -11
  594. package/Mesher/Models/Common/QuadGeometryNode.js +0 -51
  595. package/Mesher/Models/Nodes/Ruled/BoxVoxelGeometryNode.d.ts +0 -24
  596. package/Mesher/Models/Nodes/Ruled/BoxVoxelGeometryNode.js +0 -173
  597. package/Mesher/Models/Nodes/Ruled/QuadVoxelGeometryNode.d.ts +0 -19
  598. package/Mesher/Models/Nodes/Ruled/QuadVoxelGeometryNode.js +0 -157
  599. package/Mesher/Models/Nodes/Ruleless/RulelessBoxVoxelGeometryNode.d.ts +0 -22
  600. package/Mesher/Models/Nodes/Ruleless/RulelessBoxVoxelGeometryNode.js +0 -75
  601. package/Mesher/Models/Nodes/Ruleless/RulelessQuadVoxelGeometryNode.d.ts +0 -18
  602. package/Mesher/Models/Nodes/Ruleless/RulelessQuadVoxelGeometryNode.js +0 -77
  603. package/Mesher/Models/Protocols/OutlinedVoxelTool.d.ts +0 -6
  604. package/Mesher/Models/Protocols/OutlinedVoxelTool.js +0 -233
  605. package/Models/Indexing/VoxelAOResultsIndex.d.ts +0 -12
  606. package/Models/Indexing/VoxelAOResultsIndex.js +0 -26
  607. package/Models/Indexing/VoxelFaceCullResultsIndex.d.ts +0 -12
  608. package/Models/Indexing/VoxelFaceCullResultsIndex.js +0 -26
  609. package/Models/Indexing/VoxelFaceTransparentResultsIndex.d.ts +0 -11
  610. package/Models/Indexing/VoxelFaceTransparentResultsIndex.js +0 -15
  611. package/Models/Input/BoxVoxelGometryInputs.d.ts +0 -25
  612. package/Models/Input/BoxVoxelGometryInputs.js +0 -36
  613. package/Models/Input/QuadVoxelGometryInputs.d.ts +0 -24
  614. package/Models/Rules/Classes/OcclusionFace.d.ts +0 -65
  615. package/Models/Rules/Classes/OcclusionFace.js +0 -492
  616. package/Models/Rules/Classes/VoxelRulesGeometry.d.ts +0 -15
  617. package/Models/Rules/Classes/VoxelRulesGeometry.js +0 -29
  618. package/Models/Rules/Functions/BuildFinalInputs.js +0 -93
  619. package/Models/Rules/Functions/BuildGeomtryInputs.d.ts +0 -6
  620. package/Models/Rules/Functions/BuildGeomtryInputs.js +0 -251
  621. package/Models/Rules/Functions/BuildRules.d.ts +0 -8
  622. package/Models/Rules/Functions/BuildRules.js +0 -187
  623. package/Models/Rules/Functions/GetOcclusionFaces.d.ts +0 -4
  624. package/Models/Rules/Functions/GetOcclusionFaces.js +0 -112
  625. package/Models/Shared/Transform.d.ts +0 -4
  626. package/Tasks/Logic/InitTasks.js +0 -10
  627. package/Tasks/Logic/VoxelLogicUpdate.d.ts +0 -3
  628. package/Tasks/Logic/VoxelLogicUpdate.js +0 -71
  629. package/Tasks/Propagation/Explosion/ExplosionManager.d.ts +0 -4
  630. package/Tasks/Propagation/Explosion/ExplosionManager.js +0 -116
  631. package/Tasks/Update/Common.d.ts +0 -3
  632. package/Tasks/Update/Common.js +0 -41
  633. package/Tasks/Update/EreaseUpdate.d.ts +0 -3
  634. package/Tasks/Update/EreaseUpdate.js +0 -66
  635. package/Tasks/Update/InitTasks.d.ts +0 -5
  636. package/Tasks/Update/InitTasks.js +0 -25
  637. package/Tasks/Update/PaintUpdate.d.ts +0 -3
  638. package/Tasks/Update/PaintUpdate.js +0 -89
  639. package/Tasks/Update/VoxelUpdate.d.ts +0 -3
  640. package/Tasks/Update/VoxelUpdate.js +0 -35
  641. package/Templates/FullVoxelTemplate.d.ts +0 -14
  642. package/Templates/FullVoxelTemplate.js +0 -61
  643. package/Templates/Functions/CreateTemplate.d.ts +0 -3
  644. package/Templates/Functions/CreateTemplate.js +0 -134
  645. package/Templates/VoxelTemplate.d.ts +0 -34
  646. package/Templates/VoxelTemplate.js +0 -135
  647. package/Util/Binary/BinaryBuffer.d.ts +0 -35
  648. package/Util/Binary/BinaryBuffer.js +0 -136
  649. package/Util/Binary/Palettes.d.ts +0 -5
  650. package/Util/Binary/Palettes.js +0 -46
  651. package/Util/LocationVisitedMap.d.ts +0 -9
  652. package/Util/LocationVisitedMap.js +0 -18
  653. package/Util/VisistedMap.d.ts +0 -10
  654. package/Util/VisistedMap.js +0 -29
  655. package/Voxels/Data/VoxelTagStates.d.ts +0 -22
  656. package/Voxels/Data/VoxelTagStates.js +0 -47
  657. package/Voxels/Logic/Classes/Default/Types/VoxelPoweredLogicType.d.ts +0 -5
  658. package/Voxels/Logic/Classes/Default/Types/VoxelPoweredLogicType.js +0 -6
  659. package/World/Archive/Archive.types.d.ts +0 -182
  660. package/World/Archive/Functions/ArchiveArea.js +0 -341
  661. package/World/Archive/Functions/ArchiveSector.d.ts +0 -7
  662. package/World/Archive/Functions/ArchiveSector.js +0 -431
  663. package/World/Archive/Functions/CreateArchivedSection.d.ts +0 -3
  664. package/World/Archive/Functions/CreateArchivedSection.js +0 -207
  665. package/World/Archive/Functions/ImportSector.js +0 -57
  666. package/World/Archive/Functions/RemoveDuplicates.d.ts +0 -3
  667. package/World/Archive/Functions/RemoveDuplicates.js +0 -92
  668. package/WorldSimulation/Internal/Classes/DimensionSegment.d.ts +0 -37
  669. package/WorldSimulation/Internal/Classes/DimensionSegment.js +0 -67
  670. package/WorldSimulation/Internal/Classes/Queues/BuildQueue.d.ts +0 -5
  671. package/WorldSimulation/Internal/Classes/Queues/BuildQueue.js +0 -6
  672. package/WorldSimulation/Internal/Classes/Queues/LogiccQueue.d.ts +0 -5
  673. package/WorldSimulation/Internal/Classes/Queues/LogiccQueue.js +0 -6
  674. package/WorldSimulation/Internal/Classes/SectorState.js +0 -20
  675. package/WorldSimulation/Internal/Classes/SectorVisistedMap.d.ts +0 -9
  676. package/WorldSimulation/Internal/Classes/SectorVisistedMap.js +0 -24
  677. package/WorldSimulation/Internal/Classes/TickQueue.d.ts +0 -12
  678. package/WorldSimulation/Internal/Classes/TickQueue.js +0 -58
  679. package/WorldSimulation/Internal/Classes/WorldSimulationTaskBase.d.ts +0 -15
  680. package/WorldSimulation/Internal/Classes/WorldSimulationTaskBase.js +0 -62
  681. package/WorldSimulation/Internal/Functions/cullSectors.d.ts +0 -2
  682. package/WorldSimulation/Internal/Functions/cullSectors.js +0 -111
  683. package/WorldSimulation/Internal/Functions/getSectorState.d.ts +0 -4
  684. package/WorldSimulation/Internal/Functions/getSectorState.js +0 -39
  685. package/WorldSimulation/Internal/Functions/runTickUpdate.d.ts +0 -2
  686. package/WorldSimulation/Internal/Functions/runTickUpdate.js +0 -80
  687. package/WorldSimulation/Internal/Functions/runWorldUpdate.d.ts +0 -2
  688. package/WorldSimulation/Internal/Functions/runWorldUpdate.js +0 -69
  689. package/WorldSimulation/Internal/TaskRegister.d.ts +0 -7
  690. /package/{Models/VoxelModel.types.js → Builder/RayProvider.js} +0 -0
  691. /package/{World/Archive/Archive.types.js → Math/Location.js} +0 -0
  692. /package/Tasks/{Logic → Paint}/InitTasks.d.ts +0 -0
  693. /package/Util/{Binary/BinaryTree.d.ts → FlatBinaryTreeIndex.d.ts} +0 -0
  694. /package/Util/{Binary/BinaryTree.js → FlatBinaryTreeIndex.js} +0 -0
  695. /package/{Models → Voxels/Models}/Defaults/CubeVoxelGeometry.d.ts +0 -0
  696. /package/{Models → Voxels/Models}/Defaults/LiquidVoxelModel.d.ts +0 -0
  697. /package/{Models → Voxels/Models}/Defaults/PanelVoxelGeometry.d.ts +0 -0
  698. /package/{Models → Voxels/Models}/Defaults/StairVoxelModel.d.ts +0 -0
  699. /package/{Models → Voxels/Models}/Indexing/VoxelRelativeCubeIndex.d.ts +0 -0
  700. /package/{Models → Voxels/Models}/Indexing/VoxelRelativeCubeIndex.js +0 -0
  701. /package/{Models → Voxels/Models}/Rules/Classes/VoxelRulesModel.js +0 -0
@@ -1,20 +1,26 @@
1
1
  export const stair = {
2
2
  id: "dve_simple_stair",
3
3
  relationsSchema: [],
4
+ properties: {
5
+ dve_placing_strategy: "*",
6
+ },
4
7
  stateSchema: [
5
8
  {
6
9
  name: "placement",
7
- type: "string",
10
+ bitIndex: 0,
11
+ bitSize: 3,
8
12
  values: ["down", "up", "north", "south", "east", "west"],
9
13
  },
10
14
  {
11
- name: "direction",
12
- type: "string",
13
- values: ["south", "north", "east", "west"],
15
+ name: "rotation",
16
+ bitIndex: 3,
17
+ bitSize: 2,
18
+ values: ["0", "90", "180", "270"],
14
19
  },
15
20
  {
16
21
  name: "connected",
17
- type: "string",
22
+ bitIndex: 5,
23
+ bitSize: 1,
18
24
  values: ["false", "true"],
19
25
  },
20
26
  ],
@@ -25,9 +31,8 @@ export const stair = {
25
31
  },
26
32
  conditonalNodes: {},
27
33
  stateNodes: {
28
- "placement=up,direction=north,connected=false": [
34
+ "placement=up,rotation=0,connected=false": [
29
35
  {
30
- id: "base",
31
36
  geometryId: "dve_half_cube_down_half",
32
37
  position: [0, 0.5, 0],
33
38
  inputs: {
@@ -40,7 +45,6 @@ export const stair = {
40
45
  },
41
46
  },
42
47
  {
43
- id: "up",
44
48
  geometryId: "dve_quater_cube_west_east",
45
49
  position: [0, 0, 0.5],
46
50
  inputs: {
@@ -53,9 +57,8 @@ export const stair = {
53
57
  },
54
58
  },
55
59
  ],
56
- "placement=up,direction=south,connected=false": [
60
+ "placement=up,rotation=90,connected=false": [
57
61
  {
58
- id: "base",
59
62
  geometryId: "dve_half_cube_down_half",
60
63
  position: [0, 0.5, 0],
61
64
  inputs: {
@@ -68,7 +71,6 @@ export const stair = {
68
71
  },
69
72
  },
70
73
  {
71
- id: "up",
72
74
  geometryId: "dve_quater_cube_west_east",
73
75
  inputs: {
74
76
  upTex: "@texture",
@@ -80,9 +82,8 @@ export const stair = {
80
82
  },
81
83
  },
82
84
  ],
83
- "placement=up,direction=east,connected=false": [
85
+ "placement=up,rotation=180,connected=false": [
84
86
  {
85
- id: "base",
86
87
  geometryId: "dve_half_cube_down_half",
87
88
  position: [0, 0.5, 0],
88
89
  inputs: {
@@ -95,7 +96,6 @@ export const stair = {
95
96
  },
96
97
  },
97
98
  {
98
- id: "up",
99
99
  geometryId: "dve_quater_cube_south_north",
100
100
  position: [0.5, 0, 0],
101
101
  inputs: {
@@ -108,9 +108,8 @@ export const stair = {
108
108
  },
109
109
  },
110
110
  ],
111
- "placement=up,direction=west,connected=false": [
111
+ "placement=up,rotation=270,connected=false": [
112
112
  {
113
- id: "base",
114
113
  geometryId: "dve_half_cube_down_half",
115
114
  position: [0, 0.5, 0],
116
115
  inputs: {
@@ -123,7 +122,6 @@ export const stair = {
123
122
  },
124
123
  },
125
124
  {
126
- id: "up",
127
125
  geometryId: "dve_quater_cube_south_north",
128
126
  inputs: {
129
127
  upTex: "@texture",
@@ -135,9 +133,8 @@ export const stair = {
135
133
  },
136
134
  },
137
135
  ],
138
- "placement=down,direction=north,connected=false": [
136
+ "placement=down,rotation=0,connected=false": [
139
137
  {
140
- id: "base",
141
138
  geometryId: "dve_half_cube_down_half",
142
139
  inputs: {
143
140
  upTex: "@texture",
@@ -149,7 +146,6 @@ export const stair = {
149
146
  },
150
147
  },
151
148
  {
152
- id: "up",
153
149
  geometryId: "dve_quater_cube_west_east",
154
150
  position: [0, 0.5, 0.5],
155
151
  inputs: {
@@ -162,9 +158,8 @@ export const stair = {
162
158
  },
163
159
  },
164
160
  ],
165
- "placement=down,direction=south,connected=false": [
161
+ "placement=down,rotation=90,connected=false": [
166
162
  {
167
- id: "base",
168
163
  geometryId: "dve_half_cube_down_half",
169
164
  inputs: {
170
165
  upTex: "@texture",
@@ -176,7 +171,6 @@ export const stair = {
176
171
  },
177
172
  },
178
173
  {
179
- id: "up",
180
174
  geometryId: "dve_quater_cube_west_east",
181
175
  position: [0, 0.5, 0],
182
176
  inputs: {
@@ -189,9 +183,8 @@ export const stair = {
189
183
  },
190
184
  },
191
185
  ],
192
- "placement=down,direction=east,connected=false": [
186
+ "placement=down,rotation=180,connected=false": [
193
187
  {
194
- id: "base",
195
188
  geometryId: "dve_half_cube_down_half",
196
189
  inputs: {
197
190
  upTex: "@texture",
@@ -203,7 +196,6 @@ export const stair = {
203
196
  },
204
197
  },
205
198
  {
206
- id: "up",
207
199
  geometryId: "dve_quater_cube_south_north",
208
200
  position: [0.5, 0.5, 0],
209
201
  inputs: {
@@ -216,9 +208,8 @@ export const stair = {
216
208
  },
217
209
  },
218
210
  ],
219
- "placement=down,direction=west,connected=false": [
211
+ "placement=down,rotation=270,connected=false": [
220
212
  {
221
- id: "base",
222
213
  geometryId: "dve_half_cube_down_half",
223
214
  inputs: {
224
215
  upTex: "@texture",
@@ -230,7 +221,6 @@ export const stair = {
230
221
  },
231
222
  },
232
223
  {
233
- id: "up",
234
224
  geometryId: "dve_quater_cube_south_north",
235
225
  position: [0, 0.5, 0],
236
226
  inputs: {
@@ -243,9 +233,8 @@ export const stair = {
243
233
  },
244
234
  },
245
235
  ],
246
- "placement=north,direction=north,connected=false": [
236
+ "placement=north,rotation=0,connected=false": [
247
237
  {
248
- id: "base",
249
238
  position: [0, 0, 0.5],
250
239
  geometryId: "dve_half_cube_south_half",
251
240
  inputs: {
@@ -258,7 +247,6 @@ export const stair = {
258
247
  },
259
248
  },
260
249
  {
261
- id: "up",
262
250
  geometryId: "dve_quater_cube_west_east",
263
251
  position: [0, 0.5, 0],
264
252
  inputs: {
@@ -271,9 +259,8 @@ export const stair = {
271
259
  },
272
260
  },
273
261
  ],
274
- "placement=north,direction=south,connected=false": [
262
+ "placement=north,rotation=90,connected=false": [
275
263
  {
276
- id: "base",
277
264
  position: [0, 0, 0.5],
278
265
  geometryId: "dve_half_cube_south_half",
279
266
  inputs: {
@@ -286,7 +273,6 @@ export const stair = {
286
273
  },
287
274
  },
288
275
  {
289
- id: "up",
290
276
  geometryId: "dve_quater_cube_west_east",
291
277
  inputs: {
292
278
  upTex: "@texture",
@@ -298,9 +284,8 @@ export const stair = {
298
284
  },
299
285
  },
300
286
  ],
301
- "placement=north,direction=east,connected=false": [
287
+ "placement=north,rotation=180,connected=false": [
302
288
  {
303
- id: "base",
304
289
  position: [0, 0, 0.5],
305
290
  geometryId: "dve_half_cube_south_half",
306
291
  inputs: {
@@ -313,7 +298,6 @@ export const stair = {
313
298
  },
314
299
  },
315
300
  {
316
- id: "up",
317
301
  geometryId: "dve_quater_cube_up_down",
318
302
  position: [0.5, 0, 0],
319
303
  inputs: {
@@ -326,9 +310,8 @@ export const stair = {
326
310
  },
327
311
  },
328
312
  ],
329
- "placement=north,direction=west,connected=false": [
313
+ "placement=north,rotation=270,connected=false": [
330
314
  {
331
- id: "base",
332
315
  position: [0, 0, 0.5],
333
316
  geometryId: "dve_half_cube_south_half",
334
317
  inputs: {
@@ -341,7 +324,6 @@ export const stair = {
341
324
  },
342
325
  },
343
326
  {
344
- id: "up",
345
327
  geometryId: "dve_quater_cube_up_down",
346
328
  inputs: {
347
329
  upTex: "@texture",
@@ -353,9 +335,8 @@ export const stair = {
353
335
  },
354
336
  },
355
337
  ],
356
- "placement=south,direction=north,connected=false": [
338
+ "placement=south,rotation=0,connected=false": [
357
339
  {
358
- id: "base",
359
340
  geometryId: "dve_half_cube_south_half",
360
341
  inputs: {
361
342
  upTex: "@texture",
@@ -367,7 +348,6 @@ export const stair = {
367
348
  },
368
349
  },
369
350
  {
370
- id: "up",
371
351
  geometryId: "dve_quater_cube_west_east",
372
352
  position: [0, 0.5, 0.5],
373
353
  inputs: {
@@ -380,9 +360,8 @@ export const stair = {
380
360
  },
381
361
  },
382
362
  ],
383
- "placement=south,direction=south,connected=false": [
363
+ "placement=south,rotation=90,connected=false": [
384
364
  {
385
- id: "base",
386
365
  geometryId: "dve_half_cube_south_half",
387
366
  inputs: {
388
367
  upTex: "@texture",
@@ -394,7 +373,6 @@ export const stair = {
394
373
  },
395
374
  },
396
375
  {
397
- id: "up",
398
376
  geometryId: "dve_quater_cube_west_east",
399
377
  position: [0, 0, 0.5],
400
378
  inputs: {
@@ -407,9 +385,8 @@ export const stair = {
407
385
  },
408
386
  },
409
387
  ],
410
- "placement=south,direction=east,connected=false": [
388
+ "placement=south,rotation=180,connected=false": [
411
389
  {
412
- id: "base",
413
390
  geometryId: "dve_half_cube_south_half",
414
391
  inputs: {
415
392
  upTex: "@texture",
@@ -421,7 +398,6 @@ export const stair = {
421
398
  },
422
399
  },
423
400
  {
424
- id: "up",
425
401
  geometryId: "dve_quater_cube_up_down",
426
402
  position: [0.5, 0, 0.5],
427
403
  inputs: {
@@ -434,9 +410,8 @@ export const stair = {
434
410
  },
435
411
  },
436
412
  ],
437
- "placement=south,direction=west,connected=false": [
413
+ "placement=south,rotation=270,connected=false": [
438
414
  {
439
- id: "base",
440
415
  geometryId: "dve_half_cube_south_half",
441
416
  inputs: {
442
417
  upTex: "@texture",
@@ -448,7 +423,6 @@ export const stair = {
448
423
  },
449
424
  },
450
425
  {
451
- id: "up",
452
426
  geometryId: "dve_quater_cube_up_down",
453
427
  position: [0, 0, 0.5],
454
428
  inputs: {
@@ -461,9 +435,8 @@ export const stair = {
461
435
  },
462
436
  },
463
437
  ],
464
- "placement=east,direction=north,connected=false": [
438
+ "placement=east,rotation=0,connected=false": [
465
439
  {
466
- id: "base",
467
440
  geometryId: "dve_half_cube_west_half",
468
441
  position: [0.5, 0, 0],
469
442
  inputs: {
@@ -476,7 +449,6 @@ export const stair = {
476
449
  },
477
450
  },
478
451
  {
479
- id: "up",
480
452
  geometryId: "dve_quater_cube_south_north",
481
453
  position: [0, 0.5, 0],
482
454
  inputs: {
@@ -489,9 +461,8 @@ export const stair = {
489
461
  },
490
462
  },
491
463
  ],
492
- "placement=east,direction=south,connected=false": [
464
+ "placement=east,rotation=90,connected=false": [
493
465
  {
494
- id: "base",
495
466
  geometryId: "dve_half_cube_west_half",
496
467
  position: [0.5, 0, 0],
497
468
  inputs: {
@@ -504,7 +475,6 @@ export const stair = {
504
475
  },
505
476
  },
506
477
  {
507
- id: "up",
508
478
  geometryId: "dve_quater_cube_south_north",
509
479
  position: [0, 0, 0],
510
480
  inputs: {
@@ -517,9 +487,8 @@ export const stair = {
517
487
  },
518
488
  },
519
489
  ],
520
- "placement=east,direction=east,connected=false": [
490
+ "placement=east,rotation=180,connected=false": [
521
491
  {
522
- id: "base",
523
492
  geometryId: "dve_half_cube_west_half",
524
493
  position: [0.5, 0, 0],
525
494
  inputs: {
@@ -532,7 +501,6 @@ export const stair = {
532
501
  },
533
502
  },
534
503
  {
535
- id: "up",
536
504
  geometryId: "dve_quater_cube_up_down",
537
505
  position: [0, 0, 0.5],
538
506
  inputs: {
@@ -545,9 +513,8 @@ export const stair = {
545
513
  },
546
514
  },
547
515
  ],
548
- "placement=east,direction=west,connected=false": [
516
+ "placement=east,rotation=270,connected=false": [
549
517
  {
550
- id: "base",
551
518
  geometryId: "dve_half_cube_west_half",
552
519
  position: [0.5, 0, 0],
553
520
  inputs: {
@@ -560,7 +527,6 @@ export const stair = {
560
527
  },
561
528
  },
562
529
  {
563
- id: "up",
564
530
  geometryId: "dve_quater_cube_up_down",
565
531
  position: [0, 0, 0],
566
532
  inputs: {
@@ -573,9 +539,8 @@ export const stair = {
573
539
  },
574
540
  },
575
541
  ],
576
- "placement=west,direction=north,connected=false": [
542
+ "placement=west,rotation=0,connected=false": [
577
543
  {
578
- id: "base",
579
544
  geometryId: "dve_half_cube_west_half",
580
545
  inputs: {
581
546
  upTex: "@texture",
@@ -587,7 +552,6 @@ export const stair = {
587
552
  },
588
553
  },
589
554
  {
590
- id: "up",
591
555
  geometryId: "dve_quater_cube_south_north",
592
556
  position: [0.5, 0.5, 0],
593
557
  inputs: {
@@ -600,9 +564,8 @@ export const stair = {
600
564
  },
601
565
  },
602
566
  ],
603
- "placement=west,direction=south,connected=false": [
567
+ "placement=west,rotation=90,connected=false": [
604
568
  {
605
- id: "base",
606
569
  geometryId: "dve_half_cube_west_half",
607
570
  inputs: {
608
571
  upTex: "@texture",
@@ -614,7 +577,6 @@ export const stair = {
614
577
  },
615
578
  },
616
579
  {
617
- id: "up",
618
580
  geometryId: "dve_quater_cube_south_north",
619
581
  position: [0.5, 0, 0],
620
582
  inputs: {
@@ -627,9 +589,8 @@ export const stair = {
627
589
  },
628
590
  },
629
591
  ],
630
- "placement=west,direction=east,connected=false": [
592
+ "placement=west,rotation=180,connected=false": [
631
593
  {
632
- id: "base",
633
594
  geometryId: "dve_half_cube_west_half",
634
595
  inputs: {
635
596
  upTex: "@texture",
@@ -641,7 +602,6 @@ export const stair = {
641
602
  },
642
603
  },
643
604
  {
644
- id: "up",
645
605
  geometryId: "dve_quater_cube_up_down",
646
606
  position: [0.5, 0, 0.5],
647
607
  inputs: {
@@ -654,9 +614,8 @@ export const stair = {
654
614
  },
655
615
  },
656
616
  ],
657
- "placement=west,direction=west,connected=false": [
617
+ "placement=west,rotation=270,connected=false": [
658
618
  {
659
- id: "base",
660
619
  geometryId: "dve_half_cube_west_half",
661
620
  inputs: {
662
621
  upTex: "@texture",
@@ -668,7 +627,6 @@ export const stair = {
668
627
  },
669
628
  },
670
629
  {
671
- id: "up",
672
630
  geometryId: "dve_quater_cube_up_down",
673
631
  position: [0.5, 0, 0],
674
632
  inputs: {
@@ -682,9 +640,8 @@ export const stair = {
682
640
  },
683
641
  ],
684
642
  //connected
685
- "placement=up,direction=north,connected=true": [
643
+ "placement=up,rotation=0,connected=true": [
686
644
  {
687
- id: "base",
688
645
  geometryId: "dve_half_cube_down_half",
689
646
  position: [0, 0.5, 0],
690
647
  inputs: {
@@ -697,7 +654,6 @@ export const stair = {
697
654
  },
698
655
  },
699
656
  {
700
- id: "up",
701
657
  geometryId: "dve_eighth_cube",
702
658
  position: [0.5, 0, 0.5],
703
659
  inputs: {
@@ -710,9 +666,8 @@ export const stair = {
710
666
  },
711
667
  },
712
668
  ],
713
- "placement=up,direction=south,connected=true": [
669
+ "placement=up,rotation=90,connected=true": [
714
670
  {
715
- id: "base",
716
671
  geometryId: "dve_half_cube_down_half",
717
672
  position: [0, 0.5, 0],
718
673
  inputs: {
@@ -725,7 +680,6 @@ export const stair = {
725
680
  },
726
681
  },
727
682
  {
728
- id: "up",
729
683
  geometryId: "dve_eighth_cube",
730
684
  position: [0, 0, 0.5],
731
685
  inputs: {
@@ -738,9 +692,8 @@ export const stair = {
738
692
  },
739
693
  },
740
694
  ],
741
- "placement=up,direction=east,connected=true": [
695
+ "placement=up,rotation=180,connected=true": [
742
696
  {
743
- id: "base",
744
697
  geometryId: "dve_half_cube_down_half",
745
698
  position: [0, 0.5, 0],
746
699
  inputs: {
@@ -753,7 +706,6 @@ export const stair = {
753
706
  },
754
707
  },
755
708
  {
756
- id: "up",
757
709
  geometryId: "dve_eighth_cube",
758
710
  position: [0.5, 0, 0],
759
711
  inputs: {
@@ -766,9 +718,8 @@ export const stair = {
766
718
  },
767
719
  },
768
720
  ],
769
- "placement=up,direction=west,connected=true": [
721
+ "placement=up,rotation=270,connected=true": [
770
722
  {
771
- id: "base",
772
723
  geometryId: "dve_half_cube_down_half",
773
724
  position: [0, 0.5, 0],
774
725
  inputs: {
@@ -781,7 +732,6 @@ export const stair = {
781
732
  },
782
733
  },
783
734
  {
784
- id: "up",
785
735
  geometryId: "dve_eighth_cube",
786
736
  inputs: {
787
737
  upTex: "@texture",
@@ -793,9 +743,8 @@ export const stair = {
793
743
  },
794
744
  },
795
745
  ],
796
- "placement=down,direction=north,connected=true": [
746
+ "placement=down,rotation=0,connected=true": [
797
747
  {
798
- id: "base",
799
748
  geometryId: "dve_half_cube_down_half",
800
749
  inputs: {
801
750
  upTex: "@texture",
@@ -807,7 +756,6 @@ export const stair = {
807
756
  },
808
757
  },
809
758
  {
810
- id: "up",
811
759
  geometryId: "dve_eighth_cube",
812
760
  position: [0.5, 0.5, 0.5],
813
761
  inputs: {
@@ -820,9 +768,8 @@ export const stair = {
820
768
  },
821
769
  },
822
770
  ],
823
- "placement=down,direction=south,connected=true": [
771
+ "placement=down,rotation=90,connected=true": [
824
772
  {
825
- id: "base",
826
773
  geometryId: "dve_half_cube_down_half",
827
774
  inputs: {
828
775
  upTex: "@texture",
@@ -834,7 +781,6 @@ export const stair = {
834
781
  },
835
782
  },
836
783
  {
837
- id: "up",
838
784
  geometryId: "dve_eighth_cube",
839
785
  position: [0, 0.5, 0.5],
840
786
  inputs: {
@@ -847,9 +793,8 @@ export const stair = {
847
793
  },
848
794
  },
849
795
  ],
850
- "placement=down,direction=east,connected=true": [
796
+ "placement=down,rotation=180,connected=true": [
851
797
  {
852
- id: "base",
853
798
  geometryId: "dve_half_cube_down_half",
854
799
  inputs: {
855
800
  upTex: "@texture",
@@ -861,7 +806,6 @@ export const stair = {
861
806
  },
862
807
  },
863
808
  {
864
- id: "up",
865
809
  geometryId: "dve_eighth_cube",
866
810
  position: [0.5, 0.5, 0],
867
811
  inputs: {
@@ -874,9 +818,8 @@ export const stair = {
874
818
  },
875
819
  },
876
820
  ],
877
- "placement=down,direction=west,connected=true": [
821
+ "placement=down,rotation=270,connected=true": [
878
822
  {
879
- id: "base",
880
823
  geometryId: "dve_half_cube_down_half",
881
824
  inputs: {
882
825
  upTex: "@texture",
@@ -888,7 +831,6 @@ export const stair = {
888
831
  },
889
832
  },
890
833
  {
891
- id: "up",
892
834
  geometryId: "dve_eighth_cube",
893
835
  position: [0, 0.5, 0],
894
836
  inputs: {
@@ -901,9 +843,8 @@ export const stair = {
901
843
  },
902
844
  },
903
845
  ],
904
- "placement=north,direction=north,connected=true": [
846
+ "placement=north,rotation=0,connected=true": [
905
847
  {
906
- id: "base",
907
848
  position: [0, 0, 0.5],
908
849
  geometryId: "dve_half_cube_south_half",
909
850
  inputs: {
@@ -916,7 +857,6 @@ export const stair = {
916
857
  },
917
858
  },
918
859
  {
919
- id: "up",
920
860
  geometryId: "dve_eighth_cube",
921
861
  position: [0.5, 0.5, 0],
922
862
  inputs: {
@@ -929,9 +869,8 @@ export const stair = {
929
869
  },
930
870
  },
931
871
  ],
932
- "placement=north,direction=south,connected=true": [
872
+ "placement=north,rotation=90,connected=true": [
933
873
  {
934
- id: "base",
935
874
  position: [0, 0, 0.5],
936
875
  geometryId: "dve_half_cube_south_half",
937
876
  inputs: {
@@ -944,7 +883,6 @@ export const stair = {
944
883
  },
945
884
  },
946
885
  {
947
- id: "up",
948
886
  geometryId: "dve_eighth_cube",
949
887
  position: [0, 0.5, 0],
950
888
  inputs: {
@@ -957,9 +895,8 @@ export const stair = {
957
895
  },
958
896
  },
959
897
  ],
960
- "placement=north,direction=east,connected=true": [
898
+ "placement=north,rotation=180,connected=true": [
961
899
  {
962
- id: "base",
963
900
  position: [0, 0, 0.5],
964
901
  geometryId: "dve_half_cube_south_half",
965
902
  inputs: {
@@ -972,7 +909,6 @@ export const stair = {
972
909
  },
973
910
  },
974
911
  {
975
- id: "up",
976
912
  geometryId: "dve_eighth_cube",
977
913
  position: [0.5, 0, 0],
978
914
  inputs: {
@@ -985,9 +921,8 @@ export const stair = {
985
921
  },
986
922
  },
987
923
  ],
988
- "placement=north,direction=west,connected=true": [
924
+ "placement=north,rotation=270,connected=true": [
989
925
  {
990
- id: "base",
991
926
  position: [0, 0, 0.5],
992
927
  geometryId: "dve_half_cube_south_half",
993
928
  inputs: {
@@ -1000,7 +935,6 @@ export const stair = {
1000
935
  },
1001
936
  },
1002
937
  {
1003
- id: "up",
1004
938
  geometryId: "dve_eighth_cube",
1005
939
  inputs: {
1006
940
  upTex: "@texture",
@@ -1012,9 +946,8 @@ export const stair = {
1012
946
  },
1013
947
  },
1014
948
  ],
1015
- "placement=south,direction=north,connected=true": [
949
+ "placement=south,rotation=0,connected=true": [
1016
950
  {
1017
- id: "base",
1018
951
  geometryId: "dve_half_cube_south_half",
1019
952
  inputs: {
1020
953
  upTex: "@texture",
@@ -1026,7 +959,6 @@ export const stair = {
1026
959
  },
1027
960
  },
1028
961
  {
1029
- id: "up",
1030
962
  geometryId: "dve_eighth_cube",
1031
963
  position: [0.5, 0.5, 0.5],
1032
964
  inputs: {
@@ -1039,9 +971,8 @@ export const stair = {
1039
971
  },
1040
972
  },
1041
973
  ],
1042
- "placement=south,direction=south,connected=true": [
974
+ "placement=south,rotation=90,connected=true": [
1043
975
  {
1044
- id: "base",
1045
976
  geometryId: "dve_half_cube_south_half",
1046
977
  inputs: {
1047
978
  upTex: "@texture",
@@ -1053,7 +984,6 @@ export const stair = {
1053
984
  },
1054
985
  },
1055
986
  {
1056
- id: "up",
1057
987
  geometryId: "dve_eighth_cube",
1058
988
  position: [0, 0.5, 0.5],
1059
989
  inputs: {
@@ -1066,9 +996,8 @@ export const stair = {
1066
996
  },
1067
997
  },
1068
998
  ],
1069
- "placement=south,direction=east,connected=true": [
999
+ "placement=south,rotation=180,connected=true": [
1070
1000
  {
1071
- id: "base",
1072
1001
  geometryId: "dve_half_cube_south_half",
1073
1002
  inputs: {
1074
1003
  upTex: "@texture",
@@ -1080,7 +1009,6 @@ export const stair = {
1080
1009
  },
1081
1010
  },
1082
1011
  {
1083
- id: "up",
1084
1012
  geometryId: "dve_eighth_cube",
1085
1013
  position: [0.5, 0, 0.5],
1086
1014
  inputs: {
@@ -1093,9 +1021,8 @@ export const stair = {
1093
1021
  },
1094
1022
  },
1095
1023
  ],
1096
- "placement=south,direction=west,connected=true": [
1024
+ "placement=south,rotation=270,connected=true": [
1097
1025
  {
1098
- id: "base",
1099
1026
  geometryId: "dve_half_cube_south_half",
1100
1027
  inputs: {
1101
1028
  upTex: "@texture",
@@ -1107,7 +1034,6 @@ export const stair = {
1107
1034
  },
1108
1035
  },
1109
1036
  {
1110
- id: "up",
1111
1037
  geometryId: "dve_eighth_cube",
1112
1038
  position: [0, 0, 0.5],
1113
1039
  inputs: {
@@ -1120,9 +1046,8 @@ export const stair = {
1120
1046
  },
1121
1047
  },
1122
1048
  ],
1123
- "placement=east,direction=north,connected=true": [
1049
+ "placement=east,rotation=0,connected=true": [
1124
1050
  {
1125
- id: "base",
1126
1051
  geometryId: "dve_half_cube_west_half",
1127
1052
  position: [0.5, 0, 0],
1128
1053
  inputs: {
@@ -1135,7 +1060,6 @@ export const stair = {
1135
1060
  },
1136
1061
  },
1137
1062
  {
1138
- id: "up",
1139
1063
  geometryId: "dve_eighth_cube",
1140
1064
  position: [0, 0.5, 0.5],
1141
1065
  inputs: {
@@ -1148,9 +1072,8 @@ export const stair = {
1148
1072
  },
1149
1073
  },
1150
1074
  ],
1151
- "placement=east,direction=south,connected=true": [
1075
+ "placement=east,rotation=90,connected=true": [
1152
1076
  {
1153
- id: "base",
1154
1077
  geometryId: "dve_half_cube_west_half",
1155
1078
  position: [0.5, 0, 0],
1156
1079
  inputs: {
@@ -1163,7 +1086,6 @@ export const stair = {
1163
1086
  },
1164
1087
  },
1165
1088
  {
1166
- id: "up",
1167
1089
  geometryId: "dve_eighth_cube",
1168
1090
  position: [0, 0.5, 0],
1169
1091
  inputs: {
@@ -1176,9 +1098,8 @@ export const stair = {
1176
1098
  },
1177
1099
  },
1178
1100
  ],
1179
- "placement=east,direction=east,connected=true": [
1101
+ "placement=east,rotation=180,connected=true": [
1180
1102
  {
1181
- id: "base",
1182
1103
  geometryId: "dve_half_cube_west_half",
1183
1104
  position: [0.5, 0, 0],
1184
1105
  inputs: {
@@ -1191,7 +1112,6 @@ export const stair = {
1191
1112
  },
1192
1113
  },
1193
1114
  {
1194
- id: "up",
1195
1115
  geometryId: "dve_eighth_cube",
1196
1116
  position: [0, 0, 0.5],
1197
1117
  inputs: {
@@ -1204,9 +1124,8 @@ export const stair = {
1204
1124
  },
1205
1125
  },
1206
1126
  ],
1207
- "placement=east,direction=west,connected=true": [
1127
+ "placement=east,rotation=270,connected=true": [
1208
1128
  {
1209
- id: "base",
1210
1129
  geometryId: "dve_half_cube_west_half",
1211
1130
  position: [0.5, 0, 0],
1212
1131
  inputs: {
@@ -1219,7 +1138,6 @@ export const stair = {
1219
1138
  },
1220
1139
  },
1221
1140
  {
1222
- id: "up",
1223
1141
  geometryId: "dve_eighth_cube",
1224
1142
  inputs: {
1225
1143
  upTex: "@texture",
@@ -1231,9 +1149,8 @@ export const stair = {
1231
1149
  },
1232
1150
  },
1233
1151
  ],
1234
- "placement=west,direction=north,connected=true": [
1152
+ "placement=west,rotation=0,connected=true": [
1235
1153
  {
1236
- id: "base",
1237
1154
  geometryId: "dve_half_cube_west_half",
1238
1155
  inputs: {
1239
1156
  upTex: "@texture",
@@ -1245,7 +1162,6 @@ export const stair = {
1245
1162
  },
1246
1163
  },
1247
1164
  {
1248
- id: "up",
1249
1165
  geometryId: "dve_eighth_cube",
1250
1166
  position: [0.5, 0.5, 0.5],
1251
1167
  inputs: {
@@ -1258,9 +1174,8 @@ export const stair = {
1258
1174
  },
1259
1175
  },
1260
1176
  ],
1261
- "placement=west,direction=south,connected=true": [
1177
+ "placement=west,rotation=90,connected=true": [
1262
1178
  {
1263
- id: "base",
1264
1179
  geometryId: "dve_half_cube_west_half",
1265
1180
  inputs: {
1266
1181
  upTex: "@texture",
@@ -1272,7 +1187,6 @@ export const stair = {
1272
1187
  },
1273
1188
  },
1274
1189
  {
1275
- id: "up",
1276
1190
  geometryId: "dve_eighth_cube",
1277
1191
  position: [0.5, 0.5, 0],
1278
1192
  inputs: {
@@ -1285,9 +1199,8 @@ export const stair = {
1285
1199
  },
1286
1200
  },
1287
1201
  ],
1288
- "placement=west,direction=east,connected=true": [
1202
+ "placement=west,rotation=180,connected=true": [
1289
1203
  {
1290
- id: "base",
1291
1204
  geometryId: "dve_half_cube_west_half",
1292
1205
  inputs: {
1293
1206
  upTex: "@texture",
@@ -1299,7 +1212,6 @@ export const stair = {
1299
1212
  },
1300
1213
  },
1301
1214
  {
1302
- id: "up",
1303
1215
  geometryId: "dve_eighth_cube",
1304
1216
  position: [0.5, 0, 0.5],
1305
1217
  inputs: {
@@ -1312,9 +1224,8 @@ export const stair = {
1312
1224
  },
1313
1225
  },
1314
1226
  ],
1315
- "placement=west,direction=west,connected=true": [
1227
+ "placement=west,rotation=270,connected=true": [
1316
1228
  {
1317
- id: "base",
1318
1229
  geometryId: "dve_half_cube_west_half",
1319
1230
  inputs: {
1320
1231
  upTex: "@texture",
@@ -1326,7 +1237,6 @@ export const stair = {
1326
1237
  },
1327
1238
  },
1328
1239
  {
1329
- id: "up",
1330
1240
  geometryId: "dve_eighth_cube",
1331
1241
  position: [0.5, 0, 0],
1332
1242
  inputs: {