Vector4
Vector4 class
Constructor Summary
Public Constructor | ||
public |
constructor(x: float, y: float, z: float, w: float) constructor |
Method Summary
Public Methods | ||
public |
clone(): * |
|
public |
createAxis(axis: *, rotAngle: *) |
|
public |
cross(src1: *, src2: *) |
|
public |
eulerToQuaternion(eulerAngle: *) |
|
public |
exp(src: *) |
|
public |
getWebGLFloatArray(): * |
|
public |
lerp(src1: *, src2: *, rate: *) |
|
public |
ln(src: *) |
|
public |
normalize(src: *) |
|
public |
quaternionFromMatrix(mat: *) |
|
public |
|
|
public |
slerp(src1: *, src2: *, rate: *) |
|
public |
transform(vec: *, matrix: *) |
Public Constructors
public constructor(x: float, y: float, z: float, w: float) source
constructor
Params:
Name | Type | Attribute | Description |
x | float | ||
y | float | ||
z | float | ||
w | float |
Public Methods
public createAxis(axis: *, rotAngle: *) source
Params:
Name | Type | Attribute | Description |
axis | * | ||
rotAngle | * |
public cross(src1: *, src2: *) source
Params:
Name | Type | Attribute | Description |
src1 | * | ||
src2 | * |
public eulerToQuaternion(eulerAngle: *) source
Params:
Name | Type | Attribute | Description |
eulerAngle | * |
public exp(src: *) source
Params:
Name | Type | Attribute | Description |
src | * |
public lerp(src1: *, src2: *, rate: *) source
Params:
Name | Type | Attribute | Description |
src1 | * | ||
src2 | * | ||
rate | * |
public ln(src: *) source
Params:
Name | Type | Attribute | Description |
src | * |
public normalize(src: *) source
Params:
Name | Type | Attribute | Description |
src | * |
|
public quaternionFromMatrix(mat: *) source
Params:
Name | Type | Attribute | Description |
mat | * |
public slerp(src1: *, src2: *, rate: *) source
Params:
Name | Type | Attribute | Description |
src1 | * | ||
src2 | * | ||
rate | * |
public transform(vec: *, matrix: *) source
Params:
Name | Type | Attribute | Description |
vec | * | ||
matrix | * |