summaryrefslogtreecommitdiffhomepage
path: root/Stars45/DetailSet.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/DetailSet.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/DetailSet.cpp')
-rw-r--r--Stars45/DetailSet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/DetailSet.cpp b/Stars45/DetailSet.cpp
index 0181005..6aec815 100644
--- a/Stars45/DetailSet.cpp
+++ b/Stars45/DetailSet.cpp
@@ -193,7 +193,7 @@ DetailSet::GetDetailLevel()
for (int i = 1; i < levels && rad[i] > 0; i++) {
double apparent_feature_size = (rad[i] * screen_width) / distance;
-
+
if (apparent_feature_size > 0.4)
index = i;
}
@@ -210,7 +210,7 @@ DetailSet::GetRep(int level, int n)
if (level >= 0 && level < levels && n >= 0 && n < rep[level].size())
return rep[level].at(n);
- return 0;
+ return 0;
}
Point
@@ -219,7 +219,7 @@ DetailSet::GetOffset(int level, int n)
if (level >= 0 && level < levels && n >= 0 && n < off[level].size())
return *(off[level].at(n));
- return Point();
+ return Point();
}
Point