From 252832999fa43bce63ca4b643fab5d9dd51fccc4 Mon Sep 17 00:00:00 2001 From: Holger Zickner Date: Thu, 8 Jul 2004 20:24:48 +0000 Subject: import of Jake2 version cebit --- src/jake2/game/cplane_t.java | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 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 2eb29e9..4465a76 100644 --- a/src/jake2/game/cplane_t.java +++ b/src/jake2/game/cplane_t.java @@ -19,7 +19,7 @@ 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.2 2004-07-08 15:58:44 hzi Exp $ +// $Id: cplane_t.java,v 1.3 2004-07-08 20:24:29 hzi Exp $ package jake2.game; @@ -34,17 +34,18 @@ public class cplane_t public byte signbits; // signx + (signy<<1) + (signz<<1) public byte pad[] = { 0, 0 }; - public cplane_t getClone() - { - cplane_t out = new cplane_t(); - out.normal = Lib.clone(normal); - out.dist = dist; - out.type = type; - out.signbits = signbits; - out.pad = Lib.clone(pad); - - return out; - } +// public cplane_t getClone() +// { +// cplane_t out = new cplane_t(); +// Math3D.set(out.normal, normal); +// out.dist = dist; +// out.type = type; +// out.signbits = signbits; +// out.pad[0] = pad[0]; +// out.pad[1] = pad[1]; +// +// return out; +// } public void set(cplane_t c) { -- cgit v1.2.3