Fixed error in drawing connected lines with axis transforms
This commit is contained in:
parent
04b49bcdd1
commit
3d2a9794b4
|
@ -1024,10 +1024,10 @@
|
|||
(map plot->norm vs))))]
|
||||
[else
|
||||
(for ([vs (in-list vss)])
|
||||
(define vs (subdivide-lines plot->dc vs))
|
||||
(add-shape! plot3d-area-layer
|
||||
(lines (line-data alpha pen-color pen-width pen-style)
|
||||
(map plot->norm vs))))])))))
|
||||
(let ([vs (subdivide-lines plot->dc vs)])
|
||||
(add-shape! plot3d-area-layer
|
||||
(lines (line-data alpha pen-color pen-width pen-style)
|
||||
(map plot->norm vs)))))])))))
|
||||
|
||||
(define (add-polygon! vs face ls)
|
||||
(let/ec return
|
||||
|
|
|
@ -24,6 +24,12 @@ slow parts
|
|||
profile
|
||||
contract-profile)
|
||||
|
||||
#;; Test under crazy transformation
|
||||
(begin
|
||||
(plot-x-transform cbrt-transform)
|
||||
(plot-y-transform cbrt-transform)
|
||||
(plot-z-transform cbrt-transform))
|
||||
|
||||
#;
|
||||
(plot3d (contour-intervals3d * -1 1 -1 1 #:samples 3 #:line-widths '(2)))
|
||||
|
||||
|
@ -112,7 +118,7 @@ slow parts
|
|||
0.7)
|
||||
0.4))
|
||||
-1 1 -1 1
|
||||
#:samples 41
|
||||
#:samples 40
|
||||
;#:alphas '(0.75)
|
||||
#:alpha 0.95
|
||||
#:color "plum"
|
||||
|
|
Loading…
Reference in New Issue
Block a user