From 987cca0d4d36f491ed97a04e08fad9a35967b5bb Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Mon, 19 Nov 2018 21:16:01 +1100 Subject: [PATCH] Redid kirsanium xform fix --- src/core/Transform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Transform.cpp b/src/core/Transform.cpp index 36b92264..926b9bce 100644 --- a/src/core/Transform.cpp +++ b/src/core/Transform.cpp @@ -74,8 +74,8 @@ Plane Transform::xform_inv(const Plane& p_plane) const { Vector3 point=p_plane.normal*p_plane.d; Vector3 point_dir=point+p_plane.normal; - xform_inv(point); - xform_inv(point_dir); + point=xform_inv(point); + point_dir=xform_inv(point_dir); Vector3 normal=point_dir-point; normal.normalize();