Add sleep to avoid 100% busy CPU loop in PhysicsServerExample

Added btClock::usleep
Fix broken TinyRenderer example code.
This commit is contained in:
erwin coumans
2016-08-13 12:21:18 -07:00
parent 238ba8c642
commit 3bdcf23a05
9 changed files with 61 additions and 13 deletions

View File

@@ -96,8 +96,8 @@ end
if os.is("Windows") then
default_python_include_dir = "C:/Python34/include"
default_python_lib_dir = "C:/Python34/libs"
default_python_include_dir = "C:\Python-3.5.2/include"
default_python_lib_dir = "C:/Python-3.5.2/libs"
end
newoption
@@ -164,7 +164,7 @@ end
platforms {"x32"}
end
else
platforms {"x64"}
platforms {"x32","x64"}
end
configuration {"x32"}