@dcl/playground-assets 7.6.5-11612701565.commit-a53af9d → 7.6.5-11672040830.commit-680459b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alpha.d.ts +97 -7
- package/dist/beta.d.ts +97 -7
- package/dist/index.bundled.d.ts +97 -7
- package/dist/index.js +5 -5
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +3 -3
- package/dist/playground-assets.d.ts +97 -7
- package/etc/playground-assets.api.json +247 -10
- package/etc/playground-assets.api.md +23 -2
- package/package.json +4 -4
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.6.5-
|
4
|
+
"version": "7.6.5-11672040830.commit-680459b",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
8
|
-
"@dcl/ecs-math": "2.0
|
8
|
+
"@dcl/ecs-math": "2.1.0",
|
9
9
|
"@dcl/explorer": "1.0.164509-20240802172549.commit-fb95b9b",
|
10
10
|
"@dcl/js-runtime": "file:../js-runtime",
|
11
11
|
"@dcl/react-ecs": "file:../react-ecs",
|
@@ -35,5 +35,5 @@
|
|
35
35
|
},
|
36
36
|
"types": "./index.d.ts",
|
37
37
|
"typings": "./index.d.ts",
|
38
|
-
"commit": "
|
38
|
+
"commit": "680459b70e094fd92c59c9f041546792d160056d"
|
39
39
|
}
|
@@ -7413,6 +7413,93 @@ export declare type ValueSetOptions<T> = {
|
|
7413
7413
|
maxElements: number;
|
7414
7414
|
};
|
7415
7415
|
|
7416
|
+
/**
|
7417
|
+
* @public
|
7418
|
+
* Vector2 is a type and a namespace.
|
7419
|
+
* - The namespace contains all types and functions to operates with Vector2
|
7420
|
+
* - The type Vector2 is an alias to Vector2.ReadonlyVector2
|
7421
|
+
* ```
|
7422
|
+
*
|
7423
|
+
* // Namespace usage example
|
7424
|
+
* const next = Vector2.add(pointA, velocityA) // add function not implemented yet
|
7425
|
+
*
|
7426
|
+
* // Type usage example
|
7427
|
+
* const readonlyPosition: Vector2 = Vector2.Zero()
|
7428
|
+
* readonlyPosition.x = 0.1 // this FAILS
|
7429
|
+
*
|
7430
|
+
* // For mutable usage, use `Vector2.Mutable`
|
7431
|
+
* const position: Vector2.Mutable = Vector2.One()
|
7432
|
+
* position.x = 3.0 // this WORKS
|
7433
|
+
* ```
|
7434
|
+
*/
|
7435
|
+
export declare type Vector2 = Vector2.ReadonlyVector2;
|
7436
|
+
|
7437
|
+
/**
|
7438
|
+
* @public
|
7439
|
+
* Vector2 is a type and a namespace.
|
7440
|
+
* ```
|
7441
|
+
* // The namespace contains all types and functions to operates with Vector2
|
7442
|
+
* const next = Vector2.add(pointA, velocityA) // add function not implemented yet
|
7443
|
+
* // The type Vector2 is an alias to Vector2.ReadonlyVector2
|
7444
|
+
* const readonlyPosition: Vector2 = Vector2.Zero()
|
7445
|
+
* readonlyPosition.x = 0.1 // this FAILS
|
7446
|
+
*
|
7447
|
+
* // For mutable usage, use `Vector2.Mutable`
|
7448
|
+
* const position: Vector2.Mutable = Vector2.One()
|
7449
|
+
* position.x = 3.0 // this WORKS
|
7450
|
+
* ```
|
7451
|
+
*/
|
7452
|
+
export declare namespace Vector2 {
|
7453
|
+
/**
|
7454
|
+
* @public
|
7455
|
+
* For external use, type with `Vector2`, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`.
|
7456
|
+
* For mutable typing, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.
|
7457
|
+
*/
|
7458
|
+
export type ReadonlyVector2 = {
|
7459
|
+
readonly x: number;
|
7460
|
+
readonly y: number;
|
7461
|
+
};
|
7462
|
+
/**
|
7463
|
+
* @public
|
7464
|
+
* For external usage, type with `Vector2`, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`.
|
7465
|
+
* For mutable typing, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.
|
7466
|
+
*/
|
7467
|
+
export type MutableVector2 = {
|
7468
|
+
x: number;
|
7469
|
+
y: number;
|
7470
|
+
};
|
7471
|
+
/**
|
7472
|
+
* @public
|
7473
|
+
* Type with `Vector2` for readonly usage, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`.
|
7474
|
+
* For mutable, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.
|
7475
|
+
*/
|
7476
|
+
export type Mutable = MutableVector2;
|
7477
|
+
/**
|
7478
|
+
* Creates a new Vector2 object from the given x, y (floats) coordinates.
|
7479
|
+
* @param x - defines the first coordinates (on X axis)
|
7480
|
+
* @param y - defines the second coordinates (on Y axis)
|
7481
|
+
*/
|
7482
|
+
export function create(
|
7483
|
+
/**
|
7484
|
+
* Defines the first coordinates (on X axis)
|
7485
|
+
*/
|
7486
|
+
x?: number,
|
7487
|
+
/**
|
7488
|
+
* Defines the second coordinates (on Y axis)
|
7489
|
+
*/
|
7490
|
+
y?: number): MutableVector2;
|
7491
|
+
/**
|
7492
|
+
* Returns a new Vector2 set to (0.0, 0.0)
|
7493
|
+
* @returns a new empty Vector2
|
7494
|
+
*/
|
7495
|
+
export function Zero(): MutableVector2;
|
7496
|
+
/**
|
7497
|
+
* Returns a new Vector2 set to (1.0, 1.0)
|
7498
|
+
* @returns a new unit Vector2
|
7499
|
+
*/
|
7500
|
+
export function One(): MutableVector2;
|
7501
|
+
}
|
7502
|
+
|
7416
7503
|
/**
|
7417
7504
|
* @public
|
7418
7505
|
* Vector3 is a type and a namespace.
|
@@ -7508,21 +7595,24 @@ export declare namespace Vector3 {
|
|
7508
7595
|
*/
|
7509
7596
|
export function add(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
|
7510
7597
|
/**
|
7511
|
-
*
|
7512
|
-
* @param
|
7513
|
-
* @param
|
7598
|
+
* Performs addition between vectorA and vectorB and stores the result into result
|
7599
|
+
* @param vectorA - the first vector for the addition operation
|
7600
|
+
* @param vectorB - the second vector for the addition operation
|
7601
|
+
* @param result - the vector where the result of the addition is stored
|
7514
7602
|
*/
|
7515
|
-
export function addToRef(
|
7603
|
+
export function addToRef(vectorA: ReadonlyVector3, vectorB: ReadonlyVector3, result: MutableVector3): void;
|
7516
7604
|
/**
|
7517
7605
|
* Returns a new Vector3 as the result of the substraction of the two given vectors.
|
7518
7606
|
* @returns the resulting vector
|
7519
7607
|
*/
|
7520
7608
|
export function subtract(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
|
7521
7609
|
/**
|
7522
|
-
*
|
7523
|
-
* @
|
7610
|
+
* Performs substraction between vectorA and vectorB and stores the result into result
|
7611
|
+
* @param vectorA - the first vector for the substraction operation
|
7612
|
+
* @param vectorB - the second vector for the substraction operation
|
7613
|
+
* @param result - the vector where the result of the substraction is stored
|
7524
7614
|
*/
|
7525
|
-
export function subtractToRef(
|
7615
|
+
export function subtractToRef(vectorA: ReadonlyVector3, vectorB: ReadonlyVector3, result: MutableVector3): void;
|
7526
7616
|
/**
|
7527
7617
|
* Subtracts the given floats from the current Vector3 coordinates and set the given vector "result" with this result
|
7528
7618
|
* @param x - defines the x coordinate of the operand
|
@@ -70843,6 +70843,243 @@
|
|
70843
70843
|
"endIndex": 4
|
70844
70844
|
}
|
70845
70845
|
},
|
70846
|
+
{
|
70847
|
+
"kind": "Namespace",
|
70848
|
+
"canonicalReference": "@dcl/playground-assets!Vector2:namespace",
|
70849
|
+
"docComment": "/**\n * Vector2 is a type and a namespace.\n * ```\n * // The namespace contains all types and functions to operates with Vector2\n * const next = Vector2.add(pointA, velocityA) // add function not implemented yet\n * // The type Vector2 is an alias to Vector2.ReadonlyVector2\n * const readonlyPosition: Vector2 = Vector2.Zero()\n * readonlyPosition.x = 0.1 // this FAILS\n *\n * // For mutable usage, use `Vector2.Mutable`\n * const position: Vector2.Mutable = Vector2.One()\n * position.x = 3.0 // this WORKS\n * ```\n *\n * @public\n */\n",
|
70850
|
+
"excerptTokens": [
|
70851
|
+
{
|
70852
|
+
"kind": "Content",
|
70853
|
+
"text": "export declare namespace Vector2 "
|
70854
|
+
}
|
70855
|
+
],
|
70856
|
+
"fileUrlPath": "../sdk/node_modules/@dcl/ecs-math/dist/Vector2.d.ts",
|
70857
|
+
"releaseTag": "Public",
|
70858
|
+
"name": "Vector2",
|
70859
|
+
"preserveMemberOrder": false,
|
70860
|
+
"members": [
|
70861
|
+
{
|
70862
|
+
"kind": "Function",
|
70863
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.create:function(1)",
|
70864
|
+
"docComment": "/**\n * Creates a new Vector2 object from the given x, y (floats) coordinates.\n *\n * @param x - defines the first coordinates (on X axis)\n *\n * @param y - defines the second coordinates (on Y axis)\n */\n",
|
70865
|
+
"excerptTokens": [
|
70866
|
+
{
|
70867
|
+
"kind": "Content",
|
70868
|
+
"text": "function create(\n x?: "
|
70869
|
+
},
|
70870
|
+
{
|
70871
|
+
"kind": "Content",
|
70872
|
+
"text": "number"
|
70873
|
+
},
|
70874
|
+
{
|
70875
|
+
"kind": "Content",
|
70876
|
+
"text": ", \n y?: "
|
70877
|
+
},
|
70878
|
+
{
|
70879
|
+
"kind": "Content",
|
70880
|
+
"text": "number"
|
70881
|
+
},
|
70882
|
+
{
|
70883
|
+
"kind": "Content",
|
70884
|
+
"text": "): "
|
70885
|
+
},
|
70886
|
+
{
|
70887
|
+
"kind": "Reference",
|
70888
|
+
"text": "MutableVector2",
|
70889
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type"
|
70890
|
+
},
|
70891
|
+
{
|
70892
|
+
"kind": "Content",
|
70893
|
+
"text": ";"
|
70894
|
+
}
|
70895
|
+
],
|
70896
|
+
"returnTypeTokenRange": {
|
70897
|
+
"startIndex": 5,
|
70898
|
+
"endIndex": 6
|
70899
|
+
},
|
70900
|
+
"releaseTag": "Public",
|
70901
|
+
"overloadIndex": 1,
|
70902
|
+
"parameters": [
|
70903
|
+
{
|
70904
|
+
"parameterName": "x",
|
70905
|
+
"parameterTypeTokenRange": {
|
70906
|
+
"startIndex": 1,
|
70907
|
+
"endIndex": 2
|
70908
|
+
},
|
70909
|
+
"isOptional": true
|
70910
|
+
},
|
70911
|
+
{
|
70912
|
+
"parameterName": "y",
|
70913
|
+
"parameterTypeTokenRange": {
|
70914
|
+
"startIndex": 3,
|
70915
|
+
"endIndex": 4
|
70916
|
+
},
|
70917
|
+
"isOptional": true
|
70918
|
+
}
|
70919
|
+
],
|
70920
|
+
"name": "create"
|
70921
|
+
},
|
70922
|
+
{
|
70923
|
+
"kind": "TypeAlias",
|
70924
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.Mutable:type",
|
70925
|
+
"docComment": "/**\n * Type with `Vector2` for readonly usage, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`. For mutable, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.\n *\n * @public\n */\n",
|
70926
|
+
"excerptTokens": [
|
70927
|
+
{
|
70928
|
+
"kind": "Content",
|
70929
|
+
"text": "type Mutable = "
|
70930
|
+
},
|
70931
|
+
{
|
70932
|
+
"kind": "Reference",
|
70933
|
+
"text": "MutableVector2",
|
70934
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type"
|
70935
|
+
},
|
70936
|
+
{
|
70937
|
+
"kind": "Content",
|
70938
|
+
"text": ";"
|
70939
|
+
}
|
70940
|
+
],
|
70941
|
+
"releaseTag": "Public",
|
70942
|
+
"name": "Mutable",
|
70943
|
+
"typeTokenRange": {
|
70944
|
+
"startIndex": 1,
|
70945
|
+
"endIndex": 2
|
70946
|
+
}
|
70947
|
+
},
|
70948
|
+
{
|
70949
|
+
"kind": "TypeAlias",
|
70950
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type",
|
70951
|
+
"docComment": "/**\n * For external usage, type with `Vector2`, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`. For mutable typing, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.\n *\n * @public\n */\n",
|
70952
|
+
"excerptTokens": [
|
70953
|
+
{
|
70954
|
+
"kind": "Content",
|
70955
|
+
"text": "type MutableVector2 = "
|
70956
|
+
},
|
70957
|
+
{
|
70958
|
+
"kind": "Content",
|
70959
|
+
"text": "{\n x: number;\n y: number;\n }"
|
70960
|
+
},
|
70961
|
+
{
|
70962
|
+
"kind": "Content",
|
70963
|
+
"text": ";"
|
70964
|
+
}
|
70965
|
+
],
|
70966
|
+
"releaseTag": "Public",
|
70967
|
+
"name": "MutableVector2",
|
70968
|
+
"typeTokenRange": {
|
70969
|
+
"startIndex": 1,
|
70970
|
+
"endIndex": 2
|
70971
|
+
}
|
70972
|
+
},
|
70973
|
+
{
|
70974
|
+
"kind": "Function",
|
70975
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.One:function(1)",
|
70976
|
+
"docComment": "/**\n * Returns a new Vector2 set to (1.0, 1.0)\n *\n * @returns a new unit Vector2\n */\n",
|
70977
|
+
"excerptTokens": [
|
70978
|
+
{
|
70979
|
+
"kind": "Content",
|
70980
|
+
"text": "function One(): "
|
70981
|
+
},
|
70982
|
+
{
|
70983
|
+
"kind": "Reference",
|
70984
|
+
"text": "MutableVector2",
|
70985
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type"
|
70986
|
+
},
|
70987
|
+
{
|
70988
|
+
"kind": "Content",
|
70989
|
+
"text": ";"
|
70990
|
+
}
|
70991
|
+
],
|
70992
|
+
"returnTypeTokenRange": {
|
70993
|
+
"startIndex": 1,
|
70994
|
+
"endIndex": 2
|
70995
|
+
},
|
70996
|
+
"releaseTag": "Public",
|
70997
|
+
"overloadIndex": 1,
|
70998
|
+
"parameters": [],
|
70999
|
+
"name": "One"
|
71000
|
+
},
|
71001
|
+
{
|
71002
|
+
"kind": "TypeAlias",
|
71003
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.ReadonlyVector2:type",
|
71004
|
+
"docComment": "/**\n * For external use, type with `Vector2`, e.g. `const zeroPosition: Vector2 = Vector2.Zero()`. For mutable typing, use `Vector2.Mutable`, e.g. `const oneVector: Vector2.Mutable = Vector2.One()`.\n *\n * @public\n */\n",
|
71005
|
+
"excerptTokens": [
|
71006
|
+
{
|
71007
|
+
"kind": "Content",
|
71008
|
+
"text": "type ReadonlyVector2 = "
|
71009
|
+
},
|
71010
|
+
{
|
71011
|
+
"kind": "Content",
|
71012
|
+
"text": "{\n readonly x: number;\n readonly y: number;\n }"
|
71013
|
+
},
|
71014
|
+
{
|
71015
|
+
"kind": "Content",
|
71016
|
+
"text": ";"
|
71017
|
+
}
|
71018
|
+
],
|
71019
|
+
"releaseTag": "Public",
|
71020
|
+
"name": "ReadonlyVector2",
|
71021
|
+
"typeTokenRange": {
|
71022
|
+
"startIndex": 1,
|
71023
|
+
"endIndex": 2
|
71024
|
+
}
|
71025
|
+
},
|
71026
|
+
{
|
71027
|
+
"kind": "Function",
|
71028
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.Zero:function(1)",
|
71029
|
+
"docComment": "/**\n * Returns a new Vector2 set to (0.0, 0.0)\n *\n * @returns a new empty Vector2\n */\n",
|
71030
|
+
"excerptTokens": [
|
71031
|
+
{
|
71032
|
+
"kind": "Content",
|
71033
|
+
"text": "function Zero(): "
|
71034
|
+
},
|
71035
|
+
{
|
71036
|
+
"kind": "Reference",
|
71037
|
+
"text": "MutableVector2",
|
71038
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.MutableVector2:type"
|
71039
|
+
},
|
71040
|
+
{
|
71041
|
+
"kind": "Content",
|
71042
|
+
"text": ";"
|
71043
|
+
}
|
71044
|
+
],
|
71045
|
+
"returnTypeTokenRange": {
|
71046
|
+
"startIndex": 1,
|
71047
|
+
"endIndex": 2
|
71048
|
+
},
|
71049
|
+
"releaseTag": "Public",
|
71050
|
+
"overloadIndex": 1,
|
71051
|
+
"parameters": [],
|
71052
|
+
"name": "Zero"
|
71053
|
+
}
|
71054
|
+
]
|
71055
|
+
},
|
71056
|
+
{
|
71057
|
+
"kind": "TypeAlias",
|
71058
|
+
"canonicalReference": "@dcl/playground-assets!Vector2:type",
|
71059
|
+
"docComment": "/**\n * Vector2 is a type and a namespace. - The namespace contains all types and functions to operates with Vector2 - The type Vector2 is an alias to Vector2.ReadonlyVector2\n * ```\n *\n * // Namespace usage example\n * const next = Vector2.add(pointA, velocityA) // add function not implemented yet\n *\n * // Type usage example\n * const readonlyPosition: Vector2 = Vector2.Zero()\n * readonlyPosition.x = 0.1 // this FAILS\n *\n * // For mutable usage, use `Vector2.Mutable`\n * const position: Vector2.Mutable = Vector2.One()\n * position.x = 3.0 // this WORKS\n * ```\n *\n * @public\n */\n",
|
71060
|
+
"excerptTokens": [
|
71061
|
+
{
|
71062
|
+
"kind": "Content",
|
71063
|
+
"text": "export declare type Vector2 = "
|
71064
|
+
},
|
71065
|
+
{
|
71066
|
+
"kind": "Reference",
|
71067
|
+
"text": "Vector2.ReadonlyVector2",
|
71068
|
+
"canonicalReference": "@dcl/playground-assets!Vector2.ReadonlyVector2:type"
|
71069
|
+
},
|
71070
|
+
{
|
71071
|
+
"kind": "Content",
|
71072
|
+
"text": ";"
|
71073
|
+
}
|
71074
|
+
],
|
71075
|
+
"fileUrlPath": "../sdk/node_modules/@dcl/ecs-math/dist/Vector2.d.ts",
|
71076
|
+
"releaseTag": "Public",
|
71077
|
+
"name": "Vector2",
|
71078
|
+
"typeTokenRange": {
|
71079
|
+
"startIndex": 1,
|
71080
|
+
"endIndex": 2
|
71081
|
+
}
|
71082
|
+
},
|
70846
71083
|
{
|
70847
71084
|
"kind": "Namespace",
|
70848
71085
|
"canonicalReference": "@dcl/playground-assets!Vector3:namespace",
|
@@ -70924,11 +71161,11 @@
|
|
70924
71161
|
{
|
70925
71162
|
"kind": "Function",
|
70926
71163
|
"canonicalReference": "@dcl/playground-assets!Vector3.addToRef:function(1)",
|
70927
|
-
"docComment": "/**\n *
|
71164
|
+
"docComment": "/**\n * Performs addition between vectorA and vectorB and stores the result into result\n *\n * @param vectorA - the first vector for the addition operation\n *\n * @param vectorB - the second vector for the addition operation\n *\n * @param result - the vector where the result of the addition is stored\n */\n",
|
70928
71165
|
"excerptTokens": [
|
70929
71166
|
{
|
70930
71167
|
"kind": "Content",
|
70931
|
-
"text": "function addToRef(
|
71168
|
+
"text": "function addToRef(vectorA: "
|
70932
71169
|
},
|
70933
71170
|
{
|
70934
71171
|
"kind": "Reference",
|
@@ -70937,7 +71174,7 @@
|
|
70937
71174
|
},
|
70938
71175
|
{
|
70939
71176
|
"kind": "Content",
|
70940
|
-
"text": ",
|
71177
|
+
"text": ", vectorB: "
|
70941
71178
|
},
|
70942
71179
|
{
|
70943
71180
|
"kind": "Reference",
|
@@ -70974,7 +71211,7 @@
|
|
70974
71211
|
"overloadIndex": 1,
|
70975
71212
|
"parameters": [
|
70976
71213
|
{
|
70977
|
-
"parameterName": "
|
71214
|
+
"parameterName": "vectorA",
|
70978
71215
|
"parameterTypeTokenRange": {
|
70979
71216
|
"startIndex": 1,
|
70980
71217
|
"endIndex": 2
|
@@ -70982,7 +71219,7 @@
|
|
70982
71219
|
"isOptional": false
|
70983
71220
|
},
|
70984
71221
|
{
|
70985
|
-
"parameterName": "
|
71222
|
+
"parameterName": "vectorB",
|
70986
71223
|
"parameterTypeTokenRange": {
|
70987
71224
|
"startIndex": 3,
|
70988
71225
|
"endIndex": 4
|
@@ -75379,11 +75616,11 @@
|
|
75379
75616
|
{
|
75380
75617
|
"kind": "Function",
|
75381
75618
|
"canonicalReference": "@dcl/playground-assets!Vector3.subtractToRef:function(1)",
|
75382
|
-
"docComment": "/**\n *
|
75619
|
+
"docComment": "/**\n * Performs substraction between vectorA and vectorB and stores the result into result\n *\n * @param vectorA - the first vector for the substraction operation\n *\n * @param vectorB - the second vector for the substraction operation\n *\n * @param result - the vector where the result of the substraction is stored\n */\n",
|
75383
75620
|
"excerptTokens": [
|
75384
75621
|
{
|
75385
75622
|
"kind": "Content",
|
75386
|
-
"text": "function subtractToRef(
|
75623
|
+
"text": "function subtractToRef(vectorA: "
|
75387
75624
|
},
|
75388
75625
|
{
|
75389
75626
|
"kind": "Reference",
|
@@ -75392,7 +75629,7 @@
|
|
75392
75629
|
},
|
75393
75630
|
{
|
75394
75631
|
"kind": "Content",
|
75395
|
-
"text": ",
|
75632
|
+
"text": ", vectorB: "
|
75396
75633
|
},
|
75397
75634
|
{
|
75398
75635
|
"kind": "Reference",
|
@@ -75429,7 +75666,7 @@
|
|
75429
75666
|
"overloadIndex": 1,
|
75430
75667
|
"parameters": [
|
75431
75668
|
{
|
75432
|
-
"parameterName": "
|
75669
|
+
"parameterName": "vectorA",
|
75433
75670
|
"parameterTypeTokenRange": {
|
75434
75671
|
"startIndex": 1,
|
75435
75672
|
"endIndex": 2
|
@@ -75437,7 +75674,7 @@
|
|
75437
75674
|
"isOptional": false
|
75438
75675
|
},
|
75439
75676
|
{
|
75440
|
-
"parameterName": "
|
75677
|
+
"parameterName": "vectorB",
|
75441
75678
|
"parameterTypeTokenRange": {
|
75442
75679
|
"startIndex": 3,
|
75443
75680
|
"endIndex": 4
|
@@ -4235,13 +4235,34 @@ export type ValueSetOptions<T> = {
|
|
4235
4235
|
maxElements: number;
|
4236
4236
|
};
|
4237
4237
|
|
4238
|
+
// @public
|
4239
|
+
export type Vector2 = Vector2.ReadonlyVector2;
|
4240
|
+
|
4241
|
+
// @public
|
4242
|
+
export namespace Vector2 {
|
4243
|
+
export function create(
|
4244
|
+
x?: number,
|
4245
|
+
y?: number): MutableVector2;
|
4246
|
+
export type Mutable = MutableVector2;
|
4247
|
+
export type MutableVector2 = {
|
4248
|
+
x: number;
|
4249
|
+
y: number;
|
4250
|
+
};
|
4251
|
+
export function One(): MutableVector2;
|
4252
|
+
export type ReadonlyVector2 = {
|
4253
|
+
readonly x: number;
|
4254
|
+
readonly y: number;
|
4255
|
+
};
|
4256
|
+
export function Zero(): MutableVector2;
|
4257
|
+
}
|
4258
|
+
|
4238
4259
|
// @public
|
4239
4260
|
export type Vector3 = Vector3.ReadonlyVector3;
|
4240
4261
|
|
4241
4262
|
// @public
|
4242
4263
|
export namespace Vector3 {
|
4243
4264
|
export function add(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
|
4244
|
-
export function addToRef(
|
4265
|
+
export function addToRef(vectorA: ReadonlyVector3, vectorB: ReadonlyVector3, result: MutableVector3): void;
|
4245
4266
|
export function applyMatrix4(vector: ReadonlyVector3, matrix: Matrix.ReadonlyMatrix): MutableVector3;
|
4246
4267
|
export function applyMatrix4ToRef(vector: ReadonlyVector3, matrix: Matrix.ReadonlyMatrix, result: MutableVector3): void;
|
4247
4268
|
export function Backward(): MutableVector3;
|
@@ -4319,7 +4340,7 @@ export namespace Vector3 {
|
|
4319
4340
|
export function scaleToRef(vector: ReadonlyVector3, scale: number, result: MutableVector3): void;
|
4320
4341
|
export function subtract(vector1: ReadonlyVector3, vector2: ReadonlyVector3): MutableVector3;
|
4321
4342
|
export function subtractFromFloatsToRef(vector1: ReadonlyVector3, x: number, y: number, z: number, result: MutableVector3): void;
|
4322
|
-
export function subtractToRef(
|
4343
|
+
export function subtractToRef(vectorA: ReadonlyVector3, vectorB: ReadonlyVector3, result: MutableVector3): void;
|
4323
4344
|
export function toString(vector: ReadonlyVector3): string;
|
4324
4345
|
export function transformCoordinates(vector: ReadonlyVector3, transformation: Matrix.ReadonlyMatrix): MutableVector3;
|
4325
4346
|
export function transformCoordinatesFromFloatsToRef(x: number, y: number, z: number, transformation: Matrix.ReadonlyMatrix, result: MutableVector3): void;
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.6.5-
|
4
|
+
"version": "7.6.5-11672040830.commit-680459b",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.6.5-
|
8
|
-
"@dcl/sdk": "7.6.5-
|
7
|
+
"@dcl/js-runtime": "7.6.5-11672040830.commit-680459b",
|
8
|
+
"@dcl/sdk": "7.6.5-11672040830.commit-680459b"
|
9
9
|
},
|
10
10
|
"devDependencies": {
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
@@ -32,5 +32,5 @@
|
|
32
32
|
},
|
33
33
|
"types": "./dist/index.d.ts",
|
34
34
|
"typings": "./dist/index.d.ts",
|
35
|
-
"commit": "
|
35
|
+
"commit": "680459b70e094fd92c59c9f041546792d160056d"
|
36
36
|
}
|