diff --git a/src/java/org/lwjgl/vector/Matrix.java b/src/java/org/lwjgl/vector/Matrix.java index 097c306a..2fa70395 100644 --- a/src/java/org/lwjgl/vector/Matrix.java +++ b/src/java/org/lwjgl/vector/Matrix.java @@ -13,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * * Neither the name of 'Light Weight Java Game Library' nor the names of + * * Neither the name of 'Lightweight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -31,6 +31,7 @@ */ package org.lwjgl.vector; +import java.io.Serializable; import java.nio.FloatBuffer; /** @@ -42,7 +43,7 @@ import java.nio.FloatBuffer; * @author cix_foo * @version $Revision$ */ -public abstract class Matrix { +public abstract class Matrix implements Serializable { /** * Constructor for Matrix. diff --git a/src/java/org/lwjgl/vector/Matrix2f.java b/src/java/org/lwjgl/vector/Matrix2f.java index 115ca7b1..8167a616 100644 --- a/src/java/org/lwjgl/vector/Matrix2f.java +++ b/src/java/org/lwjgl/vector/Matrix2f.java @@ -13,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * * Neither the name of 'Light Weight Java Game Library' nor the names of + * * Neither the name of 'Lightweight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -31,6 +31,7 @@ */ package org.lwjgl.vector; +import java.io.Serializable; import java.nio.FloatBuffer; /** @@ -42,7 +43,7 @@ import java.nio.FloatBuffer; * @version $Revision$ */ -public class Matrix2f extends Matrix { +public class Matrix2f extends Matrix implements Serializable { public float m00 = 1.0f, m01, m10, m11 = 1.0f; diff --git a/src/java/org/lwjgl/vector/Matrix3f.java b/src/java/org/lwjgl/vector/Matrix3f.java index b9fc5b94..335b8f59 100644 --- a/src/java/org/lwjgl/vector/Matrix3f.java +++ b/src/java/org/lwjgl/vector/Matrix3f.java @@ -13,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * * Neither the name of 'Light Weight Java Game Library' nor the names of + * * Neither the name of 'Lightweight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -31,6 +31,7 @@ */ package org.lwjgl.vector; +import java.io.Serializable; import java.nio.FloatBuffer; /** @@ -42,7 +43,7 @@ import java.nio.FloatBuffer; * @version $Revision$ */ -public class Matrix3f extends Matrix { +public class Matrix3f extends Matrix implements Serializable { public float m00 = 1.0f, m01, diff --git a/src/java/org/lwjgl/vector/Matrix4f.java b/src/java/org/lwjgl/vector/Matrix4f.java index 9a7457ec..9aef3e55 100644 --- a/src/java/org/lwjgl/vector/Matrix4f.java +++ b/src/java/org/lwjgl/vector/Matrix4f.java @@ -13,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * * Neither the name of 'Light Weight Java Game Library' nor the names of + * * Neither the name of 'Lightweight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -32,6 +32,8 @@ package org.lwjgl.vector; import org.lwjgl.Math; + +import java.io.Serializable; import java.nio.FloatBuffer; /** @@ -39,7 +41,7 @@ import java.nio.FloatBuffer; * * @author foo */ -public class Matrix4f extends Matrix { +public class Matrix4f extends Matrix implements Serializable { public float m00 = 1.0f, m01, m02, m03, m10, m11 = 1.0f, m12, m13, m20, m21, m22 = 1.0f, m23, m30, m31, m32, m33 = 1.0f; diff --git a/src/java/org/lwjgl/vector/Vector.java b/src/java/org/lwjgl/vector/Vector.java index cf5aecfc..dae7d751 100644 --- a/src/java/org/lwjgl/vector/Vector.java +++ b/src/java/org/lwjgl/vector/Vector.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002 Light Weight Java Game Library Project + * Copyright (c) 2002 Lightweight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -13,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * * Neither the name of 'Light Weight Java Game Library' nor the names of + * * Neither the name of 'Lightweight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -31,6 +31,7 @@ */ package org.lwjgl.vector; +import java.io.Serializable; import java.nio.FloatBuffer; import org.lwjgl.Math; @@ -43,7 +44,7 @@ import org.lwjgl.Math; * @author cix_foo * @version $Revision$ */ -public abstract class Vector { +public abstract class Vector implements Serializable { /** * Constructor for Vector. diff --git a/src/java/org/lwjgl/vector/Vector2f.java b/src/java/org/lwjgl/vector/Vector2f.java index ee88ffba..3d568d4c 100644 --- a/src/java/org/lwjgl/vector/Vector2f.java +++ b/src/java/org/lwjgl/vector/Vector2f.java @@ -13,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * * Neither the name of 'Light Weight Java Game Library' nor the names of + * * Neither the name of 'Lightweight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -31,6 +31,7 @@ */ package org.lwjgl.vector; +import java.io.Serializable; import java.nio.FloatBuffer; import org.lwjgl.Math; @@ -44,7 +45,7 @@ import org.lwjgl.Math; * @version $Revision$ */ -public class Vector2f extends Vector { +public class Vector2f extends Vector implements Serializable { public float x, y; diff --git a/src/java/org/lwjgl/vector/Vector3f.java b/src/java/org/lwjgl/vector/Vector3f.java index c4b32a2c..aa3c8c88 100644 --- a/src/java/org/lwjgl/vector/Vector3f.java +++ b/src/java/org/lwjgl/vector/Vector3f.java @@ -13,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * * Neither the name of 'Light Weight Java Game Library' nor the names of + * * Neither the name of 'Lightweight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -31,6 +31,7 @@ */ package org.lwjgl.vector; +import java.io.Serializable; import java.nio.FloatBuffer; import org.lwjgl.Math; @@ -44,7 +45,7 @@ import org.lwjgl.Math; * @version $Revision$ */ -public class Vector3f extends Vector { +public class Vector3f extends Vector implements Serializable { public float x, y, z; diff --git a/src/java/org/lwjgl/vector/Vector4f.java b/src/java/org/lwjgl/vector/Vector4f.java index af0adf57..bb8d0cd6 100644 --- a/src/java/org/lwjgl/vector/Vector4f.java +++ b/src/java/org/lwjgl/vector/Vector4f.java @@ -13,7 +13,7 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * * Neither the name of 'Light Weight Java Game Library' nor the names of + * * Neither the name of 'Lightweight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -31,6 +31,7 @@ */ package org.lwjgl.vector; +import java.io.Serializable; import java.nio.FloatBuffer; import org.lwjgl.Math; @@ -44,7 +45,7 @@ import org.lwjgl.Math; * @version $Revision$ */ -public class Vector4f extends Vector { +public class Vector4f extends Vector implements Serializable { public float x, y, z, w;