From 12d38de0ca30d8e7036082c2dbf2c98a61256afa Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Thu, 16 Dec 2004 19:46:49 +0000 Subject: the reference to jogl removed --- src/jake2/util/Lib.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/jake2') diff --git a/src/jake2/util/Lib.java b/src/jake2/util/Lib.java index 8abad61..709dfc7 100644 --- a/src/jake2/util/Lib.java +++ b/src/jake2/util/Lib.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: Lib.java,v 1.10 2004-12-06 13:47:02 hzi Exp $ +// $Id: Lib.java,v 1.11 2004-12-16 19:46:49 cawe Exp $ package jake2.util; @@ -30,8 +30,6 @@ import jake2.qcommon.FS; import java.io.*; import java.nio.*; -import net.java.games.jogl.util.BufferUtils; - public class Lib { @@ -279,8 +277,9 @@ public class Lib { * java.nio.* Buffer util functions */ - public static final int SIZEOF_FLOAT = BufferUtils.SIZEOF_FLOAT; - public static final int SIZEOF_INT = BufferUtils.SIZEOF_INT; + public static final int SIZEOF_FLOAT = 4; + public static final int SIZEOF_INT = 4; + public static FloatBuffer newFloatBuffer(int numElements) { ByteBuffer bb = newByteBuffer(numElements * SIZEOF_FLOAT); return bb.asFloatBuffer(); -- cgit v1.2.3