round

fnfloat round(float x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.

fnVec2 round(Vec2 x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.

fnVec3 round(Vec3 x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.

fnVec4 round(Vec4 x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.

fnDVec2 round(DVec2 x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.

fnDVec3 round(DVec3 x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.

fnDVec4 round(DVec4 x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.

fnRect round(Rect x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.

fnCirc round(Circ x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.

fnLine round(Line x) @trusted @safe nothrow @nogc

Returns the nearest integer to x.