Preparing search index...
The search index is not available
wgpu-matrix
wgpu-matrix
vec2
dist
Function dist
dist
(
a
,
b
)
:
number
Computes the distance between 2 points (same as distance)
Parameters
a
:
Vec2
vector.
b
:
Vec2
vector.
Returns
number
distance between a and b
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
wgpu-matrix
Loading...
Computes the distance between 2 points (same as distance)