Parse ior and transmittance of material parameter.
Add .obj sticher example.
This commit is contained in:
38
examples/obj_sticher/premake4.lua
Normal file
38
examples/obj_sticher/premake4.lua
Normal file
@@ -0,0 +1,38 @@
|
||||
lib_sources = {
|
||||
"../../tiny_obj_loader.cc"
|
||||
}
|
||||
|
||||
sources = {
|
||||
"obj_sticher.cc",
|
||||
"obj_writer.cc",
|
||||
}
|
||||
|
||||
-- premake4.lua
|
||||
solution "ObjStickerSolution"
|
||||
configurations { "Release", "Debug" }
|
||||
|
||||
if (os.is("windows")) then
|
||||
platforms { "x32", "x64" }
|
||||
else
|
||||
platforms { "native", "x32", "x64" }
|
||||
end
|
||||
|
||||
includedirs {
|
||||
"../../"
|
||||
}
|
||||
|
||||
-- A project defines one build target
|
||||
project "obj_sticher"
|
||||
kind "ConsoleApp"
|
||||
language "C++"
|
||||
files { lib_sources, sources }
|
||||
|
||||
configuration "Debug"
|
||||
defines { "DEBUG" } -- -DDEBUG
|
||||
flags { "Symbols" }
|
||||
targetname "obj_sticher_debug"
|
||||
|
||||
configuration "Release"
|
||||
-- defines { "NDEBUG" } -- -NDEBUG
|
||||
flags { "Symbols", "Optimize" }
|
||||
targetname "obj_sticher"
|
||||
Reference in New Issue
Block a user