Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "scale-center"

Index

Functions

Const scaleWithCenter23

  • scaleWithCenter23(m: Mat, p: ReadonlyVec, s: number | ReadonlyVec): ReadonlyVec
  • Computes a M23 representing a scale operation with origin p and writes result to out.

    Parameters

    • m: Mat
    • p: ReadonlyVec
    • s: number | ReadonlyVec

    Returns ReadonlyVec

Const scaleWithCenter44

  • scaleWithCenter44(m: Mat, p: ReadonlyVec, s: number | ReadonlyVec): ReadonlyVec
  • Computes a M44 representing a scale operation with origin p and writes result to out.

    Parameters

    • m: Mat
    • p: ReadonlyVec
    • s: number | ReadonlyVec

    Returns ReadonlyVec

Generated using TypeDoc