RESOLVED FIXED Bug 44970
Add cross product and arithmetic operations to FloatPoint3D
https://bugs.webkit.org/show_bug.cgi?id=44970
Summary Add cross product and arithmetic operations to FloatPoint3D
Kenneth Russell
Reported 2010-08-31 12:01:43 PDT
Currently FloatPoint contains arithmetic operations like addition and subtraction that FloatPoint3D lacks. Additionally, FloatPoint3D is missing useful operations like cross products that are needed for various geometric algorithms.
Attachments
Patch (4.71 KB, patch)
2010-08-31 12:35 PDT, Kenneth Russell
simon.fraser: review+
kbr: commit-queue-
Kenneth Russell
Comment 1 2010-08-31 12:35:42 PDT
Created attachment 66086 [details] Patch From the ChangeLog: Added set, move, and scale operations similar to FloatPoint's, addition and subtraction operators, length, lengthSquared and cross product. These changes have been tested with new code to be added later.
Kenneth Russell
Comment 2 2010-08-31 14:27:50 PDT
Note You need to log in before you can comment on or make changes to this bug.