diff options
author | Alexdoru <57050655+Alexdoru@users.noreply.github.com> | 2024-10-02 07:31:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-02 05:31:08 +0000 |
commit | 3b9bd1188e932e6bb8041f7bb9afbf3ce75e26d3 (patch) | |
tree | 107d9d2442891990ef1cdef1d8bb2df6bb96952a /src/main/java/galacticgreg/generators | |
parent | bfc7b2b07f72d0903a70791ff96f9c837ddd5ff0 (diff) | |
download | GT5-Unofficial-3b9bd1188e932e6bb8041f7bb9afbf3ce75e26d3.tar.gz GT5-Unofficial-3b9bd1188e932e6bb8041f7bb9afbf3ce75e26d3.tar.bz2 GT5-Unofficial-3b9bd1188e932e6bb8041f7bb9afbf3ce75e26d3.zip |
Cleanup the codebase (#3311)
Co-authored-by: boubou19 <miisterunknown@gmail.com>
Diffstat (limited to 'src/main/java/galacticgreg/generators')
-rw-r--r-- | src/main/java/galacticgreg/generators/GenEllipsoid.java | 6 |
1 files changed, 3 insertions, 3 deletions
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! - * + * <p> * 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<StructureInformation> _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; |