コード例 #1
0
ファイル: Force.java プロジェクト: sutorei/gephi-plugins
 public void subtract(Force other) {
   if (other != null) {
     x -= other.x();
     y -= other.y();
   }
 }
コード例 #2
0
ファイル: Force.java プロジェクト: sutorei/gephi-plugins
 public void add(Force other) {
   if (other != null) {
     x += other.x();
     y += other.y();
   }
 }