From aa838279a69cc287291d9079f1b82114f1339d7a Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Fri, 22 Jan 2021 16:11:10 +0100 Subject: Minor code simplification for the 3D heightfield example. --- examples3d/heightfield3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. - ::sin(x) + ::cos(z) + ComplexField::sin(x) + ComplexField::cos(z) } }); -- cgit