sily v3.0.0 (2023-10-17T16:22:24Z)
Dub
Repo
Vector.reflect
sily
vector
Vector
Calculates reflected vector to normal
struct
Vector
(T, size_t N)
VecType
reflect
(
VecType
normal
)
if
(
isNumeric
!
T
&&
N
> 0
)
Meta
Source
See Implementation
sily
vector
Vector
aliases
VecType
dataType
isNormalised
normalise
normalised
constructors
this
functions
abs
angle
angleTo
ceil
clamp
clamped
copyof
cross
distanceSquaredTo
distanceTo
dot
floor
isClose
isNormalized
length
lengthSquared
lerp
limitLength
max
min
moveTowards
normalize
normalized
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
perpendicular
ptr
reflect
refract
rotate
round
sign
snap
snapped
toHash
toString
unproject
mixins
__anonymous
variables
data
size
Calculates reflected vector to normal