math docs
Preparing search index...
index
vec2
clone
Function clone
clone
(
a
:
vec2
.
Vec2
)
:
vec2
.
Vec2
Creates a new vec2 initialized with values from an existing vector
Parameters
a
:
vec2
.
Vec2
vector to clone
Returns
vec2
.
Vec2
a new 2D vector
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
math docs
Loading...
Creates a new vec2 initialized with values from an existing vector