Options
All
  • Public
  • Public/Protected
  • All
Menu

Module geometry-utils/create-plane

Index

Functions

Functions

createPlane

  • createPlane(params?: Plane): { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
  • Generates geometry data for a quad

    Parameters

    • params: Plane = ...

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

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

Generated using TypeDoc