Click or drag to resize

MathExtensions Class

Common mathematical conversions and utilities.
Inheritance Hierarchy
SystemObject
  LightBuzz.VitruviusMathExtensions

Namespace:  LightBuzz.Vitruvius
Assembly:  LightBuzz.Vitruvius (in LightBuzz.Vitruvius.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static class MathExtensions

The MathExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClamp(Int32, Int32, Int32)
Clumps the current value to the specified minimum and maximum values.
Public methodStatic memberClamp(Single, Single, Single)
Clumps the current value to the specified minimum and maximum values.
Public methodStatic memberLerp
Lerps the current value to the specified limits.
Public methodStatic memberRoundToInt
Rounds the current floating-point number to its nearest integer.
Top
See Also