This commit is contained in:
2026-05-20 20:24:52 +08:00
parent 132b420ca0
commit e4a8cb3d02
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
+2 -2
View File
@@ -31,11 +31,11 @@ Physics* g_physics;
using namespace JPH;
// joltPhysic 是y向上的右手坐标系(只修改重力方向应该也没有问题)
static RVec3 to_rvec3(const Position3& pos)
inline RVec3 to_rvec3(const Position3& pos)
{
return RVec3(pos.x, pos.y, pos.z);
}
static Position3 to_pos3(const RVec3& pos)
inline Position3 to_pos3(const RVec3& pos)
{
return { pos.GetX(), pos.GetY(), pos.GetZ() };
}
+1 -1
View File
@@ -29,7 +29,7 @@
#include "system/dl_midi.h"
#include "script/dl_lua.h"
#include "system/dl_test.h"
#include "/misc/dl_value.h"
#include "misc/dl_value.h"
namespace dl