Namespace: Matrix

collie. Matrix

행렬

Methods

staticcollie.Matrix.multiple(a1, a2)

행렬 곱셈

Name Type Description
a1 Array
a2 Array

staticcollie.Matrix.rotate(nAngle){Array}

회전 계산 행렬 반환

Name Type Description
nAngle Number

staticcollie.Matrix.scale(nX, nY){Array}

scale 계산 행렬 반환

Name Type Description
nX Number
nY Number

staticcollie.Matrix.transform(a, nX, nY){Object}

대상 point를 변형

Name Type Description
a Array

적용할 계산 행렬

nX Number

대상 x좌표

nY Number

대상 y좌표

Returns:
Name Type Description
htResult Object
Name Type Description
x Number 변경된 x좌표
y Number 변경된 y좌표

staticcollie.Matrix.translate(nX, nY){Array}

translate와 관련된 계산 행렬을 반환

Name Type Description
nX Number
nY Number
comments powered by Disqus