Closed
Bug 342926
Opened 18 years ago
Closed 16 years ago
RayCaster example is missing a call to beginPath (thus broken in Firefox and latest WebKit)
Categories
(Developer Documentation Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: darin, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.3 Build Identifier: The example at <http://developer.mozilla.org/samples/raycaster/RayCaster.html> has a bug in it. In Safari 2.0 it shades the walls as it should, but it does not in Firefox nor in the latest TOT WebKit. The reason is that the drawSliver function does not call beginPath, so it just keeps adding lines to one large path, overwriting itself. Reported as a bug in WebKit as <http://bugzilla.opendarwin.org/show_bug.cgi?id=9607>. Reproducible: Always Actual Results: Walls appear to not be shaded. Expected Results: Walls should look shaded as they do in Safari 2.0.
Reporter | ||
Comment 1•18 years ago
|
||
Not sure I got the right component for this.
Comment 2•18 years ago
|
||
As far as i can figure out, this is the right component. Confirming that the behavior of RayCaster is wrong here as well.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•18 years ago
|
||
Ok it's the wrong product, moving it to the right one.
Component: Web Developer → Documentation Requests
Product: Documentation → Mozilla Developer Center
Updated•18 years ago
|
Assignee: web.developer → nobody
QA Contact: doc-request
Comment 4•16 years ago
|
||
Added beginPath() and closePath() calls to drawSliver().
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Component: Documentation Requests → Documentation
Updated•12 years ago
|
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
You need to log in
before you can comment on or make changes to this bug.
Description
•