Merge remote repo native into ext/native/.

This commit is contained in:
Unknown W. Brackets committed 2015-09-06 12:24:17 -07:00
commit f279c2a3c2
378 files changed
+190761

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#include "math/lin/matrix4x4.h"
#include "math/lin/plane.h"
void Plane::TransformByIT(const Matrix4x4 &m, Plane *out) {
out->x = x * m.xx + y * m.yx + z * m.zx + d * m.wx;
out->y = x * m.xy + y * m.yy + z * m.zy + d * m.wy;
out->z = x * m.xz + y * m.yz + z * m.zz + d * m.wz;
out->d = x * m.xw + y * m.yw + z * m.zw + d * m.ww;
}