<commit_before># vim: set shiftwidth=2 tabstop=2 softtabstop=2 expandtab:

console.log "Hello"

createGame = require 'voxel-engine'
highlight = require 'voxel-highlight'
player = require 'voxel-player'
voxel = require 'voxel'
extend = require 'extend'
fly = require 'voxel-fly'
walk = require 'voxel-walk'

module.exports = (opts, setup) ->
  setup ||= defaultSetup
  console.log "initializing"

  defaults =
    generate: voxel.generator['Valley']
    chunkDistance: 2
    materials: [
      ['grass_top', 'dirt', 'grass_side'],
      'dirt',
      ['log_oak_top', 'log_oak_top', 'log_oak'],
      'stone',<commit_msg>Use fast greedy mesher. Closes GH-10<commit_after># vim: set shiftwidth=2 tabstop=2 softtabstop=2 expandtab:

console.log "Hello"

createGame = require 'voxel-engine'
highlight = require 'voxel-highlight'
player = require 'voxel-player'
voxel = require 'voxel'
extend = require 'extend'
fly = require 'voxel-fly'
walk = require 'voxel-walk'

module.exports = (opts, setup) ->
  setup ||= defaultSetup
  console.log "initializing"

  defaults =
    generate: voxel.generator['Valley']
    mesher: voxel.meshers.greedy
    chunkDistance: 2
    materials: [
      ['grass_top', 'dirt', 'grass_side'],
      'dirt',
      ['log_oak_top', 'log_oak_top', 'log_oak'],
      'stone',
{'fraction_non_alphanumeric': 0.14142194744976816, 'fraction_numerical': 0.0077279752704791345, 'mean_word_length': 4.138888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6737206', 'n_tokens_mistral': 479, 'n_tokens_neox': 454, 'n_words': 108}