working good
This commit is contained in:
parent
fb8257d1d0
commit
b11dfc412f
BIN
assets/tube.png
BIN
assets/tube.png
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 84 KiB |
1510
assets/tube2.xml
1510
assets/tube2.xml
File diff suppressed because it is too large
Load Diff
1206
assets/tube3.xml
1206
assets/tube3.xml
File diff suppressed because it is too large
Load Diff
3660
assets/tube4.xml
3660
assets/tube4.xml
File diff suppressed because it is too large
Load Diff
771
assets/tube5.xml
Normal file
771
assets/tube5.xml
Normal file
@ -0,0 +1,771 @@
|
|||||||
|
<Model>
|
||||||
|
<SamplerMap>
|
||||||
|
<Sampler name="Texture" value="tube.png"/>
|
||||||
|
</SamplerMap>
|
||||||
|
<Vec3ArrMap>
|
||||||
|
<Vec3Arr name="vPosition">
|
||||||
|
<Vec3>422.862, 153.909, 3.19252e-005</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 2.60256e-005</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 2.60256e-005</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 1.6987e-005</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 1.6987e-005</Vec3>
|
||||||
|
<Vec3>78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1417, 443.164, 5.89954e-006</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, -2.60256e-005</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, -3.19252e-005</Vec3>
|
||||||
|
<Vec3>-225.0, 389.711, -1.6987e-005</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, -2.60256e-005</Vec3>
|
||||||
|
<Vec3>-78.1416, 443.164, -5.89953e-006</Vec3>
|
||||||
|
<Vec3>-225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, 389.711, -1.6987e-005</Vec3>
|
||||||
|
<Vec3>78.1417, 443.164, 5.89954e-006</Vec3>
|
||||||
|
<Vec3>-78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1416, 443.164, -5.89953e-006</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>450.0, -7.58309e-005, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-450.0, -7.88279e-006, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>409.432, 177.171, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>422.862, 153.909, 2500.0</Vec3>
|
||||||
|
<Vec3>-244.499, 373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>-78.1418, 443.164, 2500.0</Vec3>
|
||||||
|
<Vec3>-225.0, 389.711, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>422.862, 153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, -389.711, 1.6987e-005</Vec3>
|
||||||
|
<Vec3>225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1417, -443.163, 5.89953e-006</Vec3>
|
||||||
|
<Vec3>78.1416, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1416, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1416, -443.163, -5.89953e-006</Vec3>
|
||||||
|
<Vec3>-78.1417, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1417, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, -1.6987e-005</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>450.0, -7.58309e-005, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>422.862, -153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 2.60256e-005</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, -2.60256e-005</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-422.862, -153.909, -3.19252e-005</Vec3>
|
||||||
|
<Vec3>-422.862, -153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-450.0, -7.88279e-006, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-422.862, -153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-409.432, -177.17, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-422.862, -153.909, 2500.0</Vec3>
|
||||||
|
<Vec3>244.499, -373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>78.1415, -443.163, 2500.0</Vec3>
|
||||||
|
<Vec3>225.0, -389.711, 2500.0</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>422.862, 153.909, 3.19252e-005</Vec3>
|
||||||
|
<Vec3>422.862, 153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 2.60256e-005</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 1.6987e-005</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, -2.60256e-005</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, 389.711, -1.6987e-005</Vec3>
|
||||||
|
<Vec3>-225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1416, 443.164, -5.89953e-006</Vec3>
|
||||||
|
<Vec3>-78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1417, 443.164, 5.89954e-006</Vec3>
|
||||||
|
<Vec3>78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>422.862, 153.909, 3.19252e-005</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>422.862, 153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>450.0, -7.58309e-005, 3.39741e-005</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>422.862, 153.909, 3.19252e-005</Vec3>
|
||||||
|
<Vec3>450.0, -7.58309e-005, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>450.0, -7.58309e-005, 3.39741e-005</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, -3.19252e-005</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-450.0, -7.88279e-006, -3.39741e-005</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, -3.19252e-005</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-450.0, -7.88279e-006, 2500.0</Vec3>
|
||||||
|
<Vec3>-450.0, -7.88279e-006, -3.39741e-005</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, 2500.0</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-244.499, 373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>409.432, 177.171, 2500.0</Vec3>
|
||||||
|
<Vec3>-244.499, 373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 2500.0</Vec3>
|
||||||
|
<Vec3>-244.499, 373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>409.432, 177.171, 2500.0</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 2500.0</Vec3>
|
||||||
|
<Vec3>-244.499, 373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 2500.0</Vec3>
|
||||||
|
<Vec3>78.1416, 443.164, 2500.0</Vec3>
|
||||||
|
<Vec3>-244.499, 373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 2500.0</Vec3>
|
||||||
|
<Vec3>-78.1418, 443.164, 2500.0</Vec3>
|
||||||
|
<Vec3>-244.499, 373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>78.1416, 443.164, 2500.0</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-422.862, 153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1417, 443.164, 1250.0</Vec3>
|
||||||
|
<Vec3>344.72, 289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, 150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, 389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, -389.711, 1.6987e-005</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 2.60256e-005</Vec3>
|
||||||
|
<Vec3>78.1417, -443.163, 5.89953e-006</Vec3>
|
||||||
|
<Vec3>225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, -389.711, 1.6987e-005</Vec3>
|
||||||
|
<Vec3>-78.1416, -443.163, -5.89953e-006</Vec3>
|
||||||
|
<Vec3>78.1416, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1417, -443.163, 5.89953e-006</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, -1.6987e-005</Vec3>
|
||||||
|
<Vec3>-78.1417, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1416, -443.163, -5.89953e-006</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>422.862, -153.909, 3.19252e-005</Vec3>
|
||||||
|
<Vec3>422.862, -153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>450.0, -7.58309e-005, 3.39741e-005</Vec3>
|
||||||
|
<Vec3>422.862, -153.909, 3.19252e-005</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>450.0, -7.58309e-005, 2500.0</Vec3>
|
||||||
|
<Vec3>450.0, -7.58309e-005, 3.39741e-005</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 2.60256e-005</Vec3>
|
||||||
|
<Vec3>422.862, -153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>422.862, -153.909, 3.19252e-005</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, -2.60256e-005</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, -1.6987e-005</Vec3>
|
||||||
|
<Vec3>-422.862, -153.909, -3.19252e-005</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, -2.60256e-005</Vec3>
|
||||||
|
<Vec3>-422.862, -153.909, -3.19252e-005</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-422.862, -153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>-450.0, -7.88279e-006, -3.39741e-005</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-422.862, -153.909, -3.19252e-005</Vec3>
|
||||||
|
<Vec3>-450.0, -7.88279e-006, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-450.0, -7.88279e-006, -3.39741e-005</Vec3>
|
||||||
|
<Vec3>422.862, -153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>422.862, -153.909, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1416, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1417, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>78.1416, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-78.1417, -443.163, 1250.0</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, 1250.0</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 1250.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>422.861, -153.909, 2500.0</Vec3>
|
||||||
|
<Vec3>423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 2500.0</Vec3>
|
||||||
|
<Vec3>422.861, -153.909, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>244.499, -373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>344.72, -289.254, 2500.0</Vec3>
|
||||||
|
<Vec3>-423.551, -150.0, 2500.0</Vec3>
|
||||||
|
<Vec3>-409.432, -177.17, 2500.0</Vec3>
|
||||||
|
<Vec3>244.499, -373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, 2500.0</Vec3>
|
||||||
|
<Vec3>244.499, -373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>-409.432, -177.17, 2500.0</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, 2500.0</Vec3>
|
||||||
|
<Vec3>244.499, -373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>-344.72, -289.254, 2500.0</Vec3>
|
||||||
|
<Vec3>-78.1418, -443.163, 2500.0</Vec3>
|
||||||
|
<Vec3>244.499, -373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>-225.0, -389.711, 2500.0</Vec3>
|
||||||
|
<Vec3>78.1415, -443.163, 2500.0</Vec3>
|
||||||
|
<Vec3>244.499, -373.35, 2500.0</Vec3>
|
||||||
|
<Vec3>-78.1418, -443.163, 2500.0</Vec3>
|
||||||
|
</Vec3Arr>
|
||||||
|
<Vec3Arr name="Normal">
|
||||||
|
<Vec3>-0.939693, -0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>-0.80244, -0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>-0.72701, -0.686627, 0.0</Vec3>
|
||||||
|
<Vec3>-0.72701, -0.686627, 0.0</Vec3>
|
||||||
|
<Vec3>-0.549952, -0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>-0.448325, -0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>-0.448325, -0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>-0.231132, -0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>-0.115566, -0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>0.80244, -0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>0.918005, -0.396568, 0.0</Vec3>
|
||||||
|
<Vec3>0.958141, -0.286296, 0.0</Vec3>
|
||||||
|
<Vec3>0.549952, -0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>0.72701, -0.686627, 0.0</Vec3>
|
||||||
|
<Vec3>0.80244, -0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>0.231132, -0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>0.448325, -0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>0.549952, -0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>-0.115566, -0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>0.115566, -0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>0.231132, -0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>-0.984808, -0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>-1.0, 2.00486e-007, 0.0</Vec3>
|
||||||
|
<Vec3>-0.193137, -0.0340552, 0.980581</Vec3>
|
||||||
|
<Vec3>1.0, 0.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.984808, -0.173649, 0.0</Vec3>
|
||||||
|
<Vec3>0.696364, -0.122788, 0.707107</Vec3>
|
||||||
|
<Vec3>0.0, -1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, -1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, -1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>-0.193137, -0.0340552, 0.980581</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>9.71093e-007, 5.49729e-007, -1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>-0.727009, 0.686628, 0.0</Vec3>
|
||||||
|
<Vec3>-0.549952, 0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>-0.448325, 0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>-0.448325, 0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>-0.231132, 0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>-0.115566, 0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>-0.115566, 0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>0.115566, 0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>0.231132, 0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>0.231132, 0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>0.448325, 0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>0.549952, 0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>-1.0, 2.00486e-007, 0.0</Vec3>
|
||||||
|
<Vec3>-0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>-0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>-0.918006, 0.396567, 0.0</Vec3>
|
||||||
|
<Vec3>-0.80244, 0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>-0.727009, 0.686628, 0.0</Vec3>
|
||||||
|
<Vec3>0.549952, 0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>0.727009, 0.686627, 0.0</Vec3>
|
||||||
|
<Vec3>0.80244, 0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>0.80244, 0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>0.939693, 0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>0.939693, 0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>1.0, 0.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>9.71092e-007, 5.49728e-007, -1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>0.0, 1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, 1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, 1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>-0.80244, -0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>-0.939693, -0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>-0.939693, -0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>-0.549952, -0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>-0.72701, -0.686627, 0.0</Vec3>
|
||||||
|
<Vec3>-0.80244, -0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>-0.231132, -0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>-0.448325, -0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>-0.549952, -0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>0.918005, -0.396568, 0.0</Vec3>
|
||||||
|
<Vec3>0.80244, -0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>0.72701, -0.686627, 0.0</Vec3>
|
||||||
|
<Vec3>0.72701, -0.686627, 0.0</Vec3>
|
||||||
|
<Vec3>0.549952, -0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>0.448325, -0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>0.448325, -0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>0.231132, -0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>0.115566, -0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>0.115566, -0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>-0.115566, -0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>-0.231132, -0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>-0.939693, -0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>-0.984808, -0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>-0.939693, -0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>-1.0, 1.89138e-007, 0.0</Vec3>
|
||||||
|
<Vec3>-0.984808, -0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>-0.939693, -0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>-1.0, 2.00486e-007, 0.0</Vec3>
|
||||||
|
<Vec3>-0.984808, -0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>-1.0, 1.89138e-007, 0.0</Vec3>
|
||||||
|
<Vec3>0.984808, -0.173649, 0.0</Vec3>
|
||||||
|
<Vec3>0.958141, -0.286296, 0.0</Vec3>
|
||||||
|
<Vec3>0.918005, -0.396568, 0.0</Vec3>
|
||||||
|
<Vec3>0.984808, -0.173649, 0.0</Vec3>
|
||||||
|
<Vec3>1.0, 0.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.958141, -0.286296, 0.0</Vec3>
|
||||||
|
<Vec3>0.984808, -0.173649, 0.0</Vec3>
|
||||||
|
<Vec3>1.0, 0.0, 0.0</Vec3>
|
||||||
|
<Vec3>1.0, 0.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, -1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, -1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, -1.0, 0.0</Vec3>
|
||||||
|
<Vec3>-0.193137, -0.0340552, 0.980581</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.696364, -0.122788, 0.707107</Vec3>
|
||||||
|
<Vec3>-0.193137, -0.0340552, 0.980581</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>-0.193137, -0.0340552, 0.980581</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>-0.193137, -0.0340552, 0.980581</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>2.87941e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>2.88207e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>3.65066e-007, 2.6088e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>2.87941e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>2.67922e-007, 2.15636e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>3.65066e-007, 2.6088e-007, -1.0</Vec3>
|
||||||
|
<Vec3>0.0, -3.36484e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>2.67922e-007, 2.15636e-007, -1.0</Vec3>
|
||||||
|
<Vec3>-1.32671e-007, -5.72704e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>0.0, -3.36484e-007, -1.0</Vec3>
|
||||||
|
<Vec3>8.38422e-007, 1.85219e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>-1.32671e-007, -5.72704e-007, -1.0</Vec3>
|
||||||
|
<Vec3>9.71093e-007, 5.49729e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>8.38422e-007, 1.85219e-007, -1.0</Vec3>
|
||||||
|
<Vec3>-0.549952, 0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>-0.727009, 0.686628, 0.0</Vec3>
|
||||||
|
<Vec3>-0.80244, 0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>-0.231132, 0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>-0.448325, 0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>-0.549952, 0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>0.115566, 0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>-0.115566, 0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>-0.231132, 0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>0.448325, 0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>0.231132, 0.972922, 0.0</Vec3>
|
||||||
|
<Vec3>0.115566, 0.9933, 0.0</Vec3>
|
||||||
|
<Vec3>-0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>-0.958141, 0.286295, 0.0</Vec3>
|
||||||
|
<Vec3>-0.918006, 0.396567, 0.0</Vec3>
|
||||||
|
<Vec3>-0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>-1.0, 1.89138e-007, 0.0</Vec3>
|
||||||
|
<Vec3>-0.958141, 0.286295, 0.0</Vec3>
|
||||||
|
<Vec3>-0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>-1.0, 2.00486e-007, 0.0</Vec3>
|
||||||
|
<Vec3>-1.0, 1.89138e-007, 0.0</Vec3>
|
||||||
|
<Vec3>-0.80244, 0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>-0.918006, 0.396567, 0.0</Vec3>
|
||||||
|
<Vec3>-0.958141, 0.286295, 0.0</Vec3>
|
||||||
|
<Vec3>0.727009, 0.686627, 0.0</Vec3>
|
||||||
|
<Vec3>0.549952, 0.835196, 0.0</Vec3>
|
||||||
|
<Vec3>0.448325, 0.893871, 0.0</Vec3>
|
||||||
|
<Vec3>0.939693, 0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>0.80244, 0.596733, 0.0</Vec3>
|
||||||
|
<Vec3>0.727009, 0.686627, 0.0</Vec3>
|
||||||
|
<Vec3>0.939693, 0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>0.939693, 0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>1.0, 0.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>0.939693, 0.34202, 0.0</Vec3>
|
||||||
|
<Vec3>1.0, 0.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.984808, 0.173648, 0.0</Vec3>
|
||||||
|
<Vec3>1.0, 0.0, 0.0</Vec3>
|
||||||
|
<Vec3>2.87941e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>2.88207e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>3.65066e-007, 2.60881e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>2.87941e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>2.67922e-007, 2.15637e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>3.65066e-007, 2.60881e-007, -1.0</Vec3>
|
||||||
|
<Vec3>0.0, -3.36484e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>2.67922e-007, 2.15637e-007, -1.0</Vec3>
|
||||||
|
<Vec3>-1.32671e-007, -5.72704e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>0.0, -3.36484e-007, -1.0</Vec3>
|
||||||
|
<Vec3>8.38421e-007, 1.85219e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>-1.32671e-007, -5.72704e-007, -1.0</Vec3>
|
||||||
|
<Vec3>9.71092e-007, 5.49728e-007, -1.0</Vec3>
|
||||||
|
<Vec3>3.48571e-007, 0.0, -1.0</Vec3>
|
||||||
|
<Vec3>8.38421e-007, 1.85219e-007, -1.0</Vec3>
|
||||||
|
<Vec3>0.0, 1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, 1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, 1.0, 0.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
<Vec3>0.0, 0.0, 1.0</Vec3>
|
||||||
|
</Vec3Arr>
|
||||||
|
</Vec3ArrMap>
|
||||||
|
<Vec2ArrMap>
|
||||||
|
<Vec2Arr name="vTexCoord">
|
||||||
|
<Vec2>0.666667, 0.444444</Vec2>
|
||||||
|
<Vec2>0.625, 0.388889</Vec2>
|
||||||
|
<Vec2>0.666667, 0.388889</Vec2>
|
||||||
|
<Vec2>0.666667, 0.388889</Vec2>
|
||||||
|
<Vec2>0.625, 0.333333</Vec2>
|
||||||
|
<Vec2>0.666667, 0.333333</Vec2>
|
||||||
|
<Vec2>0.666667, 0.333333</Vec2>
|
||||||
|
<Vec2>0.625, 0.277778</Vec2>
|
||||||
|
<Vec2>0.666667, 0.277778</Vec2>
|
||||||
|
<Vec2>0.666667, 0.111111</Vec2>
|
||||||
|
<Vec2>0.625, 0.0555556</Vec2>
|
||||||
|
<Vec2>0.666667, 0.0555556</Vec2>
|
||||||
|
<Vec2>0.666667, 0.166667</Vec2>
|
||||||
|
<Vec2>0.625, 0.111111</Vec2>
|
||||||
|
<Vec2>0.666667, 0.111111</Vec2>
|
||||||
|
<Vec2>0.666667, 0.222222</Vec2>
|
||||||
|
<Vec2>0.625, 0.166667</Vec2>
|
||||||
|
<Vec2>0.666667, 0.166667</Vec2>
|
||||||
|
<Vec2>0.666667, 0.277778</Vec2>
|
||||||
|
<Vec2>0.625, 0.222222</Vec2>
|
||||||
|
<Vec2>0.666667, 0.222222</Vec2>
|
||||||
|
<Vec2>0.625, 0.445855</Vec2>
|
||||||
|
<Vec2>0.583333, 0.5</Vec2>
|
||||||
|
<Vec2>0.583333, 0.445855</Vec2>
|
||||||
|
<Vec2>0.583333, 0.0</Vec2>
|
||||||
|
<Vec2>0.625, 0.0541445</Vec2>
|
||||||
|
<Vec2>0.583333, 0.0541445</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764493</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.0905684, 0.0905684</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764492</Vec2>
|
||||||
|
<Vec2>0.0130301, 0.0771384</Vec2>
|
||||||
|
<Vec2>0.744499, 0.744499</Vec2>
|
||||||
|
<Vec2>0.977212, 0.578142</Vec2>
|
||||||
|
<Vec2>0.799038, 0.725</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764494</Vec2>
|
||||||
|
<Vec2>0.535819, 0.15528</Vec2>
|
||||||
|
<Vec2>0.98697, 0.0771386</Vec2>
|
||||||
|
<Vec2>0.625, 0.611111</Vec2>
|
||||||
|
<Vec2>0.666667, 0.666667</Vec2>
|
||||||
|
<Vec2>0.625, 0.666667</Vec2>
|
||||||
|
<Vec2>0.625, 0.666667</Vec2>
|
||||||
|
<Vec2>0.666667, 0.722222</Vec2>
|
||||||
|
<Vec2>0.625, 0.722222</Vec2>
|
||||||
|
<Vec2>0.625, 0.722222</Vec2>
|
||||||
|
<Vec2>0.666667, 0.777778</Vec2>
|
||||||
|
<Vec2>0.625, 0.777778</Vec2>
|
||||||
|
<Vec2>0.625, 0.777778</Vec2>
|
||||||
|
<Vec2>0.666667, 0.833333</Vec2>
|
||||||
|
<Vec2>0.625, 0.833333</Vec2>
|
||||||
|
<Vec2>0.583333, 0.5</Vec2>
|
||||||
|
<Vec2>0.625, 0.554145</Vec2>
|
||||||
|
<Vec2>0.583333, 0.554145</Vec2>
|
||||||
|
<Vec2>0.625, 0.555556</Vec2>
|
||||||
|
<Vec2>0.666667, 0.611111</Vec2>
|
||||||
|
<Vec2>0.625, 0.611111</Vec2>
|
||||||
|
<Vec2>0.625, 0.833333</Vec2>
|
||||||
|
<Vec2>0.666667, 0.888889</Vec2>
|
||||||
|
<Vec2>0.625, 0.888889</Vec2>
|
||||||
|
<Vec2>0.708333, 0.888889</Vec2>
|
||||||
|
<Vec2>0.833333, 0.944444</Vec2>
|
||||||
|
<Vec2>0.791667, 0.944444</Vec2>
|
||||||
|
<Vec2>0.625, 0.945855</Vec2>
|
||||||
|
<Vec2>0.583333, 1.0</Vec2>
|
||||||
|
<Vec2>0.583333, 0.945855</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.464181, 0.84472</Vec2>
|
||||||
|
<Vec2>0.0130301, 0.922862</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764492</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764493</Vec2>
|
||||||
|
<Vec2>0.909432, 0.909432</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.98697, 0.922862</Vec2>
|
||||||
|
<Vec2>0.255501, 0.255501</Vec2>
|
||||||
|
<Vec2>0.0227883, 0.421858</Vec2>
|
||||||
|
<Vec2>0.200962, 0.275</Vec2>
|
||||||
|
<Vec2>0.625, 0.388889</Vec2>
|
||||||
|
<Vec2>0.666667, 0.444444</Vec2>
|
||||||
|
<Vec2>0.625, 0.444444</Vec2>
|
||||||
|
<Vec2>0.625, 0.333333</Vec2>
|
||||||
|
<Vec2>0.666667, 0.388889</Vec2>
|
||||||
|
<Vec2>0.625, 0.388889</Vec2>
|
||||||
|
<Vec2>0.625, 0.277778</Vec2>
|
||||||
|
<Vec2>0.666667, 0.333333</Vec2>
|
||||||
|
<Vec2>0.625, 0.333333</Vec2>
|
||||||
|
<Vec2>0.625, 0.0555556</Vec2>
|
||||||
|
<Vec2>0.666667, 0.111111</Vec2>
|
||||||
|
<Vec2>0.625, 0.111111</Vec2>
|
||||||
|
<Vec2>0.625, 0.111111</Vec2>
|
||||||
|
<Vec2>0.666667, 0.166667</Vec2>
|
||||||
|
<Vec2>0.625, 0.166667</Vec2>
|
||||||
|
<Vec2>0.625, 0.166667</Vec2>
|
||||||
|
<Vec2>0.666667, 0.222222</Vec2>
|
||||||
|
<Vec2>0.625, 0.222222</Vec2>
|
||||||
|
<Vec2>0.625, 0.222222</Vec2>
|
||||||
|
<Vec2>0.666667, 0.277778</Vec2>
|
||||||
|
<Vec2>0.625, 0.277778</Vec2>
|
||||||
|
<Vec2>0.666667, 0.444444</Vec2>
|
||||||
|
<Vec2>0.625, 0.445855</Vec2>
|
||||||
|
<Vec2>0.625, 0.444444</Vec2>
|
||||||
|
<Vec2>0.666667, 0.5</Vec2>
|
||||||
|
<Vec2>0.625, 0.445855</Vec2>
|
||||||
|
<Vec2>0.666667, 0.444444</Vec2>
|
||||||
|
<Vec2>0.583333, 0.5</Vec2>
|
||||||
|
<Vec2>0.625, 0.445855</Vec2>
|
||||||
|
<Vec2>0.666667, 0.5</Vec2>
|
||||||
|
<Vec2>0.625, 0.0541445</Vec2>
|
||||||
|
<Vec2>0.666667, 0.0555556</Vec2>
|
||||||
|
<Vec2>0.625, 0.0555556</Vec2>
|
||||||
|
<Vec2>0.625, 0.0541445</Vec2>
|
||||||
|
<Vec2>0.666667, 0.0</Vec2>
|
||||||
|
<Vec2>0.666667, 0.0555556</Vec2>
|
||||||
|
<Vec2>0.625, 0.0541445</Vec2>
|
||||||
|
<Vec2>0.583333, 0.0</Vec2>
|
||||||
|
<Vec2>0.666667, 0.0</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764493</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764491</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764492</Vec2>
|
||||||
|
<Vec2>0.0130305, 0.922862</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764492</Vec2>
|
||||||
|
<Vec2>0.464182, 0.84472</Vec2>
|
||||||
|
<Vec2>0.0130305, 0.922862</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764492</Vec2>
|
||||||
|
<Vec2>0.744499, 0.744499</Vec2>
|
||||||
|
<Vec2>0.464182, 0.84472</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764492</Vec2>
|
||||||
|
<Vec2>0.0905684, 0.0905684</Vec2>
|
||||||
|
<Vec2>0.744499, 0.744499</Vec2>
|
||||||
|
<Vec2>0.464181, 0.15528</Vec2>
|
||||||
|
<Vec2>0.744499, 0.744499</Vec2>
|
||||||
|
<Vec2>0.0905685, 0.0905685</Vec2>
|
||||||
|
<Vec2>0.799038, 0.275</Vec2>
|
||||||
|
<Vec2>0.744499, 0.744499</Vec2>
|
||||||
|
<Vec2>0.464181, 0.15528</Vec2>
|
||||||
|
<Vec2>0.977212, 0.421858</Vec2>
|
||||||
|
<Vec2>0.744499, 0.744499</Vec2>
|
||||||
|
<Vec2>0.799038, 0.275</Vec2>
|
||||||
|
<Vec2>0.977212, 0.578142</Vec2>
|
||||||
|
<Vec2>0.744499, 0.744499</Vec2>
|
||||||
|
<Vec2>0.977212, 0.421858</Vec2>
|
||||||
|
<Vec2>0.98697, 0.922862</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764494</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.535818, 0.84472</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764494</Vec2>
|
||||||
|
<Vec2>0.98697, 0.922862</Vec2>
|
||||||
|
<Vec2>0.200962, 0.725</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764494</Vec2>
|
||||||
|
<Vec2>0.535818, 0.84472</Vec2>
|
||||||
|
<Vec2>0.0227881, 0.578142</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764494</Vec2>
|
||||||
|
<Vec2>0.200962, 0.725</Vec2>
|
||||||
|
<Vec2>0.0227882, 0.421859</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764494</Vec2>
|
||||||
|
<Vec2>0.0227881, 0.578142</Vec2>
|
||||||
|
<Vec2>0.200962, 0.275</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764494</Vec2>
|
||||||
|
<Vec2>0.0227882, 0.421859</Vec2>
|
||||||
|
<Vec2>0.535819, 0.15528</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764494</Vec2>
|
||||||
|
<Vec2>0.200962, 0.275</Vec2>
|
||||||
|
<Vec2>0.666667, 0.666667</Vec2>
|
||||||
|
<Vec2>0.625, 0.611111</Vec2>
|
||||||
|
<Vec2>0.666667, 0.611111</Vec2>
|
||||||
|
<Vec2>0.666667, 0.722222</Vec2>
|
||||||
|
<Vec2>0.625, 0.666667</Vec2>
|
||||||
|
<Vec2>0.666667, 0.666667</Vec2>
|
||||||
|
<Vec2>0.666667, 0.777778</Vec2>
|
||||||
|
<Vec2>0.625, 0.722222</Vec2>
|
||||||
|
<Vec2>0.666667, 0.722222</Vec2>
|
||||||
|
<Vec2>0.666667, 0.833333</Vec2>
|
||||||
|
<Vec2>0.625, 0.777778</Vec2>
|
||||||
|
<Vec2>0.666667, 0.777778</Vec2>
|
||||||
|
<Vec2>0.625, 0.554145</Vec2>
|
||||||
|
<Vec2>0.666667, 0.555556</Vec2>
|
||||||
|
<Vec2>0.625, 0.555556</Vec2>
|
||||||
|
<Vec2>0.625, 0.554145</Vec2>
|
||||||
|
<Vec2>0.666667, 0.5</Vec2>
|
||||||
|
<Vec2>0.666667, 0.555556</Vec2>
|
||||||
|
<Vec2>0.625, 0.554145</Vec2>
|
||||||
|
<Vec2>0.583333, 0.5</Vec2>
|
||||||
|
<Vec2>0.666667, 0.5</Vec2>
|
||||||
|
<Vec2>0.666667, 0.611111</Vec2>
|
||||||
|
<Vec2>0.625, 0.555556</Vec2>
|
||||||
|
<Vec2>0.666667, 0.555556</Vec2>
|
||||||
|
<Vec2>0.666667, 0.888889</Vec2>
|
||||||
|
<Vec2>0.625, 0.833333</Vec2>
|
||||||
|
<Vec2>0.666667, 0.833333</Vec2>
|
||||||
|
<Vec2>0.833333, 0.944444</Vec2>
|
||||||
|
<Vec2>0.708333, 0.888889</Vec2>
|
||||||
|
<Vec2>0.75, 0.888889</Vec2>
|
||||||
|
<Vec2>0.666667, 0.944444</Vec2>
|
||||||
|
<Vec2>0.625, 0.945855</Vec2>
|
||||||
|
<Vec2>0.625, 0.944444</Vec2>
|
||||||
|
<Vec2>0.666667, 1.0</Vec2>
|
||||||
|
<Vec2>0.625, 0.945855</Vec2>
|
||||||
|
<Vec2>0.666667, 0.944444</Vec2>
|
||||||
|
<Vec2>0.583333, 1.0</Vec2>
|
||||||
|
<Vec2>0.625, 0.945855</Vec2>
|
||||||
|
<Vec2>0.666667, 1.0</Vec2>
|
||||||
|
<Vec2>0.0130307, 0.0771385</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764493</Vec2>
|
||||||
|
<Vec2>0.464182, 0.15528</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.0130307, 0.0771385</Vec2>
|
||||||
|
<Vec2>0.799038, 0.275</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.464182, 0.15528</Vec2>
|
||||||
|
<Vec2>0.977212, 0.421859</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.799038, 0.275</Vec2>
|
||||||
|
<Vec2>0.977212, 0.578142</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.977212, 0.421859</Vec2>
|
||||||
|
<Vec2>0.799038, 0.725</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.977212, 0.578142</Vec2>
|
||||||
|
<Vec2>0.464181, 0.84472</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.799038, 0.725</Vec2>
|
||||||
|
<Vec2>0.0, 0.0764492</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.0, 0.923551</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.986969, 0.0771384</Vec2>
|
||||||
|
<Vec2>1.0, 0.0764491</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.535818, 0.15528</Vec2>
|
||||||
|
<Vec2>0.986969, 0.0771384</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.255501, 0.255501</Vec2>
|
||||||
|
<Vec2>0.535818, 0.15528</Vec2>
|
||||||
|
<Vec2>1.0, 0.923551</Vec2>
|
||||||
|
<Vec2>0.909432, 0.909432</Vec2>
|
||||||
|
<Vec2>0.255501, 0.255501</Vec2>
|
||||||
|
<Vec2>0.535819, 0.84472</Vec2>
|
||||||
|
<Vec2>0.255501, 0.255501</Vec2>
|
||||||
|
<Vec2>0.909432, 0.909432</Vec2>
|
||||||
|
<Vec2>0.200962, 0.725</Vec2>
|
||||||
|
<Vec2>0.255501, 0.255501</Vec2>
|
||||||
|
<Vec2>0.535819, 0.84472</Vec2>
|
||||||
|
<Vec2>0.0227884, 0.578142</Vec2>
|
||||||
|
<Vec2>0.255501, 0.255501</Vec2>
|
||||||
|
<Vec2>0.200962, 0.725</Vec2>
|
||||||
|
<Vec2>0.0227883, 0.421858</Vec2>
|
||||||
|
<Vec2>0.255501, 0.255501</Vec2>
|
||||||
|
<Vec2>0.0227884, 0.578142</Vec2>
|
||||||
|
</Vec2Arr>
|
||||||
|
</Vec2ArrMap>
|
||||||
|
</Model>
|
@ -139,7 +139,18 @@ JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapUpAft
|
|||||||
|
|
||||||
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapMove(JNIEnv * env, jobject obj, float x, float y, long time)
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapMove(JNIEnv * env, jobject obj, float x, float y, long time)
|
||||||
{
|
{
|
||||||
//NIU???
|
*Console<<"OuterOnMove";
|
||||||
|
m.lock();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
*Console<<"OuterOnMove2";
|
||||||
|
App->OuterOnMove(vec2(x,y));
|
||||||
|
}
|
||||||
|
catch (...)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
m.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnFling(JNIEnv * env, jobject obj, jfloat velocityX, jfloat velocityY, long time)
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnFling(JNIEnv * env, jobject obj, jfloat velocityX, jfloat velocityY, long time)
|
||||||
@ -149,11 +160,12 @@ JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnFling(JN
|
|||||||
|
|
||||||
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnScroll(JNIEnv * env, jobject obj, jfloat distanceX, jfloat distanceY, long time)
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnScroll(JNIEnv * env, jobject obj, jfloat distanceX, jfloat distanceY, long time)
|
||||||
{
|
{
|
||||||
*Console<<"OuterOnMove";
|
|
||||||
|
*Console<<"OuterOnScroll";
|
||||||
m.lock();
|
m.lock();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
*Console<<"OuterOnMove2";
|
*Console<<"OuterOnScroll2";
|
||||||
App->OuterOnMove(vec2(distanceX,distanceY));
|
App->OuterOnMove(vec2(distanceX,distanceY));
|
||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
|
@ -24,7 +24,7 @@ extern "C" {
|
|||||||
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapDown(JNIEnv * env, jobject obj, jfloat x, jfloat y, long time);
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapDown(JNIEnv * env, jobject obj, jfloat x, jfloat y, long time);
|
||||||
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapUp(JNIEnv * env, jobject obj, jfloat x, jfloat y, long time);
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapUp(JNIEnv * env, jobject obj, jfloat x, jfloat y, long time);
|
||||||
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapUpAfterShift(JNIEnv * env, jobject obj, jfloat x, jfloat y, long time);
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapUpAfterShift(JNIEnv * env, jobject obj, jfloat x, jfloat y, long time);
|
||||||
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnTapMove(JNIEnv * env, jobject obj, float x, float y, long time);
|
||||||
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnFling(JNIEnv * env, jobject obj, jfloat velocityX, jfloat velocityY, long time);
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnFling(JNIEnv * env, jobject obj, jfloat velocityX, jfloat velocityY, long time);
|
||||||
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnScroll(JNIEnv * env, jobject obj, jfloat distanceX, jfloat distanceY, long time);
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnScroll(JNIEnv * env, jobject obj, jfloat distanceX, jfloat distanceY, long time);
|
||||||
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnKeyPress(JNIEnv * env, jobject obj, jint keyCode);
|
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_OnKeyPress(JNIEnv * env, jobject obj, jint keyCode);
|
||||||
|
@ -13,29 +13,28 @@
|
|||||||
|
|
||||||
#include "main_code.h"
|
#include "main_code.h"
|
||||||
|
|
||||||
const int CONST_TUBE_COUNT = 1;
|
const int CONST_TUBE_COUNT = 5;
|
||||||
|
|
||||||
const int CONST_MAX_BOXES = 50;
|
const int CONST_MAX_BOXES = 50;
|
||||||
|
|
||||||
|
const float CONST_VELOCITY = 2.f;
|
||||||
|
|
||||||
|
int countTubes = 0;
|
||||||
|
|
||||||
TFlexModel GenerateFlexModel(int i)
|
TFlexModel GenerateFlexModel(int i)
|
||||||
{
|
{
|
||||||
|
countTubes++;
|
||||||
|
|
||||||
|
if (countTubes <= 5)
|
||||||
|
{
|
||||||
|
return ResourceManager->FlexModelManager.InstanciateModel("tube1.xml");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
return ResourceManager->FlexModelManager.InstanciateModel("tube"+tostr(i+1)+".xml");
|
return ResourceManager->FlexModelManager.InstanciateModel("tube"+tostr(i+1)+".xml");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
std::pair<TFlexModel, TVolumeBody> GenerateBox(int pos)
|
|
||||||
{
|
|
||||||
std::pair<TFlexModel, TVolumeBody> r;
|
|
||||||
|
|
||||||
r.first = ResourceManager->FlexModelManager.InstanciateModel("box.xml");
|
|
||||||
//r.first.ScaleModel(0.1f);
|
|
||||||
r.first.MoveModel(vec3(rand() % 800 - 400, rand() % 800 - 400, -2500.f+pos*(-100)));
|
|
||||||
r.first.RefreshBuffer();
|
|
||||||
r.second.AssignFromFlexModel(r.first);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return r;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
void TMyApplication::InnerInit()
|
void TMyApplication::InnerInit()
|
||||||
{
|
{
|
||||||
@ -86,6 +85,7 @@ void TMyApplication::InnerInit()
|
|||||||
ResourceManager->FlexModelManager.LoadModelFromXml("tube2.xml");
|
ResourceManager->FlexModelManager.LoadModelFromXml("tube2.xml");
|
||||||
ResourceManager->FlexModelManager.LoadModelFromXml("tube3.xml");
|
ResourceManager->FlexModelManager.LoadModelFromXml("tube3.xml");
|
||||||
ResourceManager->FlexModelManager.LoadModelFromXml("tube4.xml");
|
ResourceManager->FlexModelManager.LoadModelFromXml("tube4.xml");
|
||||||
|
ResourceManager->FlexModelManager.LoadModelFromXml("tube5.xml");
|
||||||
FlexModel = ResourceManager->FlexModelManager.InstanciateModel("pit.xml");
|
FlexModel = ResourceManager->FlexModelManager.InstanciateModel("pit.xml");
|
||||||
|
|
||||||
//FlexModel.ScaleModel(0.03f);
|
//FlexModel.ScaleModel(0.03f);
|
||||||
@ -118,7 +118,7 @@ void TMyApplication::InnerInit()
|
|||||||
//Uncomment to start music playing
|
//Uncomment to start music playing
|
||||||
//ResourceManager->SoundManager.PlayMusic("level1ogg.ogg");
|
//ResourceManager->SoundManager.PlayMusic("level1ogg.ogg");
|
||||||
|
|
||||||
Velocity = 4.f;
|
Velocity = CONST_VELOCITY;
|
||||||
|
|
||||||
PrevCamVec = boost::get<TPitCamera>(Renderer->Camera).CamVec;
|
PrevCamVec = boost::get<TPitCamera>(Renderer->Camera).CamVec;
|
||||||
|
|
||||||
@ -144,7 +144,6 @@ void TMyApplication::InnerDraw()
|
|||||||
|
|
||||||
Renderer->SetGLCamView();
|
Renderer->SetGLCamView();
|
||||||
|
|
||||||
|
|
||||||
for (size_t i = 0; i < TubeModelArr.size(); ++i)
|
for (size_t i = 0; i < TubeModelArr.size(); ++i)
|
||||||
{
|
{
|
||||||
TubeModelArr[i].Draw();
|
TubeModelArr[i].Draw();
|
||||||
@ -177,11 +176,13 @@ void TMyApplication::InnerDraw()
|
|||||||
|
|
||||||
float sin_a = sqrtf(1 - cos_a*cos_a);
|
float sin_a = sqrtf(1 - cos_a*cos_a);
|
||||||
|
|
||||||
|
if (sin_a > 0.001f)
|
||||||
|
{
|
||||||
|
|
||||||
q = vec4(n.v[0] * sin_a, n.v[1] * sin_a, n.v[2] * sin_a, cos_a);
|
q = vec4(n.v[0] * sin_a, n.v[1] * sin_a, n.v[2] * sin_a, cos_a);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Renderer->RotateMatrix(q);
|
Renderer->RotateMatrix(q);
|
||||||
|
}
|
||||||
FlexModel.Draw();
|
FlexModel.Draw();
|
||||||
|
|
||||||
Renderer->PopMatrix();
|
Renderer->PopMatrix();
|
||||||
@ -220,11 +221,7 @@ void TMyApplication::InnerUpdate(cardinal dt)
|
|||||||
{
|
{
|
||||||
TubeBodyArr[i].AssignFromFlexModel(TubeModelArr[i]);
|
TubeBodyArr[i].AssignFromFlexModel(TubeModelArr[i]);
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
BOOST_FOREACH(auto& i, BoxList)
|
|
||||||
{
|
|
||||||
i.first.Draw();
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::get<TPitCamera>(Renderer->Camera).CamShift = camShift;
|
boost::get<TPitCamera>(Renderer->Camera).CamShift = camShift;
|
||||||
@ -255,8 +252,8 @@ void TMyApplication::InnerUpdate(cardinal dt)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdatePitVector(dt);
|
|
||||||
|
|
||||||
|
//const float CONST_ROTATE_SPEED = 0.0004f;
|
||||||
const float CONST_ROTATE_SPEED = 0.001f;
|
const float CONST_ROTATE_SPEED = 0.001f;
|
||||||
|
|
||||||
float rotateShift = Length(RotateShift) * 0.01f / 2.f;
|
float rotateShift = Length(RotateShift) * 0.01f / 2.f;
|
||||||
@ -267,6 +264,12 @@ void TMyApplication::InnerUpdate(cardinal dt)
|
|||||||
|
|
||||||
boost::get<TPitCamera>(Renderer->Camera).CalcCamVec();
|
boost::get<TPitCamera>(Renderer->Camera).CalcCamVec();
|
||||||
|
|
||||||
|
UpdatePitVector(dt);
|
||||||
|
|
||||||
|
|
||||||
|
OnUpdateSignal();
|
||||||
|
|
||||||
|
OnUpdateSignal.disconnect_all_slots();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -300,6 +303,11 @@ void TMyApplication::InnerOnTapUp(vec2 p)
|
|||||||
RotateShift = vec2(0.f, 0.f);
|
RotateShift = vec2(0.f, 0.f);
|
||||||
|
|
||||||
RotateAxis = vec3(0,0,0);
|
RotateAxis = vec3(0,0,0);
|
||||||
|
|
||||||
|
if (p.v[0] < 50 && p.v[1] < 50 && Velocity == 0)
|
||||||
|
{
|
||||||
|
OnUpdateSignal.connect(boost::bind(&TMyApplication::RecreateLevel, this));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TMyApplication::InnerOnTapUpAfterShift(vec2 p)
|
void TMyApplication::InnerOnTapUpAfterShift(vec2 p)
|
||||||
@ -311,10 +319,7 @@ void TMyApplication::InnerOnTapUpAfterShift(vec2 p)
|
|||||||
|
|
||||||
void TMyApplication::OnMouseWheel(short int delta)
|
void TMyApplication::OnMouseWheel(short int delta)
|
||||||
{
|
{
|
||||||
Velocity = 4.f;
|
OnUpdateSignal.connect(boost::bind(&TMyApplication::RecreateLevel, this));
|
||||||
|
|
||||||
boost::get<TPitCamera>(Renderer->Camera).CamShift = ZeroVec3;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TMyApplication::UpdatePitVector(cardinal dt)
|
void TMyApplication::UpdatePitVector(cardinal dt)
|
||||||
@ -333,6 +338,7 @@ void TMyApplication::UpdatePitVector(cardinal dt)
|
|||||||
|
|
||||||
float angle = acos(min_cos_a);
|
float angle = acos(min_cos_a);
|
||||||
|
|
||||||
|
|
||||||
if (angle >= diff_alpha)
|
if (angle >= diff_alpha)
|
||||||
{
|
{
|
||||||
//Correcting PrevCamVec;
|
//Correcting PrevCamVec;
|
||||||
@ -349,7 +355,7 @@ void TMyApplication::UpdatePitVector(cardinal dt)
|
|||||||
|
|
||||||
const float omega = 0.0002f;
|
const float omega = 0.0002f;
|
||||||
|
|
||||||
if (angle < omega * dt)
|
if (angle < omega*dt)
|
||||||
{
|
{
|
||||||
PrevCamVec = camVec;
|
PrevCamVec = camVec;
|
||||||
}
|
}
|
||||||
@ -363,3 +369,23 @@ void TMyApplication::UpdatePitVector(cardinal dt)
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TMyApplication::RecreateLevel()
|
||||||
|
{
|
||||||
|
Velocity = CONST_VELOCITY;
|
||||||
|
|
||||||
|
boost::get<TPitCamera>(Renderer->Camera).CamShift = ZeroVec3;
|
||||||
|
|
||||||
|
for (size_t i = 0; i < 3; ++i)
|
||||||
|
{
|
||||||
|
TubeModelArr[i] = GenerateFlexModel(0);
|
||||||
|
|
||||||
|
TubeModelArr[i].PushModelDataTriangleList();
|
||||||
|
|
||||||
|
TubeModelArr[i].MoveModel(vec3(0, 0, -2500.f*i));
|
||||||
|
|
||||||
|
TubeModelArr[i].RefreshBuffer();
|
||||||
|
|
||||||
|
TubeBodyArr[i].AssignFromFlexModel(TubeModelArr[i]);
|
||||||
|
}
|
||||||
|
}
|
@ -44,6 +44,8 @@ public:
|
|||||||
//float RotateShift;
|
//float RotateShift;
|
||||||
vec2 RotateShift;
|
vec2 RotateShift;
|
||||||
|
|
||||||
|
boost::signal<void()> OnUpdateSignal;
|
||||||
|
|
||||||
TMyApplication() : TApplication(), Inited(false) { }
|
TMyApplication() : TApplication(), Inited(false) { }
|
||||||
|
|
||||||
virtual void InnerInit();
|
virtual void InnerInit();
|
||||||
@ -64,6 +66,8 @@ public:
|
|||||||
|
|
||||||
void UpdatePitVector(cardinal dt);
|
void UpdatePitVector(cardinal dt);
|
||||||
|
|
||||||
|
void RecreateLevel();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,7 +20,9 @@ class GLView extends GLViewAncestor
|
|||||||
{
|
{
|
||||||
//Change this method? Don't forget to change method below!
|
//Change this method? Don't forget to change method below!
|
||||||
super(context);
|
super(context);
|
||||||
init(false, 0, 0);
|
|
||||||
|
//init(false, 0, 0);
|
||||||
|
init(false, 8, 0); //Add depth buffer!
|
||||||
}
|
}
|
||||||
|
|
||||||
public GLView(Context context, boolean translucent, int depth, int stencil)
|
public GLView(Context context, boolean translucent, int depth, int stencil)
|
||||||
|
@ -29,6 +29,7 @@ import android.widget.LinearLayout;
|
|||||||
//Deprecated
|
//Deprecated
|
||||||
//import java.lang.reflect.Field;
|
//import java.lang.reflect.Field;
|
||||||
|
|
||||||
|
import java.lang.Math;
|
||||||
|
|
||||||
public class MainActivity extends Activity
|
public class MainActivity extends Activity
|
||||||
{
|
{
|
||||||
@ -37,6 +38,9 @@ public class MainActivity extends Activity
|
|||||||
|
|
||||||
boolean IsScrolling = false;
|
boolean IsScrolling = false;
|
||||||
|
|
||||||
|
float PrevMovePosX = 0;
|
||||||
|
float PrevMovePosY = 0;
|
||||||
|
|
||||||
private GestureDetector gestureDetector;
|
private GestureDetector gestureDetector;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -134,7 +138,7 @@ public class MainActivity extends Activity
|
|||||||
|
|
||||||
public boolean onTouchEvent(MotionEvent event)
|
public boolean onTouchEvent(MotionEvent event)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
if (event.getAction() == MotionEvent.ACTION_UP)
|
if (event.getAction() == MotionEvent.ACTION_UP)
|
||||||
{
|
{
|
||||||
if (IsScrolling)
|
if (IsScrolling)
|
||||||
@ -145,41 +149,64 @@ public class MainActivity extends Activity
|
|||||||
JniWrapper.OnTapUpAfterShift(x, y, event.getEventTime());
|
JniWrapper.OnTapUpAfterShift(x, y, event.getEventTime());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if (event.getAction() == MotionEvent.ACTION_MOVE)
|
if (event.getAction() == MotionEvent.ACTION_MOVE)
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
float x = event.getX();
|
float x = event.getX();
|
||||||
float y = (float) mView.getHeight() - event.getY();
|
float y = (float) mView.getHeight() - event.getY();
|
||||||
|
|
||||||
int historysize = event.getHistorySize();
|
float oldX = PrevMovePosX;
|
||||||
|
float oldY = (float) mView.getHeight() - PrevMovePosY;
|
||||||
float prevX = event.getHistoricalX(0);
|
|
||||||
float prevY = (float) mView.getHeight() - event.getHistoricalY(0);
|
|
||||||
|
|
||||||
|
|
||||||
JniWrapper.OnScroll(x-prevX, y-prevY, event.getEventTime());
|
float shiftX = x - oldX;
|
||||||
|
float shiftY = y - oldY;
|
||||||
IsScrolling = true;*/
|
|
||||||
|
|
||||||
|
if (Math.abs(shiftX) > 0.001f || Math.abs(shiftY) > 0.001f)
|
||||||
|
{
|
||||||
|
JniWrapper.OnScroll(-shiftX, -shiftY, event.getEventTime());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PrevMovePosX = event.getX();
|
||||||
|
PrevMovePosY = event.getY();
|
||||||
|
|
||||||
|
IsScrolling = true;
|
||||||
|
|
||||||
|
}
|
||||||
|
/*
|
||||||
if (gestureDetector.onTouchEvent(event))
|
if (gestureDetector.onTouchEvent(event))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (event.getAction() == MotionEvent.ACTION_UP)
|
if (event.getAction() == MotionEvent.ACTION_UP)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
float x = event.getX();
|
float x = event.getX();
|
||||||
float y = (float) mView.getHeight() - event.getY();
|
float y = (float) mView.getHeight() - event.getY();
|
||||||
|
|
||||||
if (IsScrolling)
|
if (IsScrolling)
|
||||||
{
|
{
|
||||||
IsScrolling = false;
|
IsScrolling = false;
|
||||||
|
JniWrapper.OnTapUpAfterShift(x, y, event.getEventTime());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
JniWrapper.OnTapUp(x, y, event.getEventTime());
|
||||||
}
|
}
|
||||||
|
|
||||||
JniWrapper.OnTapUp(x, y, event.getEventTime());
|
}
|
||||||
|
|
||||||
|
if (event.getAction() == MotionEvent.ACTION_DOWN)
|
||||||
|
{
|
||||||
|
float x = event.getX();
|
||||||
|
float y = (float) mView.getHeight() - event.getY();
|
||||||
|
|
||||||
|
PrevMovePosX = event.getX();
|
||||||
|
PrevMovePosY = event.getY();
|
||||||
|
|
||||||
|
JniWrapper.OnTapDown(x, y, event.getEventTime());
|
||||||
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
@ -202,8 +229,8 @@ public class MainActivity extends Activity
|
|||||||
float distanceX, float distanceY)
|
float distanceX, float distanceY)
|
||||||
{
|
{
|
||||||
|
|
||||||
//JniWrapper.OnScroll(distanceX, distanceY, e2.getEventTime());
|
JniWrapper.OnScroll(distanceX, distanceY, e2.getEventTime());
|
||||||
//IsScrolling = true;
|
IsScrolling = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>../../../jni;$(SalmonEnginePath);$(LibsPath)\boost_1_52_0;$(LibsPath)\libogg-1.3.0\include;$(LibsPath)\libvorbis-1.3.2\include;$(LibsPath)\sqplus\sqplus;$(LibsPath)\sqplus\include;$(LibsPath)\DirectXsdk\Include;$(LibsPath)\lpng1510</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../../jni;$(SalmonEnginePath);$(LibsPath)\boost_1_52_0;$(LibsPath)\libogg-1.3.0\include;$(LibsPath)\libvorbis-1.3.2\include;$(LibsPath)\sqplus\sqplus;$(LibsPath)\sqplus\include;$(LibsPath)\DirectXsdk\Include;$(LibsPath)\lpng1510</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>TARGET_WIN32;TARGET_SALMON;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0501;DEBUG</PreprocessorDefinitions>
|
<PreprocessorDefinitions>TARGET_WIN32;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0501;DEBUG</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
@ -64,7 +64,7 @@
|
|||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<AdditionalIncludeDirectories>../../../jni;$(SalmonEnginePath);$(LibsPath)\boost_1_52_0;$(LibsPath)\libogg-1.3.0\include;$(LibsPath)\libvorbis-1.3.2\include;$(LibsPath)\sqplus\sqplus;$(LibsPath)\sqplus\include;$(LibsPath)\DirectXsdk\Include;$(LibsPath)\lpng1510</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../../jni;$(SalmonEnginePath);$(LibsPath)\boost_1_52_0;$(LibsPath)\libogg-1.3.0\include;$(LibsPath)\libvorbis-1.3.2\include;$(LibsPath)\sqplus\sqplus;$(LibsPath)\sqplus\include;$(LibsPath)\DirectXsdk\Include;$(LibsPath)\lpng1510</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>TARGET_WIN32;TARGET_SALMON;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0501;NDEBUG</PreprocessorDefinitions>
|
<PreprocessorDefinitions>TARGET_WIN32;WIN32_LEAN_AND_MEAN;_WIN32_WINNT=0x0501;NDEBUG</PreprocessorDefinitions>
|
||||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
|
Loading…
Reference in New Issue
Block a user