Minor code simplification for the 3D heightfield example.

This commit is contained in:
Crozet Sébastien
2021-01-22 16:11:10 +01:00
parent d9ca11834e
commit aa838279a6

View File

@@ -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)
}
});