saving
This commit is contained in:
parent
ba73ad5b1c
commit
6279935c7a
|
|
@ -5,11 +5,20 @@
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
origDir = os.path.abspath(os.path.dirname(__file__))
|
||||
shadercrossDir = os.path.join(origDir, 'shadercross')
|
||||
shadercross = os.path.join(shadercrossDir, 'bin/shadercross')
|
||||
from sys import platform
|
||||
|
||||
origDir = os.path.abspath(os.path.dirname(__file__))
|
||||
contentDir = os.path.join(origDir, 'content/')
|
||||
shadercrossDir = os.path.join(origDir, 'shadercross/bin')
|
||||
|
||||
if platform == "linux" or platform == "linux2":
|
||||
shadercrossDir = os.path.join(shadercrossDir, 'linux')
|
||||
elif platform == "darwin":
|
||||
shadercrossDir = os.path.join(shadercrossDir, 'osx')
|
||||
elif platform == "win32":
|
||||
shadercrossDir = os.path.join(shadercrossDir, 'win64')
|
||||
|
||||
shadercross = os.path.join(shadercrossDir, 'shadercross')
|
||||
|
||||
inputFiles = [os.path.abspath(os.path.join(contentDir, x)) for x in os.listdir(contentDir) if x.endswith('.hlsl')]
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue