|
Author |
Topic: LINE_LOOP fades to closing vertex (Read 1962 times) |
|
kevinP
|
LINE_LOOP fades to closing vertex
« on: Feb 16th, 2004, 7:11am » |
|
andrew_r posted about this in syntax, but thought I'd confirm here... Code: // closing line fades... int cx = width/2; int cy = height/2; beginShape(LINE_LOOP); vertex(cx - 30, 10); vertex(cx + 30, 10); vertex(cx - 30, 80); vertex(cx + 30, 80); endShape(); |
| [getting lazy about adding this...] 0068 alpha, Linux, KDE -K
|
« Last Edit: Feb 16th, 2004, 7:14am by kevinP » |
|
Kevin Pfeiffer
|
|
|
fry
|
Re: LINE_LOOP fades to closing vertex
« Reply #1 on: Feb 18th, 2004, 3:19pm » |
|
ah, intristin. i've made a note, it should be an easy fix.
|
|
|
|
fry
|
Re: LINE_LOOP fades to closing vertex
« Reply #2 on: Jul 13th, 2004, 6:04am » |
|
found and squashed for megabucket. for the geeky: the alpha value for the final vertex wasn't getting copied, so it was set to zero, causing the weak fade-out effect.
|
|
|
|
|