67 |
public void place(Cell c, Object o, float fract, int x0, int y0, int x1, int y1, |
public void place(Cell c, Object o, float fract, int x0, int y0, int x1, int y1, |
68 |
int depth, float rot) { |
int depth, float rot) { |
69 |
// p("Place "+c+" "+fract+" "+x0+" "+y0+" "+x1+" "+y1+" "+depth); |
// p("Place "+c+" "+fract+" "+x0+" "+y0+" "+x1+" "+y1+" "+depth); |
70 |
int cs = vs.coords.coordsys(into, depth, x0, y0, x1-x0, y1-y0); |
int cs = vs.coords.ortho(into, depth, x0, y0, x1-x0, y1-y0); |
71 |
vs.matcher.add(cs, c); |
vs.matcher.add(cs, c); |
72 |
vs.map.put(cellImage, cs); |
vs.map.put(cellImage, cs); |
73 |
} |
} |