Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
math/mat3
Mat3
Class Mat3
https://github.com/mrdoob/three.js/blob/dev/src/math/Matrix3.js
Hierarchy
SimpleMat3
Mat3
Index
Constructors
constructor
Properties
data
Methods
equals
equals
Array
get
set
create
from
Rotation
from
Scale
from
Translation
get
Transformation
Matrix
get
Translated
Vector
mul
rotate
scale
set
Identity
translate
Constructors
constructor
new
Mat3
(
data
:
number
[]
)
:
Mat3
Parameters
data:
number
[]
Returns
Mat3
Properties
Readonly
data
data
:
number
[]
Methods
equals
equals
(
mat
:
Mat3
)
:
boolean
Parameters
mat:
Mat3
Returns
boolean
equals
Array
equals
Array
(
data
:
number
[]
)
:
boolean
Parameters
data:
number
[]
Returns
boolean
get
get
(
x
:
number
, y
:
number
)
:
number
Parameters
x:
number
y:
number
Returns
number
set
set
(
x
:
number
, y
:
number
, value
:
number
)
:
void
Parameters
x:
number
y:
number
value:
number
Returns
void
Static
create
create
(
)
:
SimpleMat3
Returns
SimpleMat3
Static
from
Rotation
from
Rotation<T>
(
angle
:
number
, out
?:
SimpleMat3
)
:
T
Type parameters
T
:
SimpleMat3
<
T
>
=
SimpleMat3
Parameters
angle:
number
out:
SimpleMat3
= ...
Returns
T
Static
from
Scale
from
Scale<T>
(
x
:
number
, y
:
number
, out
?:
SimpleMat3
)
:
T
Type parameters
T
:
SimpleMat3
<
T
>
=
SimpleMat3
Parameters
x:
number
y:
number
out:
SimpleMat3
= ...
Returns
T
Static
from
Translation
from
Translation<T>
(
x
:
number
, y
:
number
, out
?:
SimpleMat3
)
:
T
Type parameters
T
:
SimpleMat3
<
T
>
=
SimpleMat3
Parameters
x:
number
y:
number
out:
SimpleMat3
= ...
Returns
T
Static
get
Transformation
Matrix
get
Transformation
Matrix<T>
(
transitionX
:
number
, transitionY
:
number
, rotation
:
number
, scaleX
:
number
, scaleY
:
number
, out
?:
SimpleMat3
)
:
T
Type parameters
T
:
SimpleMat3
<
T
>
=
SimpleMat3
Parameters
transitionX:
number
transitionY:
number
rotation:
number
scaleX:
number
scaleY:
number
out:
SimpleMat3
= ...
Returns
T
Static
get
Translated
Vector
get
Translated
Vector
(
a
:
SimpleVector2
, m
:
SimpleMat3
)
:
SimpleVector2
get
Translated
Vector<T>
(
a
:
SimpleVector2
, m
:
SimpleMat3
, out
:
T
)
:
T
Parameters
a:
SimpleVector2
m:
SimpleMat3
Returns
SimpleVector2
Type parameters
T
:
SimpleVector2
Parameters
a:
SimpleVector2
m:
SimpleMat3
out:
T
Returns
T
Static
mul
mul
(
a
:
SimpleMat3
, b
:
SimpleMat3
)
:
SimpleMat3
mul<T>
(
a
:
SimpleMat3
, b
:
SimpleMat3
, out
:
T
)
:
T
Parameters
a:
SimpleMat3
b:
SimpleMat3
Returns
SimpleMat3
Type parameters
T
:
SimpleMat3
<
T
>
Parameters
a:
SimpleMat3
b:
SimpleMat3
out:
T
Returns
T
Static
rotate
rotate<T>
(
a
:
SimpleMat3
, rad
:
number
, out
?:
SimpleMat3
)
:
T
Type parameters
T
:
SimpleMat3
<
T
>
=
SimpleMat3
Parameters
a:
SimpleMat3
rad:
number
out:
SimpleMat3
= ...
Returns
T
Static
scale
scale<T>
(
a
:
SimpleMat3
, x
:
number
, y
:
number
, out
?:
SimpleMat3
)
:
T
Type parameters
T
:
SimpleMat3
<
T
>
=
SimpleMat3
Parameters
a:
SimpleMat3
x:
number
y:
number
out:
SimpleMat3
= ...
Returns
T
Static
set
Identity
set
Identity
(
data
:
number
[]
)
:
number
[]
Parameters
data:
number
[]
Returns
number
[]
Static
translate
translate<T>
(
a
:
SimpleMat3
, x
:
number
, y
:
number
, out
?:
SimpleMat3
)
:
T
Type parameters
T
:
SimpleMat3
<
T
>
=
SimpleMat3
Parameters
a:
SimpleMat3
x:
number
y:
number
out:
SimpleMat3
= ...
Returns
T
Modules
math/mat3
Mat3
constructor
data
equals
equals
Array
get
set
create
from
Rotation
from
Scale
from
Translation
get
Transformation
Matrix
get
Translated
Vector
mul
rotate
scale
set
Identity
translate
Generated using
TypeDoc
https://github.com/mrdoob/three.js/blob/dev/src/math/Matrix3.js