aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/server
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-01-14 16:14:02 +0000
committerCarsten Weisse <[email protected]>2005-01-14 16:14:02 +0000
commitf81da5f4ecebb9ef5c283389b41c0a72889f64ae (patch)
tree4fc0e60bf3d3fdb3decdac08d876f8822fdaedc2 /src/jake2/server
parentcff7dca2b76c9a5e18fc72c28665f8b918b2e9cc (diff)
clear() added
Diffstat (limited to 'src/jake2/server')
-rw-r--r--src/jake2/server/moveclip_t.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/jake2/server/moveclip_t.java b/src/jake2/server/moveclip_t.java
index 7bec554..3a336af 100644
--- a/src/jake2/server/moveclip_t.java
+++ b/src/jake2/server/moveclip_t.java
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Created on 09.12.2003 by RST.
-// $Id: moveclip_t.java,v 1.1 2004-07-07 19:59:50 hzi Exp $
+// $Id: moveclip_t.java,v 1.2 2005-01-14 16:14:02 cawe Exp $
package jake2.server;
@@ -30,6 +30,7 @@ import jake2.game.*;
import jake2.qcommon.*;
import jake2.render.*;
import jake2.server.*;
+import jake2.util.Math3D;
public class moveclip_t
{
@@ -41,4 +42,17 @@ public class moveclip_t
trace_t trace = new trace_t();
edict_t passedict;
int contentmask;
+
+ public void clear() {
+ Math3D.VectorClear(boxmins);
+ Math3D.VectorClear(boxmaxs);
+ Math3D.VectorClear(mins);
+ Math3D.VectorClear(maxs);
+ Math3D.VectorClear(mins2);
+ Math3D.VectorClear(maxs2);
+ start = end = null;
+ trace.clear();
+ passedict = null;
+ contentmask = 0;
+ }
}