SCI.js
Preparing search index...
@4bitlabs/vec2
round
Function round
round
(
vec
:
Vec2
,
method
?:
RoundingMethodFn
,
out
?:
MutableVec2
)
:
MutableVec2
Round the given vector using method, defaults to Math.round. Puts the result in out.
Parameters
vec
:
Vec2
method
:
RoundingMethodFn
= Math.round
out
:
MutableVec2
= ...
Returns
MutableVec2
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
SCI.js
Loading...
Round the given vector using method, defaults to Math.round. Puts the result in out.