blob: fa757dc6b0b8f74af8cbe1201b8a5778224ff8bf (
plain)
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
|
// <-- Non-regression test for bug 2162 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2162
//
// <-- Short Description -->
// When using plot3d with facets coordinates, it is impossible to draw a single facet.
// Copyright INRIA
// Scilab Project - Jean-Baptiste Silvy
// Copyright INRIA 2006
// Date : October 19 2006
xf = [0;0;0;0] ;
yf = [0;1;1;0] ;
zf = [0;0;1;1] ; // coordinates of a square
// plot3d routine should be able to draw a single square
plot3d( xf, yf, zf ) ;
e = gce() ;
if ( e.type == "Fac3d" ) then
affich_result(%T,2162);
else
affich_result(%F,2162);
end
|