Example #1
0
 /// <summary>
 /// Takes the abs of each component in the given ivec3.
 /// </summary>
 public static ivec3 abs(in ivec3 o) => new ivec3(abs(o.x), abs(o.y), abs(o.z));
Example #2
0
 /// <summary>
 /// Takes the abs of each component in the given ivec2.
 /// </summary>
 public static ivec2 abs(in ivec2 o) => new ivec2(abs(o.x), abs(o.y));