mirror of
https://github.com/visgl/luma.gl.git
synced 2025-12-08 17:36:19 +00:00
369 B
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.