File: bug349

package info (click to toggle)
oce 0.15-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 302,472 kB
  • ctags: 210,903
  • sloc: cpp: 1,165,052; ansic: 75,256; sh: 11,901; tcl: 4,488; python: 2,867; makefile: 337; perl: 37; csh: 12
file content (102 lines) | stat: -rwxr-xr-x 2,314 bytes parent folder | download
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
puts "========"
puts "OCC349"
puts "1. Hidden line removal algorithm works incorrect in the perspective view"
puts "========"

vinit
box b 100 900 300
set 3dviewer 1
vdisplay b

OCC280 1 0

vfit

set x1 165
set y1 109

set x2 380
set y2 26

set x3 215
set y3 130

set x4 31
set y4 199

set x5 188
set y5 254

set x6 351
set y6 177

set x7 216
set y7 287

set x8 22
set y8 373

set x9 2
set y9 249

set x10 345
set y10 92

set x11 393
set y11 109

set x12 52
set y12 284

#
#              ___________2________________
#             /|                          /|
#            / |                         / |
#           /  |                        /  |
#          /   |                       /   |
#         /    |                      /    |
#        1     |                     3     |
#       /      |                    /      |
#      /       |                   /       |
#     /        |                  /        |
#    /         |                 /         |
#   ----------------4------------          |
#   |          |                |          |
#   |          |                |          |
#   |          |                |          |
#   |         10                |         11
#   |          |                |          |
#   |          |                |          |
#   |          |                |          |
#   |          |                |          |
#   |          |                |          |
#   9          |               12          |
#   |          |___________6____|__________|
#   |         /                 |         /
#   |        /                  |        /
#   |       /                   |       /
#   |      /                    |      /
#   |     5                     |     /
#   |    /                      |    7
#   |   /                       |   /
#   |  /                        |  /
#   | /                         | /
#   |/                          |/
#   |--------------8------------|
#
#

checkcolor ${x1} ${y1} 1 1 0
checkcolor ${x2} ${y2} 1 1 0
checkcolor ${x3} ${y3} 1 1 0
checkcolor ${x4} ${y4} 1 1 0
checkcolor ${x7} ${y7} 1 1 0
checkcolor ${x8} ${y8} 1 1 0
checkcolor ${x9} ${y9} 1 1 0
checkcolor ${x11} ${y11} 1 1 0
checkcolor ${x12} ${y12} 1 1 0
checkcolor ${x5} ${y5} 0 0 0
checkcolor ${x6} ${y6} 0 0 0
checkcolor ${x10} ${y10} 0 0 0

set only_screen 1