|Summary:||Add cross product and arithmetic operations to FloatPoint3D|
|Product:||WebKit||Reporter:||Kenneth Russell <kbr>|
|Component:||Layout and Rendering||Assignee:||Kenneth Russell <kbr>|
|Severity:||Normal||CC:||cmarrin, jamesr, senorblanco, simon.fraser|
|Version:||528+ (Nightly build)|
|Bug Depends on:|
|Bug Blocks:||44729, 44991|
Description Kenneth Russell 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.
Comment 1 Kenneth Russell 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.