Closed
Bug 444689
Opened 16 years ago
Closed 16 years ago
Make gfxMatrix::HasNonTranslation and friends more forgiving
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(1 file, 1 obsolete file)
5.90 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
We should allow an epsilon tolerance in these methods. Right now if you multiply a translation matrix by A and then by A-inverse it might no longer be considered a translation matrix.
Attachment #329010 -
Flags: review?(vladimir)
FuzzyEqual really shouldn't be inside gfxMatrix...
Assignee | ||
Comment 2•16 years ago
|
||
Where do you want it?
Yeah, that's a good question -- maybe in gfxTypes.h? That's where we do the typedef for gfxFloat, maybe call it FloatFuzzyEquals or something (gfxFloatFuzzyEquals?)
Assignee | ||
Comment 4•16 years ago
|
||
Hm. Thebes doesn't have any global functions yet I guess. Could you handle gfxPlatform::FuzzyEquals?
Sure, though at that point we may as well do gfxUtils::FuzzyEquals? There's probably other stuff we can dump onto gfxUtils as well
Assignee | ||
Comment 6•16 years ago
|
||
move to gfxUtils
Attachment #329010 -
Attachment is obsolete: true
Attachment #329022 -
Flags: review?(vladimir)
Attachment #329010 -
Flags: review?(vladimir)
Comment on attachment 329022 [details] [diff] [review] fix v2 Looks good, thanks!
Attachment #329022 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 8•16 years ago
|
||
Pushed 9ec413364193.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•