Exemple #1
0
 public static PVector3 Clamp01(PVector3 value)
 {
     return(Clamp(value));
 }
Exemple #2
0
 public static PVector3 Clamp(PVector3 value, float min = 0f, float max = 1f)
 {
     return(new PVector3(Clamp(value.x, min, max), Clamp(value.y, min, max), Clamp(value.z, min, max)));
 }