phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
Vector.set
nxt
geometry
Vector
Undocumented in source. Be warned that the author may not have intended to support it.
void
set
(E x, E y)
void
set
(E x, E y, E z)
void
set
(E x, E y, E z, E w)
struct
Vector
(E, uint D, bool normalizedFlag = false, Orient orient = Orient.column)
static if
(!(
D == 2
))
static if
(!(
D == 3
))
static if
(
D == 4
)
void
set
(
E
x
,
E
y
,
E
z
,
E
w
)
if
(
D
>= 1 &&
(
!
normalizedFlag
||
isFloatingPoint
!
E
)
)
Meta
Source
See Implementation
nxt
geometry
Vector
aliases
norm
w
x
y
z
constructors
this
enums
isCompatibleMatrix
isCompatibleVector
functions
clear
normalize
nrnNorm
opBinary
opBinaryRight
opCast
opEquals
opIndex
opOpAssign
opSlice
opUnary
randInPlace
set
toString
update
manifest constants
dimension
properties
joinString
magnitude
magnitudeSquared
normalized
ok
orientationString
toLaTeX
toMathML
static functions
isCompatibleMatrixImpl
isCompatibleVectorImpl
static variables
E0
E1
e1
e2
e3
e4
templates
coordToIndex
variables
_vector