Skip to content

Commit cac9fe1

Browse files
committed
Merge pull request #89 from deathcap/readme-cleanup2
Update example defaults in readme
2 parents 5f336d6 + 2d82fc1 commit cac9fe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Returns a new game instance. `options` defaults to:
2626
{
2727
texturePath: './textures/',
2828
generate: function(x,y,z) {
29-
return x*x+y*y+z*z <= 20*20 ? 1 : 0 // sphere world
29+
return x*x+y*y+z*z <= 15*15 ? 1 : 0 // sphere world
3030
},
3131
materials: [['grass', 'dirt', 'grass_dirt'], 'brick', 'dirt'],
3232
materialFlatColor: false,
@@ -37,7 +37,7 @@ Returns a new game instance. `options` defaults to:
3737
lightsDisabled: false,
3838
fogDisabled: false,
3939
generateChunks: true,
40-
mesher: voxel.meshers.greedy,
40+
mesher: voxel.meshers.culled,
4141
playerHeight: 1.62
4242
}
4343
```

0 commit comments

Comments
 (0)