aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/util
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2004-12-16 19:46:49 +0000
committerCarsten Weisse <[email protected]>2004-12-16 19:46:49 +0000
commit12d38de0ca30d8e7036082c2dbf2c98a61256afa (patch)
tree35d1bc4550c641b64f0c398d681df09254707995 /src/jake2/util
parent8c9312fe3dfc24438c39733890f27707ac869c99 (diff)
the reference to jogl removed
Diffstat (limited to 'src/jake2/util')
-rw-r--r--src/jake2/util/Lib.java9
1 files changed, 4 insertions, 5 deletions
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();