Makes the two constructors const. Nothing else can be constified because they're setters (which require &mut): the two fields that this is a limitation for are transform_type_3d and fractal_bounding, as they are private. Others require float ops, and are thus also barred (such as get_noise_2d).
If/when constant float ops are stabilized, this might warrant being revisited.
Makes the two constructors
const
. Nothing else can beconst
ified because they're setters (which require&mut
): the two fields that this is a limitation for aretransform_type_3d
andfractal_bounding
, as they are private. Others require float ops, and are thus also barred (such asget_noise_2d
).If/when constant float ops are stabilized, this might warrant being revisited.