voxelman v0.9.0 (2022-05-10T16:23:35Z)
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