phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
Vector.this
nxt
geometry
Vector
Construct from Scalar
value
.
this
(S scalar)
struct
Vector
(E, uint D, bool normalizedFlag = false, Orient orient = Orient.column)
this
(
S
)
(
S
scalar
)
if
(
isAssignable
!(
E
,
S
)
)
if
(
D
>= 1 &&
(
!
normalizedFlag
||
isFloatingPoint
!
E
)
)
this
(Args args)
Meta
Source
See Implementation
nxt
geometry
Vector
constructors
this
functions
clear
magnitude
magnitudeSquared
normalize
normalized
nrnNorm
ok
opBinary
opBinaryRight
opIndex
opOpAssign
opSlice
toLaTeX
update
templates
coordToIndex
variables
_vector
Construct from Scalar value.