Options
All
  • Public
  • Public/Protected
  • All
Menu

Module geometry-utils/create-sphere

Index

Interfaces

Functions

Functions

createSphere

  • createSphere(params?: Sphere): { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
  • Generates geometry data for a sphere

    Parameters

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

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

Generated using TypeDoc