mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 19:27:54 +07:00
make calc stuff pkg private again
This commit is contained in:
parent
060152fc29
commit
0fa947bfaa
@ -163,7 +163,7 @@ public class PlanetGrid{
|
||||
return grid;
|
||||
}
|
||||
|
||||
public static void addCorner(int id, PlanetGrid grid, int t1, int t2, int t3){
|
||||
static void addCorner(int id, PlanetGrid grid, int t1, int t2, int t3){
|
||||
Corner c = grid.corners[id];
|
||||
Ptile[] t = {grid.tiles[t1], grid.tiles[t2], grid.tiles[t3]};
|
||||
c.v.set(t[0].v).add(t[1].v).add(t[2].v).nor();
|
||||
@ -173,7 +173,7 @@ public class PlanetGrid{
|
||||
}
|
||||
}
|
||||
|
||||
public static void addEdge(int id, PlanetGrid grid, int t1, int t2){
|
||||
static void addEdge(int id, PlanetGrid grid, int t1, int t2){
|
||||
Edge e = grid.edges[id];
|
||||
Ptile[] t = {grid.tiles[t1], grid.tiles[t2]};
|
||||
Corner[] c = {
|
||||
|
Loading…
Reference in New Issue
Block a user