• Preparing search index...
  • The search index is not available
wgpu-matrix
  • wgpu-matrix
  • mat4n
  • copy

Function copy

  • copy<T>(m, dst?): T
  • Copies a matrix. (same as mat4.clone) Also see mat4.create and mat4.set

    Type Parameters

    • T extends BaseArgType = number[]

    Parameters

    • m: BaseArgType

      The matrix.

    • Optionaldst: T

      The matrix. If not passed a new one is created.

    Returns T

    A copy of m.

Settings

Member Visibility
wgpu-matrix
  • Loading...

Generated using TypeDoc