From 6c236da6751a2e1e1e51e0bc6065bbfa35cf4108 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Thu, 12 Dec 2024 14:19:15 +0800 Subject: [PATCH] feat: add rotation gizmo asset + resource file --- thermion_dart/hook/build.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/thermion_dart/hook/build.dart b/thermion_dart/hook/build.dart index 315f8c2a..e5626903 100644 --- a/thermion_dart/hook/build.dart +++ b/thermion_dart/hook/build.dart @@ -76,7 +76,8 @@ void main(List args) async { path.join(pkgRootFilePath, "native", "include", "material", "grid.c"), path.join(pkgRootFilePath, "native", "include", "material", "unlit.c"), path.join(pkgRootFilePath, "native", "include", "material", "gizmo.c"), - path.join(pkgRootFilePath, "native", "include", "resources", "gizmo_glb.c"), + path.join(pkgRootFilePath, "native", "include", "resources", "translation_gizmo_glb.c"), + path.join(pkgRootFilePath, "native", "include", "resources", "rotation_gizmo_glb.c"), ]); var libs = [ @@ -117,7 +118,9 @@ void main(List args) async { libs.add("stdc++"); } final flags = []; //"-fsanitize=address"]; - final defines = {}; + final defines = { + // "ENABLE_TRACING":"1" + }; var frameworks = []; if (platform != "windows") {