despiker ~master (2015-08-29T17:56:50Z)
Dub
Repo
setLength
gl3n_extra
linalg
Set length of the vector, resizing it but preserving its direction.
void
setLength
@
safe
pure nothrow @
nogc
(
T
size_t
dim
)
(
ref
Vector
!(
T
,
dim
)
vector
,
T
length
)
Meta
Source
See Implementation
gl3n_extra
linalg
aliases
vec2u
functions
setLength
Set length of the vector, resizing it but preserving its direction.