Exemplo n.º 1
0
 public static Vector3 rotate(this Vector3 source, Vector3 axis, float angle)
 {
     return(CVectorUtil.rotate(source, axis, angle));
 }
Exemplo n.º 2
0
 public static Vector2 rotate(this Vector2 source, float angle)
 {
     return(CVectorUtil.rotate(source, angle));
 }
Exemplo n.º 3
0
 public static Vector2 normalize(Vector2 expr, Vector2 alternative, float unit)
 {
     return(CVectorUtil.normalize(expr, alternative, unit));
 }
Exemplo n.º 4
0
 public static Vector2 createVector2(float speed, float angle)
 {
     return(CVectorUtil.createVector2(speed, angle));
 }
Exemplo n.º 5
0
 public static Vector2 normalize(Vector2 expr, Vector2 alternative)
 {
     return(CVectorUtil.normalize(expr, alternative));
 }