liberty-engine ~master (2019-02-13T12:42:06Z)
Dub
Repo
Vector.fastNormalize
liberty
math
vector
Vector
Faster but less accurate in-place normalization.
struct
Vector
(T, ubyte N)
static if
(
isFloatingPoint!T
)
void
fastNormalize
(
)
if
(
N
>= 2 &&
N
<= 4
)
Meta
Source
See Implementation
liberty
math
vector
Vector
aliases
size
type
constructors
this
functions
distanceTo
fastInverseMagnitude
fastNormalize
fastNormalized
getOrthogonalVector
inverseMagnitude
magnitude
normalize
normalized
opAssign
opBinary
opBinaryRight
opCast
opDollar
opEquals
opIndex
opIndexAssign
opOpAssign
opSlice
opUnary
ptr
rotate
squaredDistanceTo
squaredMagnitude
toString
static variables
backward
down
forward
left
one
right
up
zero
unions
__anonymous
Faster but less accurate in-place normalization.