Compare commits

..

No commits in common. "fbdd8565d18b4568b7d3473d76e0c98dc9698437" and "90edce16f9604490b21731d4e44ab49ed7a240ae" have entirely different histories.

2 changed files with 3 additions and 8 deletions

View File

@ -655,6 +655,7 @@ pub mod ship {
} }
Err(e) => { Err(e) => {
println!("{:?}", e); println!("{:?}", e);
// println!("{:?}", e.provide());
} }
} }
Ok(true) Ok(true)

View File

@ -1303,7 +1303,6 @@ pub mod dr {
/// 由一系列高度定义的某种东西,大概是地面之类的 /// 由一系列高度定义的某种东西,大概是地面之类的
Heightfield(Vec<(Real, Real)>), Heightfield(Vec<(Real, Real)>),
/// 凸分解的复合形状 /// 凸分解的复合形状
/// 就是不知道能不能真用上
Compound(Vec<(Isometry<Real>, SharedShape)>), //凸分解,好像可以略微提升复杂刚体碰撞的性能 Compound(Vec<(Isometry<Real>, SharedShape)>), //凸分解,好像可以略微提升复杂刚体碰撞的性能
} }
@ -1317,17 +1316,12 @@ pub mod dr {
} }
pub struct EngineData { pub struct EngineData {
/// 推力大小if p_type==engine
pub power: f64, pub power: f64,
/// 消耗速率if p_type==engine
pub consumption: f64, pub consumption: f64,
/// 大小if p_type==engine pub size: f64,
// pub size: f64,
/// 转向范围if p_type==engine
pub turn: f64, pub turn: f64,
/// 燃料类型if p_type==engine
pub fuel_type: f64, pub fuel_type: f64,
// pub throttle_exponential: f64, pub throttle_exponential: f64,
} }
pub trait DRPartTypeAttrTrait { pub trait DRPartTypeAttrTrait {