2019-11-01 08:01:30 -04:00

369 B

Cube

Create a cube geometry.

The generated geometry will have indices and POSITION, NORMAL and TEXCOORD_0 attributes.

Usage

import {Cube} from '@luma.gl/core';
const cube = new Cube();

Inheritance

CubeGeometry extends Geometry

Methods

constructor(props : Object)

Creates a new Cube.