mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-08 04:41:51 +09:00
Make package names comply with the naming conventions, new player tester "Cynthia", creature-making factories now use CreatureRawInjector to create their ActorValues.
Former-commit-id: f924467637c8e34ecc9b2ffd00b343253c40aaf7 Former-commit-id: 7779de4420c27e06ee17e8576b643c366d434ef8
This commit is contained in:
@@ -577,9 +577,9 @@ final public class FastMath {
|
||||
/**
|
||||
* Given 3 points in a 2d plane, this function computes if the points going from A-B-C
|
||||
* are moving counter clock wise.
|
||||
* @param p0 Point 0.
|
||||
* @param p1 Point 1.
|
||||
* @param p2 Point 2.
|
||||
* @param p0 point 0.
|
||||
* @param p1 point 1.
|
||||
* @param p2 point 2.
|
||||
* @return 1 If they are CCW, -1 if they are not CCW, 0 if p2 is between p0 and p1.
|
||||
*/
|
||||
public static int counterClockwise(Vector2f p0, Vector2f p1, Vector2f p2) {
|
||||
|
||||
Reference in New Issue
Block a user