despiker v0.1.3 (2014-11-30T21:04:50Z)
Dub
Repo
setLength
gl3n_extra
linalg
Set length of the vector, resizing it but preserving its direction.
@
safe
pure nothrow @
nogc
void
setLength
(
T
size_t
dim
)
(
ref
Vector
!(
T
,
dim
)
vector
,
T
length
)
Meta
Source
See Implementation
gl3n_extra
linalg
aliases
mat23
mat23d
mat24
mat24d
mat2d
mat32
mat32d
mat34d
mat3d
mat42
mat42d
mat43
mat43d
mat4d
vec2u
vec2ub
vec3u
vec3ub
vec4u
vec4ub
functions
setLength
Set length of the vector, resizing it but preserving its direction.