Пример #1
0
 public static float DotProduct(Vector2D a, Vector2D b)
 {
     return(CPP.ReturnFloat("QVector2D::dotProduct(*($check(a)->$q), *($check(b)->$q))"));
 }
Пример #2
0
 public void Sub(Vector2D other)
 {
     CPP.Add("(*$q.get())-=(*($check(other)->$value()));");
 }