xray16 1.1.1 → 1.1.3
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/package.json
CHANGED
|
@@ -123,6 +123,9 @@ declare module "xray16" {
|
|
|
123
123
|
|
|
124
124
|
public mad(vector: Readonly<vector>, val: f32): vector;
|
|
125
125
|
|
|
126
|
+
/**
|
|
127
|
+
* @returns 3d vector magnitude value `sqrt(x*x + y*y + z*z)`
|
|
128
|
+
*/
|
|
126
129
|
public magnitude(): f32;
|
|
127
130
|
|
|
128
131
|
public max(vector1: Readonly<vector>, vector2: Readonly<vector>): vector;
|
|
@@ -404,6 +404,6 @@ declare module "xray16" {
|
|
|
404
404
|
|
|
405
405
|
public set_patrol_extrapolate_callback(cb?: ((cur_pt: number) => boolean) | null, object?: object): void;
|
|
406
406
|
|
|
407
|
-
public set_smart_cover_target_selector(cb?: (object: game_object) => void, object?: object): void;
|
|
407
|
+
public set_smart_cover_target_selector(cb?: ((object: game_object) => void) | null, object?: object | null): void;
|
|
408
408
|
}
|
|
409
409
|
}
|