view tests/test_resources.nim @ 686:c671452564cd

fix: a ton of bug after refactoring gpu_data, start to add ideas for materials
author Sam <sam@basx.dev>
date Mon, 15 May 2023 18:24:32 +0700
parents 496b328faa43
children 5f6d3511ef79
line wrap: on
line source

import std/times

import semicongine

proc main() =
  echo "Mods available: ", modList()
  for modName in modList():
    echo modName, ":"
    selectedMod = modName
    for i in walkResources():
      echo "  ", i, ": ", loadResource(i)[]

when isMainModule:
  main()