@certe/atmos-terrain 0.1.0 → 0.3.0

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 (2) hide show
  1. package/package.json +21 -12
  2. package/src/index.ts +0 -42
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@certe/atmos-terrain",
3
3
  "description": "Voxel terrain with marching cubes and LOD streaming for the Atmos Engine",
4
- "version": "0.1.0",
4
+ "version": "0.3.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/certesolutions-cyber/atmos.git",
@@ -9,19 +9,28 @@
9
9
  },
10
10
  "homepage": "https://github.com/certesolutions-cyber/atmos",
11
11
  "license": "GPL-3.0-or-later",
12
- "keywords": ["terrain", "voxel", "marching-cubes", "game-engine", "lod", "atmos"],
12
+ "keywords": [
13
+ "terrain",
14
+ "voxel",
15
+ "marching-cubes",
16
+ "game-engine",
17
+ "lod",
18
+ "atmos"
19
+ ],
13
20
  "type": "module",
14
- "main": "src/index.ts",
15
- "types": "src/index.ts",
16
- "publishConfig": {
17
- "main": "dist/index.js",
18
- "types": "dist/index.d.ts"
19
- },
20
- "files": ["dist", "!dist/__tests__", "package.json", "README.md", "LICENCE"],
21
+ "main": "dist/index.js",
22
+ "types": "dist/index.d.ts",
23
+ "files": [
24
+ "dist",
25
+ "!dist/__tests__",
26
+ "package.json",
27
+ "README.md",
28
+ "LICENCE"
29
+ ],
21
30
  "dependencies": {
22
- "@certe/atmos-core": "^0.1.0",
23
- "@certe/atmos-math": "^0.1.0",
24
- "@certe/atmos-renderer": "^0.1.0"
31
+ "@certe/atmos-core": "^0.3.0",
32
+ "@certe/atmos-math": "^0.3.0",
33
+ "@certe/atmos-renderer": "^0.3.0"
25
34
  },
26
35
  "scripts": {
27
36
  "test": "vitest run"
package/src/index.ts DELETED
@@ -1,42 +0,0 @@
1
- // Types
2
- export type { DensityFn, DensityWithWeightsFn, DensitySample, SplatWeightFn, SplatTextures } from './types.js';
3
- export type { ChunkCoord, TerrainConfig, MeshData, TerrainEdit, LODConfig } from './types.js';
4
- export { BrushShape, ChunkState, DEFAULT_TERRAIN_CONFIG, DEFAULT_LOD_CONFIG } from './types.js';
5
-
6
- // Chunk key utilities
7
- export { chunkKey, fromChunkKey, worldToChunk } from './chunk-key.js';
8
-
9
- // Marching cubes
10
- export { extractSurface, computeTriplanarUVs } from './marching-cubes.js';
11
-
12
- // Normals
13
- export { computeGradientNormals, computeTriangleNormals } from './terrain-normals.js';
14
-
15
- // Density primitives & CSG
16
- export {
17
- adaptDensityFn,
18
- sphereDensity,
19
- planeDensity,
20
- boxDensity,
21
- unionDensity,
22
- intersectDensity,
23
- subtractDensity,
24
- noiseTerrain,
25
- } from './density-field.js';
26
-
27
- // Chunk
28
- export { TerrainChunk } from './chunk.js';
29
-
30
- // Editor (brush system)
31
- export { applyEdit } from './terrain-editor.js';
32
-
33
- // LOD
34
- export { extractSurfaceLOD } from './lod-extract.js';
35
- export { buildLODMesh, buildLODSplatMesh } from './lod-chunk.js';
36
-
37
- // Components
38
- export { TerrainVolume } from './terrain-volume.js';
39
- export { TerrainWorld } from './terrain-world.js';
40
-
41
- // Registration
42
- export { registerTerrainBuiltins } from './register-builtins.js';