Options
All
  • Public
  • Public/Protected
  • All
Menu

Module geometry-utils/create-box

Index

Interfaces

Functions

Functions

createBox

  • createBox(params?: Box): { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
  • Generates geometry data for a box

    Parameters

    • params: Box = ...

    Returns { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }

    • indices: Uint16Array | Uint32Array
    • normal: Float32Array
    • uv: Float32Array
    • vertices: Float32Array

Generated using TypeDoc