Fix warning when targetting wasm.

This commit is contained in:
Crozet Sébastien
2021-03-07 11:55:10 +01:00
parent bed47a82e7
commit 4cb1f5c692

View File

@@ -90,6 +90,7 @@ pub(crate) struct VelocityConstraintTangentPart {
pub r: [Real; DIM - 1], pub r: [Real; DIM - 1],
} }
#[cfg(not(target_arch = "wasm32"))]
impl VelocityConstraintTangentPart { impl VelocityConstraintTangentPart {
fn zero() -> Self { fn zero() -> Self {
Self { Self {