gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
isVec
gfx
math
vec
Check whether VecT is a Vec
template
isVec
(VecT)
pure @
safe
nothrow @
nogc
template
isVec (
VecT
) {
import
std
.
traits
:
TemplateOf
;
;
pure @
safe
nothrow @
nogc
static if
(
is(typeof(__traits(isSame, TemplateOf!VecT, Vec)))
)
enum
isVec
;
pure @
safe
nothrow @
nogc
static if
(!(
is(typeof(__traits(isSame, TemplateOf!VecT, Vec)))
))
enum
isVec
;
}
template
isVec
(size_t N, VecT)
Members
Manifest constants
isVec
enum
isVec
;
Undocumented in source.
isVec
enum
isVec
;
Undocumented in source.
Meta
Source
See Implementation
gfx
math
vec
aliases
DVec
DVec2
DVec3
DVec4
FVec
FVec2
FVec3
FVec4
IVec
IVec2
IVec3
IVec4
Vec2
Vec3
Vec4
dvec
fvec
ivec
vec2
vec3
vec4
enums
isVec2
isVec3
isVec4
numComps
functions
compTup
vec
structs
Vec
templates
CompTup
cross
dot
isVec
magnitude
normalize
squaredMag
Check whether VecT is a Vec