Documentation
Dlang.org
Vec3.normalize
graphene
vec3
Vec3
Normalizes the given #graphene_vec3_t.
class
Vec3
void
normalize
(
out
graphene.vec3.Vec3
res
)
Parameters
res
graphene
.
vec3
.
Vec3
return location for the normalized vector
graphene
vec3
Vec3
functions
add
cross
divide
dot
equal
getX
getXy
getXy0
getXyz0
getXyz1
getXyzw
getY
getZ
initFromFloat
initFromVec3
init_
interpolate
length
max
min
multiply
near
negate
normalize
scale
subtract
toFloat
static functions
alloc
one
xAxis
yAxis
zAxis
zero
Normalizes the given #graphene_vec3_t.