Fix warning when targetting wasm.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user