selery ~master (2019-01-01T00:21:55Z)
Dub
Repo
Vector3
selery
math
vector
Vector for coordinates storing and operations.
struct
Vector
(T, char[] c)
alias
Vector
(
T
,
string
coords
)
=
Vector
!(
T
,
coords
.
dup
)
alias
Vector2
(
T
)
=
Vector
!(
T
,
"xz"
)
alias
Vector3
(
T
)
=
Vector
!(
T
,
"xyz"
)
alias
Vector3
(
T
)
=
Vector
!(
T
, "xyz")
alias
Vector4
(
T
)
=
Vector
!(
T
,
"xyzw"
)
Meta
Source
See Implementation
selery
math
vector
aliases
BlockAxis
BlockPosition
ChunkPosition
EntityAxis
EntityPosition
Vector2
Vector3
Vector4
classes
Box
ClassicBlockBox
ClassicBox
ClassicEntityBox
enums
Face
functions
abs
ceil
conv
cross
distance
distanceSquared
dot
floor
isFinite
isNaN
mathFunction
round
tuple
vector
properties
blockPosition
blockPositionShort
entityPosition
face
shortBlockPosition
structs
Vector
variables
isVector
Vector for coordinates storing and operations.