Skip to content

Commit

Permalink
Re-add missing constants
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed May 12, 2019
1 parent 3b23759 commit 9c94075
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/net/citizensnpcs/api/ai/flocking/Flocker.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,13 @@ private static Vector clip(double max, Vector vector) {
}
return vector;
}

/**
* Sample weight indicating high amount of influence from flocking.
*/
public static double HIGH_INFLUENCE = 1.0 / 20.0;
/**
* Sample weight indicating low amount of influence from flocking.
*/
public static double LOW_INFLUENCE = 1.0 / 200.0;
}

0 comments on commit 9c94075

Please sign in to comment.