Preparing search index...
The search index is not available
SCI.js
SCI.js
@4bitlabs/vec2
round
Function round
Round the given vector using method, defaults to Math.round. Puts the result in out.
round
(
vec
,
method
?
,
out
?
)
:
MutableVec2
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.