feat: add rotation gizmo asset + resource file

This commit is contained in:
Nick Fisher
2024-12-12 14:19:15 +08:00
parent 6b883f3352
commit 6c236da675

View File

@@ -76,7 +76,8 @@ void main(List<String> 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<String> args) async {
libs.add("stdc++");
}
final flags = []; //"-fsanitize=address"];
final defines = <String, String?>{};
final defines = <String, String?>{
// "ENABLE_TRACING":"1"
};
var frameworks = [];
if (platform != "windows") {