Commit Graph

11 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
7a9cc3600d Bug 1304886 - Part 7: Add mulitiplications for quaternions. r=boris,derf
MozReview-Commit-ID: IZDnU26wj2Y

--HG--
extra : rebase_source : 492e2cb6aa8dc40d5f07661f4a5bac9061d2cca2
2016-11-16 20:32:33 +09:00
Hiroyuki Ikezoe
01533842b8 Bug 1304886 - Part 4: Mark gfxQuaternion::Slerp and ToMatrix const. r=boris
We will use them for const gfxQuaternion in subsequent patches.

MozReview-Commit-ID: 7CBjnklpxUQ

--HG--
extra : rebase_source : 8ce77abd5fcf6e6e0a6e970c0c3e183adf2b8c85
2016-11-16 20:32:32 +09:00
Boris Chiou
9f7759999b Bug 1272549 - Part 3: Implement rotate3d with different direction axis. r=derf
Use quaternion vectors to calculate the distance of two rotate3d
functions.

MozReview-Commit-ID: LizbvRqzcuh

--HG--
extra : rebase_source : 6b852d1f66ba7d79708156119db63683900120fb
2016-10-11 15:15:22 +08:00
Ehsan Akhgari
482db6a79a Bug 1060991 - Fix more bad implicit constructors in gfx; r=roc 2014-08-31 23:32:35 -04:00
David Zbarsky
0b7ba4a9b8 Bug 952977: Remove gfxPointH3D r=nical 2014-08-29 14:47:30 -04:00
Jeff Gilbert
d04e5840f2 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
L. David Baron
116f312f48 Bug 563195: Fix -Wshadow warnings in gfx that affect layout/style. r=derf
A better name here would be welcome.
2013-02-17 22:56:32 -08:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Watt
66f54fe5a4 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Matt Woodrow
11c1aac810 Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf 2011-08-27 12:06:03 +12:00