Table of Contents

Method Round

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

Round(Vector3Double, MidpointRounding)

public static Vector3Int32 Round(Vector3Double vec, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

vec Vector3Double
mode MidpointRounding

Returns

Vector3Int32

Round(Vector3Float, MidpointRounding)

public static Vector3Int32 Round(Vector3Float vec, MidpointRounding mode = MidpointRounding.AwayFromZero)

Parameters

vec Vector3Float
mode MidpointRounding

Returns

Vector3Int32