@simversus/yjvis • Docs
@simversus/yjvis / Quat
Class: Quat
Constructors
new Quat()
new Quat(
x
,y
,z
,w
):Quat
Parameters
• x: number
= 0
• y: number
= 0
• z: number
= 0
• w: number
= 1
Returns
Defined in
math/quat.ts:13
Properties
elements
elements: [
number
,number
,number
,number
]
Defined in
math/quat.ts:9
Accessors
w
get
w():number
set
w(v
):void
Parameters
• v: number
Returns
number
Defined in
math/quat.ts:31
x
get
x():number
set
x(v
):void
Parameters
• v: number
Returns
number
Defined in
math/quat.ts:19
y
get
y():number
set
y(v
):void
Parameters
• v: number
Returns
number
Defined in
math/quat.ts:23
z
get
z():number
set
z(v
):void
Parameters
• v: number
Returns
number
Defined in
math/quat.ts:27
Methods
clone()
clone():
Quat
Returns
Defined in
math/quat.ts:94
copy()
copy(
q
):Quat
Parameters
• q: Quat
Returns
Defined in
math/quat.ts:88
fromAxisAngle()
fromAxisAngle(
axis
,radian
):Quat
Parameters
• axis: Vec3
• radian: number
Returns
Defined in
math/quat.ts:151
fromEuler()
fromEuler(
euler
):Quat
Parameters
• euler: Euler
Returns
Defined in
math/quat.ts:141
fromMatrix4()
fromMatrix4(
m
):Quat
Parameters
• m: Mat4
Returns
Defined in
math/quat.ts:136
identity()
identity():
Quat
Returns
Defined in
math/quat.ts:51
invert()
invert(
q
):Quat
Parameters
• q: Quat
= ...
Returns
Defined in
math/quat.ts:76
multiply()
multiply(
qA
,qB
?):Quat
Parameters
• qA: Quat
• qB?: Quat
Returns
Defined in
math/quat.ts:106
normalize()
normalize(
q
):Quat
Parameters
• q: Quat
= ...
Returns
Defined in
math/quat.ts:100
premultiply()
premultiply(
qA
,qB
?):Quat
Parameters
• qA: Quat
• qB?: Quat
Returns
Defined in
math/quat.ts:116
rotateX()
rotateX(
radian
):Quat
Parameters
• radian: number
Returns
Defined in
math/quat.ts:61
rotateY()
rotateY(
radian
):Quat
Parameters
• radian: number
Returns
Defined in
math/quat.ts:66
rotateZ()
rotateZ(
radian
):Quat
Parameters
• radian: number
Returns
Defined in
math/quat.ts:71
set()
set(
x
,y
,z
,w
):Quat
Parameters
• x: number
• y: number
• z: number
• w: number
Returns
Defined in
math/quat.ts:56