voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
alignOnAxis
voxelman
math
utils
Returns offset to add to object position
T
alignOnAxis
(
T
)
(
T
objSize
,
Alignment
alignment
,
T
areaSize
)
Meta
Source
See Implementation
voxelman
math
utils
enums
Alignment
functions
abs
alignOnAxis
distance
divCeil
isAlmostZero
lerpClamp
lerpMovement
nansToZero
nextPOT
set_flag
toggle_bool
toggle_flag
vector_clamp
vector_max
vector_min
Returns offset to add to object position