diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-01-22 16:11:10 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-01-22 16:11:10 +0100 |
| commit | aa838279a69cc287291d9079f1b82114f1339d7a (patch) | |
| tree | cb6143c002c7771428261dc4847ea3b24e209b6b | |
| parent | d9ca11834e6fa4454231198f98f6403ff4280ca2 (diff) | |
| download | rapier-aa838279a69cc287291d9079f1b82114f1339d7a.tar.gz rapier-aa838279a69cc287291d9079f1b82114f1339d7a.tar.bz2 rapier-aa838279a69cc287291d9079f1b82114f1339d7a.zip | |
Minor code simplification for the 3D heightfield example.
| -rw-r--r-- | examples3d/heightfield3.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples3d/heightfield3.rs b/examples3d/heightfield3.rs index bc2ac98..7bf4061 100644 --- a/examples3d/heightfield3.rs +++ b/examples3d/heightfield3.rs @@ -27,7 +27,7 @@ pub fn init_world(testbed: &mut Testbed) { // NOTE: make sure we use the sin/cos from simba to ensure // cross-platform determinism of the example when the // enhanced_determinism feature is enabled. - <f32 as ComplexField>::sin(x) + <f32 as ComplexField>::cos(z) + ComplexField::sin(x) + ComplexField::cos(z) } }); |
