質問編集履歴
1
関数名の補足
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,12 +8,15 @@
|
|
8
8
|
|
9
9
|
よろしくお願いいたします。
|
10
10
|
|
11
|
+
Rand():0~1までの乱数を発生させる
|
12
|
+
M_PI:円周率3.14....
|
13
|
+
|
11
14
|
--------------------------------------------------------------
|
12
15
|
x0 = -75.*mm, y0 = -75.*mm, z0 = 0.*mm;
|
13
16
|
dx0 = 8.*mm, dy0 = 16.*mm, dz0 = 0.*mm;
|
14
17
|
|
15
|
-
xx = dx0*(
|
18
|
+
xx = dx0*(Rand()-0.5);
|
16
|
-
yy = dy0*(
|
19
|
+
yy = dy0*(Rand()-0.5);
|
17
20
|
|
18
21
|
x0 += xx;
|
19
22
|
y0 += yy;
|