Table of Contents

Class Bounds

Namespace
Coherence.Utils
Assembly
Coherence.Utils.dll
public class Bounds
Inheritance
Bounds

Constructors

Bounds()

public Bounds()

Methods

Check(int, int, int, string, Logger)

[Conditional("DEBUG")]
public static void Check(int value, int min, int max, string variableName, Logger logger)

Parameters

value int
min int
max int
variableName string
logger Logger

Check(float, float, float, string, Logger)

[Conditional("DEBUG")]
public static void Check(float value, float min, float max, string variableName, Logger logger)

Parameters

value float
min float
max float
variableName string
logger Logger

Check(uint, uint, uint, string, Logger)

[Conditional("DEBUG")]
public static void Check(uint value, uint min, uint max, string variableName, Logger logger)

Parameters

value uint
min uint
max uint
variableName string
logger Logger

CheckPositionForNanAndInfinity(ref Vector3, Logger)

public static void CheckPositionForNanAndInfinity(ref Vector3 value, Logger logger)

Parameters

value Vector3
logger Logger

Clamp(int, int, int)

public static int Clamp(int value, int min, int max)

Parameters

value int
min int
max int

Returns

int

Clamp(uint, uint, uint)

public static uint Clamp(uint value, uint min, uint max)

Parameters

value uint
min uint
max uint

Returns

uint