source:
cpp/frams/model/defassign-f0-GDK.h
@
117
Last change on this file since 117 was 109, checked in by , 11 years ago | |
---|---|
|
|
File size: 673 bytes |
Rev | Line | |
---|---|---|
[109] | 1 | |
2 | ||
3 | ||
4 | ||
5 | void Part::defassign() | |
6 | { | |
7 | mass=1.0; | |
8 | shape=0; | |
9 | size=1.0; | |
10 | scale.x=1.0; | |
11 | scale.y=1.0; | |
12 | scale.z=1.0; | |
13 | density=1.0; | |
14 | friction=0.4; | |
15 | ingest=0.25; | |
16 | assim=0.25; | |
17 | vis_style="part"; | |
18 | vsize=0.2; | |
19 | vcolor.x=0.5; | |
20 | vcolor.y=0.5; | |
21 | vcolor.z=0.5; | |
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 | void Joint::defassign() | |
57 | { | |
58 | p1_refno=-1; | |
59 | p2_refno=-1; | |
60 | d.x=0; | |
61 | d.y=0; | |
62 | d.z=0; | |
63 | shape=0; | |
64 | stif=1.0; | |
65 | rotstif=1.0; | |
66 | stamina=0.25; | |
67 | vis_style="joint"; | |
68 | vcolor.x=0.5; | |
69 | vcolor.y=0.5; | |
70 | vcolor.z=0.5; | |
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 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | void Neuro::defassign() | |
108 | { | |
109 | part_refno=-1; | |
110 | joint_refno=-1; | |
111 | ||
112 | vis_style="neuro"; | |
113 | } | |
114 | ||
115 | ||
116 | ||
117 | ||
118 | ||
119 | ||
120 | ||
121 | ||
122 | ||
123 | ||
124 | ||
125 | ||
126 | ||
127 | ||
128 | ||
129 | ||
130 | ||
131 | ||
132 | ||
133 | ||
134 | ||
135 | ||
136 | ||
137 | ||
138 | ||
139 | ||
140 | ||
141 | ||
142 | ||
143 | ||
144 | ||
145 | ||
146 | ||
147 | void NeuroConn::defassign() | |
148 | { | |
149 | n1_refno=-1; | |
150 | n2_refno=-1; | |
151 | weight=1.0; | |
152 | } | |
153 | ||
154 | ||
155 | ||
156 | ||
157 | ||
158 | ||
159 | ||
160 | ||
161 | ||
162 | ||
163 | ||
164 | ||
165 | ||
166 | ||
167 | ||
168 | ||
169 | ||
170 | ||
171 |
Note: See TracBrowser
for help on using the repository browser.