From 4f13ea26c4f47e54e66926f0700cf631e7bb3352 Mon Sep 17 00:00:00 2001 From: Holger Zickner Date: Thu, 8 Jul 2004 15:58:48 +0000 Subject: import of Jake2 version hannover --- src/jake2/game/cplane_t.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/jake2/game/cplane_t.java') diff --git a/src/jake2/game/cplane_t.java b/src/jake2/game/cplane_t.java index ab1f5ac..2eb29e9 100644 --- a/src/jake2/game/cplane_t.java +++ b/src/jake2/game/cplane_t.java @@ -19,22 +19,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 31.10.2003 by RST. -// $Id: cplane_t.java,v 1.1 2004-07-07 19:59:24 hzi Exp $ +// $Id: cplane_t.java,v 1.2 2004-07-08 15:58:44 hzi Exp $ package jake2.game; import jake2.util.Lib; import jake2.util.Math3D; -public class cplane_t { - +public class cplane_t +{ public float normal[] = new float[3]; public float dist; public byte type; // for fast side tests public byte signbits; // signx + (signy<<1) + (signz<<1) public byte pad[] = { 0, 0 }; - public cplane_t getClone() { + public cplane_t getClone() + { cplane_t out = new cplane_t(); out.normal = Lib.clone(normal); out.dist = dist; @@ -45,7 +46,8 @@ public class cplane_t { return out; } - public void set(cplane_t c) { + public void set(cplane_t c) + { Math3D.set(normal, c.normal); dist = c.dist; -- cgit v1.2.3