-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproperties.h
More file actions
39 lines (26 loc) · 857 Bytes
/
Copy pathproperties.h
File metadata and controls
39 lines (26 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef properties_h
#define properties_h
#include "vector3d.h"
//G was so small the precision was not large enough, in some cases the force needed to be replaced by epsilon
//solar mass was a way to scale the mass if necessary
const double solarMass = 1;
//light particles are the fastest
double velocityLightMin = 11;
double velocityLightMax = 15;
double velocityMediumMin = 6;
double velocityMediumMax = 10;
//heavy particles are the slowest
double velocityHeavyMin = 1;
double velocityHeavyMax = 5;
//mass
double massLightMin = 1*solarMass;
double massLightMax = 5*solarMass;
double massMediumMin = 6*solarMass;
double massMediumMax = 10*solarMass;
double massHeavyMin = 11*solarMass;
double massHeavyMax = 15*solarMass;
//colours
//vec3 colourLight = vec3(0,0,1);
//vec3 colourMedium = vec3(0,1,0);
//vec3 colourHeavy = vec3(1,0,0);
#endif