From 3b9bd1188e932e6bb8041f7bb9afbf3ce75e26d3 Mon Sep 17 00:00:00 2001 From: Alexdoru <57050655+Alexdoru@users.noreply.github.com> Date: Wed, 2 Oct 2024 07:31:08 +0200 Subject: Cleanup the codebase (#3311) Co-authored-by: boubou19 --- src/main/java/galacticgreg/generators/GenEllipsoid.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/galacticgreg/generators') diff --git a/src/main/java/galacticgreg/generators/GenEllipsoid.java b/src/main/java/galacticgreg/generators/GenEllipsoid.java index 432260a696..1ffc479a5b 100644 --- a/src/main/java/galacticgreg/generators/GenEllipsoid.java +++ b/src/main/java/galacticgreg/generators/GenEllipsoid.java @@ -14,7 +14,7 @@ import galacticgreg.api.StructureInformation; /** * Simple ellipsoid-generator. Based on the formular created by Chrysator. Thanks for the help! - * + *

* Generates a simple ellipsoid with dynamic rotation, random size-values, random noise for the surface, etc. Can * probably be tweaked even more, but works for now... */ @@ -24,8 +24,8 @@ public class GenEllipsoid implements ISpaceObjectGenerator { private Random _mRandom; private List _mStructure; - private double _mCoreDensity = 0.7D; - private double _mSineFactor = 0.05D; + private final double _mCoreDensity = 0.7D; + private final double _mSineFactor = 0.05D; private float _mRandomInfluence; private float _mRandomAngleX; private float _mRandomAngleY; -- cgit