Bug 44970

Summary: Add cross product and arithmetic operations to FloatPoint3D
Product: WebKit Reporter: Kenneth Russell <kbr>
Component: Layout and RenderingAssignee: Kenneth Russell <kbr>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin, jamesr, senorblanco, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 44729, 44991    
Attachments:
Description Flags
Patch simon.fraser: review+, kbr: commit-queue-

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.