rc-js-util
Advanced tools
Comparing version 5.0.0-alpha.30 to 5.0.0-alpha.31
import { Range2d } from "../range2d/range2d"; | ||
import { TTypedArray } from "../../t-typed-array"; | ||
import { ITypedArrayTupleFactory } from "../../i-typed-array-tuple-factory"; | ||
import { TTypedArrayCtor } from "../../t-typed-array-ctor"; | ||
/** | ||
@@ -38,2 +39,4 @@ * @public | ||
static i8: Margin2dCtor<Int8Array>; | ||
static getCtor<TCtor extends TTypedArrayCtor>(ctor: TTypedArrayCtor): Margin2dCtor<InstanceType<TCtor>>; | ||
protected static constructors: Map<TTypedArrayCtor, Function>; | ||
/** | ||
@@ -40,0 +43,0 @@ * left |
@@ -6,2 +6,3 @@ "use strict"; | ||
const get_margin2d_ctor_1 = require("./get-margin2d-ctor"); | ||
const populate_typed_array_constructor_map_1 = require("../../populate-typed-array-constructor-map"); | ||
/** | ||
@@ -15,2 +16,5 @@ * @public | ||
class Margin2d extends range2d_1.Range2d { | ||
static getCtor(ctor) { | ||
return Margin2d.constructors.get(ctor); | ||
} | ||
getLeft() { | ||
@@ -48,2 +52,3 @@ throw new Error(); | ||
Margin2d.i8 = get_margin2d_ctor_1.getMargin2dCtor(Int8Array); | ||
Margin2d.constructors = populate_typed_array_constructor_map_1.populateTypedArrayConstructorMap(Margin2d); | ||
//# sourceMappingURL=margin2d.js.map |
@@ -6,2 +6,3 @@ import { Mat2 } from "../../mat2/mat2"; | ||
import { Mat3 } from "../../mat3/mat3"; | ||
import { TTypedArrayCtor } from "../../t-typed-array-ctor"; | ||
/** | ||
@@ -41,2 +42,4 @@ * @public | ||
static i8: Range2dCtor<Int8Array>; | ||
static getCtor<TCtor extends TTypedArrayCtor>(ctor: TTypedArrayCtor): Range2dCtor<InstanceType<TCtor>>; | ||
protected static constructors: Map<TTypedArrayCtor, Function>; | ||
/** | ||
@@ -43,0 +46,0 @@ * xMin |
@@ -6,2 +6,3 @@ "use strict"; | ||
const get_range2d_ctor_1 = require("./get-range2d-ctor"); | ||
const populate_typed_array_constructor_map_1 = require("../../populate-typed-array-constructor-map"); | ||
/** | ||
@@ -15,2 +16,5 @@ * @public | ||
class Range2d extends mat2_1.Mat2 { | ||
static getCtor(ctor) { | ||
return Range2d.constructors.get(ctor); | ||
} | ||
setXMin(_value) { | ||
@@ -124,2 +128,3 @@ throw new Error(); | ||
Range2d.i8 = get_range2d_ctor_1.getRange2dCtor(Int8Array); | ||
Range2d.constructors = populate_typed_array_constructor_map_1.populateTypedArrayConstructorMap(Range2d); | ||
//# sourceMappingURL=range2d.js.map |
import { ATypedArrayTuple } from "../a-typed-array-tuple"; | ||
import { TTypedArray } from "../t-typed-array"; | ||
import { ITypedArrayTupleFactory } from "../i-typed-array-tuple-factory"; | ||
import { TTypedArrayCtor } from "../t-typed-array-ctor"; | ||
/** | ||
@@ -38,2 +39,4 @@ * @public | ||
static i8: Mat2Ctor<Int8Array>; | ||
static getCtor<TCtor extends TTypedArrayCtor>(ctor: TTypedArrayCtor): Mat2Ctor<InstanceType<TCtor>>; | ||
protected static constructors: Map<TTypedArrayCtor, Function>; | ||
/** | ||
@@ -40,0 +43,0 @@ * c1r1 |
@@ -6,2 +6,3 @@ "use strict"; | ||
const get_mat2_ctor_1 = require("./get-mat2-ctor"); | ||
const populate_typed_array_constructor_map_1 = require("../populate-typed-array-constructor-map"); | ||
/** | ||
@@ -15,2 +16,5 @@ * @public | ||
class Mat2 extends a_typed_array_tuple_1.ATypedArrayTuple { | ||
static getCtor(ctor) { | ||
return Mat2.constructors.get(ctor); | ||
} | ||
setIdentityMatrix() { | ||
@@ -36,2 +40,3 @@ throw new Error(); | ||
Mat2.i8 = get_mat2_ctor_1.getMat2Ctor(Int8Array); | ||
Mat2.constructors = populate_typed_array_constructor_map_1.populateTypedArrayConstructorMap(Mat2); | ||
//# sourceMappingURL=mat2.js.map |
import { ATypedArrayTuple } from "../a-typed-array-tuple"; | ||
import { TTypedArray } from "../t-typed-array"; | ||
import { ITypedArrayTupleFactory } from "../i-typed-array-tuple-factory"; | ||
import { TTypedArrayCtor } from "../t-typed-array-ctor"; | ||
/** | ||
@@ -48,2 +49,4 @@ * @public | ||
static i8: Mat3Ctor<Int8Array>; | ||
static getCtor<TCtor extends TTypedArrayCtor>(ctor: TTypedArrayCtor): Mat3Ctor<InstanceType<TCtor>>; | ||
protected static constructors: Map<TTypedArrayCtor, Function>; | ||
/** | ||
@@ -50,0 +53,0 @@ * c1r1 |
@@ -6,2 +6,3 @@ "use strict"; | ||
const get_mat3_ctor_1 = require("./get-mat3-ctor"); | ||
const populate_typed_array_constructor_map_1 = require("../populate-typed-array-constructor-map"); | ||
/** | ||
@@ -15,2 +16,5 @@ * @public | ||
class Mat3 extends a_typed_array_tuple_1.ATypedArrayTuple { | ||
static getCtor(ctor) { | ||
return Mat3.constructors.get(ctor); | ||
} | ||
setIdentityMatrix() { | ||
@@ -57,2 +61,3 @@ throw new Error(); | ||
Mat3.i8 = get_mat3_ctor_1.getMat3Ctor(Int8Array); | ||
Mat3.constructors = populate_typed_array_constructor_map_1.populateTypedArrayConstructorMap(Mat3); | ||
//# sourceMappingURL=mat3.js.map |
import { ATypedArrayTuple } from "../a-typed-array-tuple"; | ||
import { TTypedArray } from "../t-typed-array"; | ||
import { ITypedArrayTupleFactory } from "../i-typed-array-tuple-factory"; | ||
import { TTypedArrayCtor } from "../t-typed-array-ctor"; | ||
/** | ||
@@ -55,2 +56,4 @@ * @public | ||
static i8: Mat4Ctor<Int8Array>; | ||
static getCtor<TCtor extends TTypedArrayCtor>(ctor: TTypedArrayCtor): Mat4Ctor<InstanceType<TCtor>>; | ||
protected static constructors: Map<TTypedArrayCtor, Function>; | ||
/** | ||
@@ -57,0 +60,0 @@ * c1r1 |
@@ -6,2 +6,3 @@ "use strict"; | ||
const get_mat4_ctor_1 = require("./get-mat4-ctor"); | ||
const populate_typed_array_constructor_map_1 = require("../populate-typed-array-constructor-map"); | ||
/** | ||
@@ -15,2 +16,5 @@ * @public | ||
class Mat4 extends a_typed_array_tuple_1.ATypedArrayTuple { | ||
static getCtor(ctor) { | ||
return Mat4.constructors.get(ctor); | ||
} | ||
setIdentityMatrix() { | ||
@@ -36,2 +40,3 @@ throw new Error(); | ||
Mat4.i8 = get_mat4_ctor_1.getMat4Ctor(Int8Array); | ||
Mat4.constructors = populate_typed_array_constructor_map_1.populateTypedArrayConstructorMap(Mat4); | ||
//# sourceMappingURL=mat4.js.map |
@@ -5,2 +5,3 @@ import { ATypedArrayTuple } from "../a-typed-array-tuple"; | ||
import { ITypedArrayTupleFactory } from "../i-typed-array-tuple-factory"; | ||
import { TTypedArrayCtor } from "../t-typed-array-ctor"; | ||
/** | ||
@@ -40,2 +41,4 @@ * @public | ||
static i8: Vec2Ctor<Int8Array>; | ||
static getCtor<TCtor extends TTypedArrayCtor>(ctor: TTypedArrayCtor): Vec2Ctor<InstanceType<TCtor>>; | ||
protected static constructors: Map<TTypedArrayCtor, Function>; | ||
/** | ||
@@ -42,0 +45,0 @@ * x |
@@ -6,2 +6,3 @@ "use strict"; | ||
const get_vec2_ctor_1 = require("./get-vec2-ctor"); | ||
const populate_typed_array_constructor_map_1 = require("../populate-typed-array-constructor-map"); | ||
/** | ||
@@ -15,2 +16,5 @@ * @public | ||
class Vec2 extends a_typed_array_tuple_1.ATypedArrayTuple { | ||
static getCtor(ctor) { | ||
return Vec2.constructors.get(ctor); | ||
} | ||
getX() { | ||
@@ -57,2 +61,3 @@ throw new Error(); | ||
Vec2.i8 = get_vec2_ctor_1.getVec2Ctor(Int8Array); | ||
Vec2.constructors = populate_typed_array_constructor_map_1.populateTypedArrayConstructorMap(Vec2); | ||
//# sourceMappingURL=vec2.js.map |
import { ATypedArrayTuple } from "../a-typed-array-tuple"; | ||
import { TTypedArray } from "../t-typed-array"; | ||
import { ITypedArrayTupleFactory } from "../i-typed-array-tuple-factory"; | ||
import { TTypedArrayCtor } from "../t-typed-array-ctor"; | ||
/** | ||
@@ -38,2 +39,4 @@ * @public | ||
static i8: Vec3Ctor<Int8Array>; | ||
static getCtor<TCtor extends TTypedArrayCtor>(ctor: TTypedArrayCtor): Vec3Ctor<InstanceType<TCtor>>; | ||
protected static constructors: Map<TTypedArrayCtor, Function>; | ||
/** | ||
@@ -40,0 +43,0 @@ * x |
@@ -6,2 +6,3 @@ "use strict"; | ||
const get_vec3_ctor_1 = require("./get-vec3-ctor"); | ||
const populate_typed_array_constructor_map_1 = require("../populate-typed-array-constructor-map"); | ||
/** | ||
@@ -15,2 +16,5 @@ * @public | ||
class Vec3 extends a_typed_array_tuple_1.ATypedArrayTuple { | ||
static getCtor(ctor) { | ||
return Vec3.constructors.get(ctor); | ||
} | ||
getX() { | ||
@@ -51,2 +55,3 @@ throw new Error(); | ||
Vec3.i8 = get_vec3_ctor_1.getVec3Ctor(Int8Array); | ||
Vec3.constructors = populate_typed_array_constructor_map_1.populateTypedArrayConstructorMap(Vec3); | ||
//# sourceMappingURL=vec3.js.map |
import { ATypedArrayTuple } from "../a-typed-array-tuple"; | ||
import { TTypedArray } from "../t-typed-array"; | ||
import { ITypedArrayTupleFactory } from "../i-typed-array-tuple-factory"; | ||
import { TTypedArrayCtor } from "../t-typed-array-ctor"; | ||
/** | ||
@@ -38,2 +39,4 @@ * @public | ||
static i8: Vec4Ctor<Int8Array>; | ||
static getCtor<TCtor extends TTypedArrayCtor>(ctor: TTypedArrayCtor): Vec4Ctor<InstanceType<TCtor>>; | ||
protected static constructors: Map<TTypedArrayCtor, Function>; | ||
/** | ||
@@ -40,0 +43,0 @@ * x |
@@ -6,2 +6,3 @@ "use strict"; | ||
const get_vec4_ctor_1 = require("./get-vec4-ctor"); | ||
const populate_typed_array_constructor_map_1 = require("../populate-typed-array-constructor-map"); | ||
/** | ||
@@ -15,2 +16,5 @@ * @public | ||
class Vec4 extends a_typed_array_tuple_1.ATypedArrayTuple { | ||
static getCtor(ctor) { | ||
return Vec4.constructors.get(ctor); | ||
} | ||
getX() { | ||
@@ -57,2 +61,3 @@ throw new Error(); | ||
Vec4.i8 = get_vec4_ctor_1.getVec4Ctor(Int8Array); | ||
Vec4.constructors = populate_typed_array_constructor_map_1.populateTypedArrayConstructorMap(Vec4); | ||
//# sourceMappingURL=vec4.js.map |
{ | ||
"name": "rc-js-util", | ||
"version": "5.0.0-alpha.30", | ||
"version": "5.0.0-alpha.31", | ||
"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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
532549
523
7587