MCPcopy Create free account
hub / github.com/boy0001/FastAsyncWorldedit / round

Method round

core/src/main/java/com/sk89q/worldedit/Vector.java:656–658  ·  view source on GitHub ↗

Rounds all components to the closest integer. Components < 0.5 are rounded down, otherwise up. @return a new vector

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

pastePositionDirectMethod · 0.95
runMethod · 0.45
MathManClass · 0.45
usqrtMethod · 0.45
inverseRoundMethod · 0.45
averageMethod · 0.45
getVertexMethod · 0.45
buildMethod · 0.45
ClipboardSplineMethod · 0.45
pasteBlocksMethod · 0.45
rotate2DMethod · 0.45
drawLineMethod · 0.45

Calls 4

getXMethod · 0.95
getYMethod · 0.95
getZMethod · 0.95
floorMethod · 0.45

Tested by

no test coverage detected