-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathschema.fbs
More file actions
102 lines (96 loc) · 2.03 KB
/
Copy pathschema.fbs
File metadata and controls
102 lines (96 loc) · 2.03 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
struct View_Settings {
circular_particles: bool;
render_rot: bool;
render_bonds: bool;
render_outline: bool;
render_bp_grid: bool;
color_code_rot: bool;
use_particle_color_outline: bool;
outline_color_r: float;
outline_color_g: float;
outline_color_b: float;
background_color_r: float;
background_color_g: float;
background_color_b: float;
color_source: int;
dim_slow_particles: bool;
max_brightness_vel: float;
crt_res: int;
grain: bool;
grain_strength: float;
grain_size: int;
sobel: bool;
colored_sobel: bool;
invert: bool;
chrom_ab: bool;
abb_strength: float;
bond_highlight_strength: float;
render_unbonded_contacts: bool;
lighting: bool;
show_hit_tex: bool;
}
struct Setup_Settings {
particles: int;
max_radius: float;
variable_rad: bool;
holeyness: float;
max_h_velocity: float;
min_h_velocity: float;
max_v_velocity: float;
min_v_velocity: float;
grid_width: float;
hex_grid: bool;
}
struct Simulation_Settings {
timestep: float;
gen_per_frame: int;
auto_width: bool;
width: float;
height: float;
maintain_ar: bool;
round_walls: bool;
wall_radius: float;
d3: bool;
x_timesteps: int;
}
struct Physics_Settings {
gravity: bool;
g_force: float;
planet_mode: bool;
mouse_gravity: bool;
collisions: bool;
collision_interval: int;
friction_coef: float;
bond: int;
bond_normal_stiffness: float;
bond_shear_stiffness: float;
bond_normal_strength: float;
bond_shear_strength: float;
moment_contribution_factor: float;
local_damping: bool;
local_damping_alpha: float;
}
struct Settings {
view_settings: View_Settings;
setup_settings: Setup_Settings;
sim_settings: Simulation_Settings;
physics_settings: Physics_Settings;
}
table State {
pos: [float];
vel: [float];
acc: [float];
rot: [float];
rot_vel: [float];
rot_acc: [float];
forces: [float];
radii: [float];
fixity: [int];
bonds: [int];
contacts: [float];
material_pointers: [int];
materials: [float];
groups: [int];
settings: Settings;
}
root_type State;