mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-06 00:08:10 +07:00
make calc stuff pkg private again
This commit is contained in:
@ -163,7 +163,7 @@ public class PlanetGrid{
|
|||||||
return grid;
|
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];
|
Corner c = grid.corners[id];
|
||||||
Ptile[] t = {grid.tiles[t1], grid.tiles[t2], grid.tiles[t3]};
|
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();
|
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];
|
Edge e = grid.edges[id];
|
||||||
Ptile[] t = {grid.tiles[t1], grid.tiles[t2]};
|
Ptile[] t = {grid.tiles[t1], grid.tiles[t2]};
|
||||||
Corner[] c = {
|
Corner[] c = {
|
||||||
|
Reference in New Issue
Block a user