Update README.org
This commit is contained in:
parent
77166cc921
commit
b6f5766a07
|
@ -295,12 +295,12 @@ function main(int argc, str[] argv) {
|
||||||
}
|
}
|
||||||
splitbox(parent.size, 0.75) {
|
splitbox(parent.size, 0.75) {
|
||||||
canvas() {
|
canvas() {
|
||||||
model(Floor([0,0,0], 30));
|
model(Floor([0, 0, 0], 30));
|
||||||
me.update();
|
me.update();
|
||||||
model(Cube(me.pos, [0.5r,0.5r,0.5r], me.color));
|
model(Cube(me.pos, [0.5,0.5,0.5], me.color));
|
||||||
if (Player[] others = me.server.read("players")) {
|
if (Player[] others = me.server.read("players")) {
|
||||||
for (p in others) {
|
for (p in others) {
|
||||||
model(Cube(p.pos, [0.5r,0.5r,0.5r], p.color));
|
model(Cube(p.pos, [0.5,0.5,0.5], p.color));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue