DemiLib
A collection of Demigiant's utility libraries for Unity (https://github.com/Demigiant/demilib)
DG.DeUtils.DeMathUtils Class Reference

Static Public Member Functions

static float ClampAngle (float angle, float min, float max)
 Clamps an angle between the given values. More...
 

Member Function Documentation

static float DG.DeUtils.DeMathUtils.ClampAngle ( float  angle,
float  min,
float  max 
)
static

Clamps an angle between the given values.

Taken from wydoidoit's code on Unity Answers http://answers.unity3d.com/questions/659932/how-do-i-clamp-my-rotation.html


The documentation for this class was generated from the following file: