1
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
@@ -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() };
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user