From 9306ce246f61ee015a32ba72e10e5ec4912e5ad3 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Tue, 7 Mar 2023 19:28:51 +0100 Subject: [PATCH] Re-enable demo using Physics3D on web --- examples/PhysicsDemo/xmake.lua | 4 ---- examples/Showcase/xmake.lua | 4 ---- examples/Tut00/xmake.lua | 4 ---- 3 files changed, 12 deletions(-) diff --git a/examples/PhysicsDemo/xmake.lua b/examples/PhysicsDemo/xmake.lua index 375312464..ed19da755 100644 --- a/examples/PhysicsDemo/xmake.lua +++ b/examples/PhysicsDemo/xmake.lua @@ -1,7 +1,3 @@ -if is_plat("wasm") then - return -- Physics3D is not yet supported on wasm because of Newton -end - target("PhysicsDemo") add_deps("NazaraGraphics", "NazaraPhysics3D") add_packages("entt") diff --git a/examples/Showcase/xmake.lua b/examples/Showcase/xmake.lua index 061bdab4d..294193c68 100644 --- a/examples/Showcase/xmake.lua +++ b/examples/Showcase/xmake.lua @@ -2,10 +2,6 @@ if not has_config("assimp") then return end -if is_plat("wasm") then - return -- Physics3D is not yet supported on wasm because of Newton -end - target("Showcase") set_group("Examples") set_kind("binary") diff --git a/examples/Tut00/xmake.lua b/examples/Tut00/xmake.lua index c12fcf1d1..0a5322b56 100644 --- a/examples/Tut00/xmake.lua +++ b/examples/Tut00/xmake.lua @@ -1,7 +1,3 @@ -if is_plat("wasm") then - return -- Physics3D is not yet supported on wasm because of Newton -end - target("Tut00_EmptyProject") add_deps("NazaraAudio", "NazaraGraphics", "NazaraNetwork", "NazaraPhysics2D", "NazaraPhysics3D", "NazaraRenderer", "NazaraUtility") add_files("main.cpp")