rc-js-util
Advanced tools
Comparing version 5.0.0-alpha.13 to 5.0.0-alpha.14
@@ -81,2 +81,8 @@ "use strict"; | ||
} | ||
getVec3MultiplyX(x) { | ||
return this[0] * x + this[3] * x + this[6]; | ||
} | ||
getVec3MultiplyY(y) { | ||
return this[1] * y + this[4] * y + this[7]; | ||
} | ||
getLoggableValue() { | ||
@@ -83,0 +89,0 @@ return [ |
@@ -93,2 +93,4 @@ import { ATypedArrayTuple } from "../a-typed-array-tuple"; | ||
multiplyMat3(_mat: Readonly<Mat3<TArray>>, _result?: Mat3<TArray>): Mat3<TArray>; | ||
getVec3MultiplyX(_x: number): number; | ||
getVec3MultiplyY(_y: number): number; | ||
getLoggableValue(): number[][]; | ||
@@ -95,0 +97,0 @@ protected TTypeGuardMat3: true; |
@@ -36,2 +36,8 @@ "use strict"; | ||
} | ||
getVec3MultiplyX(_x) { | ||
throw new Error(); | ||
} | ||
getVec3MultiplyY(_y) { | ||
throw new Error(); | ||
} | ||
getLoggableValue() { | ||
@@ -38,0 +44,0 @@ throw new Error(); |
@@ -37,8 +37,2 @@ "use strict"; | ||
} | ||
getMat3MultiplyX(mat) { | ||
return mat[0] * this[0] + mat[3] * this[0] + mat[6]; | ||
} | ||
getMat3MultiplyY(mat) { | ||
return mat[1] * this[1] + mat[4] * this[1] + mat[7]; | ||
} | ||
getLoggableValue() { | ||
@@ -45,0 +39,0 @@ return [ |
import { ATypedArrayTuple } from "../a-typed-array-tuple"; | ||
import { TTypedArray } from "../t-typed-array"; | ||
import { Mat3 } from "../mat3/mat3"; | ||
import { ITypedArrayTupleFactory } from "../i-typed-array-tuple-factory"; | ||
@@ -58,4 +57,2 @@ /** | ||
setZ(_z: number): void; | ||
getMat3MultiplyX(_mat: Readonly<Mat3<TTypedArray>>): number; | ||
getMat3MultiplyY(_mat: Readonly<Mat3<TTypedArray>>): number; | ||
getLoggableValue(): number[][]; | ||
@@ -62,0 +59,0 @@ TTypeGuardVec3: true; |
@@ -36,8 +36,2 @@ "use strict"; | ||
} | ||
getMat3MultiplyX(_mat) { | ||
throw new Error(); | ||
} | ||
getMat3MultiplyY(_mat) { | ||
throw new Error(); | ||
} | ||
getLoggableValue() { | ||
@@ -44,0 +38,0 @@ throw new Error(); |
{ | ||
"name": "rc-js-util", | ||
"version": "5.0.0-alpha.13", | ||
"version": "5.0.0-alpha.14", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
501631
6965