Table of Contents

Method b3ClampInt

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3ClampInt(int, int, int)

Clamps an integer to a range.

public static int b3ClampInt(int a, int lower, int upper)

Parameters

a int

The value to clamp.

lower int

The lower bound.

upper int

The upper bound.

Returns

int

The clamped value.