Home Reference Source
import {IntermediateWorldOctant} from 'rabbit-hole'
public class | source

IntermediateWorldOctant

Extends:

WorldOctant → IntermediateWorldOctant

A world octant that doesn't reside in LOD zero.

This octant is a container for resampled volume data. Additionally, it stores information about the existence of its potential children.

Constructor Summary

Public Constructor
public

Constructs a new intermediate world octant.

Member Summary

Public Members
public

An 8-bit mask that indicates the existence of the eight potential children.

Inherited Summary

From class WorldOctant
public

A CSG operation queue.

public

Hermite data.

public

A generated isosurface mesh.

Public Constructors

public constructor() source

Constructs a new intermediate world octant.

Override:

WorldOctant#constructor

Public Members

public children: Number source

An 8-bit mask that indicates the existence of the eight potential children.

The order of the children follows the common octant layout from the external sparse-octree module:

   3____7
 2/___6/|
 | 1__|_5
 0/___4/