refactor: move world concepts into engine
This commit is contained in:
parent
eeedcb8e48
commit
2d15c7ab8d
52 changed files with 3298 additions and 1558 deletions
|
|
@ -1,9 +1,8 @@
|
|||
import { Vec3 } from "../../../engine/math/Vec3"
|
||||
import { STRIDE, type Mesh } from "../../../engine/scene/Mesh"
|
||||
|
||||
// Shared faceted-geometry primitives + the per-tree RNG, used by the species
|
||||
// modules (Oak/Spruce/Birch). Kept separate so a species and the `Tree` registry
|
||||
// don't form an import cycle.
|
||||
// Shared faceted-geometry primitives + the per-tree RNG used by concrete tree
|
||||
// prefab modules.
|
||||
|
||||
export const TAU = Math.PI * 2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue