65 Point* initial_spin =
new(__FILE__,__LINE__)
Point();
66 if (spin_rate->
x != 0) initial_spin->
x =
Random(-
PI,
PI);
67 if (spin_rate->
y != 0) initial_spin->
y =
Random(-
PI,
PI);
68 if (spin_rate->
z != 0) initial_spin->
z =
Random(-
PI,
PI);
91 if (g && level >= 0 && level <
levels) {
95 offset =
new(__FILE__,__LINE__)
Point(0,0,0);
104 rate[ nrep-1 ] = spin_rate;
108 Point* initial_spin =
new(__FILE__,__LINE__)
Point();
112 if (spin_rate->
x != 0) initial_spin->
x =
Random(-
PI,
PI);
113 if (spin_rate->
y != 0) initial_spin->
y =
Random(-
PI,
PI);
114 if (spin_rate->
z != 0) initial_spin->
z =
Random(-
PI,
PI);
125 if (level >= 0 && level <
levels)
168 double distance = delta.
length();
170 for (
int i = 1; i < levels && rad[i] > 0; i++) {
171 double apparent_feature_size = (
rad[i] * screen_width) / distance;
173 if (apparent_feature_size > 0.4)
186 if (level >= 0 && level < levels && n >= 0 && n <
rep[level].size())
187 return rep[level].
at(n);
195 if (level >= 0 && level < levels && n >= 0 && n <
off[level].size())
196 return *(
off[level].
at(n));
215 for (
int i = 0; i <
levels; i++) {