wgpu-matrix
Preparing search index...
vec2n
distanceSq
Variable distanceSq
distanceSq
:
(
a
:
BaseArgType
,
b
:
BaseArgType
)
=>
number
Type declaration
(
a
:
BaseArgType
,
b
:
BaseArgType
)
:
number
Computes the square of the distance between 2 points
Parameters
a
:
BaseArgType
vector.
b
:
BaseArgType
vector.
Returns
number
square of the distance between a and b
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
wgpu-matrix
Loading...
Computes the square of the distance between 2 points