Skip to content

Documentation / scene / OctreePlacement

Enumeration: OctreePlacement

Defined in: libs/scene/src/scene/octree.ts:17

Child placement within an octree node.

Remarks

Encodes the child octant by the sign of ((x, y, z)):

  • P for positive, N for negative.
  • Example: PPN means (+x, +y, -z).

Enumeration Members

PPP

PPP: 0

Defined in: libs/scene/src/scene/octree.ts:18


PPN

PPN: 1

Defined in: libs/scene/src/scene/octree.ts:19


PNP

PNP: 2

Defined in: libs/scene/src/scene/octree.ts:20


PNN

PNN: 3

Defined in: libs/scene/src/scene/octree.ts:21


NPP

NPP: 4

Defined in: libs/scene/src/scene/octree.ts:22


NPN

NPN: 5

Defined in: libs/scene/src/scene/octree.ts:23


NNP

NNP: 6

Defined in: libs/scene/src/scene/octree.ts:24


NNN

NNN: 7

Defined in: libs/scene/src/scene/octree.ts:25

Released under the MIT License.