API
Babylon Lite API
|
normalizeVec3InPlace
…
|
Babylon Lite API
|
normalizeVec3InPlace
normalizeVec3InPlace
Function normalizeVec3InPlace
normalizeVec3InPlace
(
target
:
Vec3
,
epsilon
?:
number
)
:
Vec3
Normalize
target
in place, writing zero for degenerate input.
Parameters
target
:
Vec3
epsilon
:
number
= 1e-10
Returns
Vec3
Normalize
targetin place, writing zero for degenerate input.