aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples3d/heightfield3.rs2
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)
}
});