diff options
author | Holger Zickner <[email protected]> | 2004-07-08 15:58:48 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-08 15:58:48 +0000 |
commit | 4f13ea26c4f47e54e66926f0700cf631e7bb3352 (patch) | |
tree | a9d434fc462417bb981b1565fd64cea5e7c82c15 /src/jake2/game/cplane_t.java | |
parent | 76839da3568e20f51220584d1fc92841b216505a (diff) |
import of Jake2 version hannover
Diffstat (limited to 'src/jake2/game/cplane_t.java')
-rw-r--r-- | src/jake2/game/cplane_t.java | 12 |
1 files changed, 7 insertions, 5 deletions
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; |