mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
ability to pass enhanced-determinism feature to rapier3d/2d
- doc fix - incorrect import fix
This commit is contained in:
@@ -44,6 +44,7 @@ imageproc = "0.22.0"
|
||||
[features]
|
||||
enable_profiler = ["rg3d-core/enable_profiler"]
|
||||
serde_integration = ["glutin/serde", "serde"]
|
||||
enhanced-determinism = ["rapier3d/enhanced-determinism", "rapier2d/enhanced-determinism"]
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
glutin = "0.27.0"
|
||||
|
||||
@@ -335,7 +335,7 @@ impl SoundContext {
|
||||
///
|
||||
/// This method internally locks a mutex, so if you'll try to do something like this:
|
||||
///
|
||||
/// ```norun
|
||||
/// ```no_run
|
||||
/// # use rg3d_sound::context::SoundContext;
|
||||
/// # let ctx = SoundContext::new();
|
||||
/// let state = ctx.state();
|
||||
|
||||
@@ -6,7 +6,6 @@ use crate::{
|
||||
math::Rect,
|
||||
pool::Handle,
|
||||
},
|
||||
physics::parry::utils::hashmap::Entry,
|
||||
renderer::{
|
||||
framework::{
|
||||
error::FrameworkError,
|
||||
@@ -24,7 +23,11 @@ use crate::{
|
||||
scene2d::{light::Light, node::Node, Scene2d, Scene2dContainer},
|
||||
utils::log::{Log, MessageKind},
|
||||
};
|
||||
use std::{cell::RefCell, collections::HashMap, rc::Rc};
|
||||
use std::{
|
||||
cell::RefCell,
|
||||
collections::hash_map::{Entry, HashMap},
|
||||
rc::Rc,
|
||||
};
|
||||
|
||||
mod cache;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user