perf
This commit is contained in:
parent
78acd0313c
commit
28a664641a
2 changed files with 4 additions and 2 deletions
|
@ -51,6 +51,8 @@
|
||||||
clang
|
clang
|
||||||
trunk
|
trunk
|
||||||
binaryen
|
binaryen
|
||||||
|
hotspot
|
||||||
|
linuxKernel.packages.linux_6_6.perf
|
||||||
];
|
];
|
||||||
|
|
||||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
|
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
|
||||||
|
|
|
@ -25,11 +25,11 @@ enum PausedState {
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let rapier_config = RapierConfiguration {
|
let rapier_config = RapierConfiguration {
|
||||||
scaled_shape_subdivision: 10,
|
scaled_shape_subdivision: 2,
|
||||||
timestep_mode: TimestepMode::Variable {
|
timestep_mode: TimestepMode::Variable {
|
||||||
max_dt: 0.5,
|
max_dt: 0.5,
|
||||||
time_scale: 1.0,
|
time_scale: 1.0,
|
||||||
substeps: 20,
|
substeps: 10,
|
||||||
},
|
},
|
||||||
gravity: Vec2::new(0.0, -9.81 * METER),
|
gravity: Vec2::new(0.0, -9.81 * METER),
|
||||||
physics_pipeline_active: true,
|
physics_pipeline_active: true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue