Commits

Roi Atalla committed 91e4e68

Added @author tag on all files.

Comments (0)

Files changed (36)

+syntax: glob
+.idea/
+OpenGL Utils.iml

src/com/ra4king/opengl/util/GLProgram.java

 import org.lwjgl.opengl.DisplayMode;
 import org.lwjgl.opengl.PixelFormat;
 
+/**
+ * @author Roi Atalla
+ */
 public abstract class GLProgram {
 	private int fps;
 	

src/com/ra4king/opengl/util/Mesh.java

 import org.lwjgl.opengl.ARBVertexArrayObject;
 import org.lwjgl.opengl.GLContext;
 
+/**
+ * @author Roi Atalla
+ */
 public class Mesh {
 	private final static boolean IS_MAC = System.getProperty("os.name").toLowerCase().contains("mac");
 	private final static boolean HAS_VAO = GLContext.getCapabilities().OpenGL30;

src/com/ra4king/opengl/util/MousePoles.java

 import com.ra4king.opengl.util.math.Vector2;
 import com.ra4king.opengl.util.math.Vector3;
 
+/**
+ * @author Roi Atalla
+ */
 public class MousePoles {
 	public enum MouseButton {
 		LEFT_BUTTON,

src/com/ra4king/opengl/util/ShaderProgram.java

 
 import java.util.Map;
 
+/**
+ * @author Roi Atalla
+ */
 public class ShaderProgram {
 	private int program;
 	

src/com/ra4king/opengl/util/StringUtil.java

 import java.util.ArrayList;
 
 /**
- * @author ra4king
+ * @author Roi Atalla
  */
 public class StringUtil {
 	public static String[] split(String input, char delim) {

src/com/ra4king/opengl/util/Timer.java

 package com.ra4king.opengl.util;
 
+/**
+ * @author Roi Atalla
+ */
 public class Timer {
 	public enum Type {
 		LOOP,

src/com/ra4king/opengl/util/UniformBlockArray.java

 
 import org.lwjgl.BufferUtils;
 
+/**
+ * @author Roi Atalla
+ */
 public class UniformBlockArray<T extends UniformBlockArray.UniformBlockObject> {
 	private final FloatBuffer storage;
 	private final int blockOffset;

src/com/ra4king/opengl/util/Utils.java

 import com.ra4king.opengl.util.math.Vector3;
 import com.ra4king.opengl.util.math.Vector4;
 
+/**
+ * @author Roi Atalla
+ */
 public class Utils {
 	public static void checkGLError(String event) {
 		int error;

src/com/ra4king/opengl/util/interpolators/ConstVelLinearInterpolatorVector.java

 
 import com.ra4king.opengl.util.math.Vector;
 
+/**
+ * @author Roi Atalla
+ */
 public class ConstVelLinearInterpolatorVector<T extends Vector<T>> extends WeightedLinearInterpolatorVector<T> {
 	private float totalDist;
 	

src/com/ra4king/opengl/util/interpolators/ConstVelLinearInterpolatorf.java

 
 import java.util.ArrayList;
 
+/**
+ * @author Roi Atalla
+ */
 public class ConstVelLinearInterpolatorf extends WeightedLinearInterpolatorf {
 	private float totalDist;
 	

src/com/ra4king/opengl/util/interpolators/LinearInterpolatorVector.java

 
 import com.ra4king.opengl.util.math.Vector;
 
+/**
+ * @author Roi Atalla
+ */
 public class LinearInterpolatorVector<T extends Vector<T>> extends WeightedLinearInterpolatorVector<T> {
 	public void setValues(ArrayList<T> data) {
 		setValues(data, true);

src/com/ra4king/opengl/util/interpolators/LinearInterpolatorf.java

 
 import java.util.ArrayList;
 
+/**
+ * @author Roi Atalla
+ */
 public class LinearInterpolatorf extends WeightedLinearInterpolatorf {
 	public void setValues(ArrayList<Float> data) {
 		setValues(data, true);

src/com/ra4king/opengl/util/interpolators/TimedLinearInterpolatorVector.java

 
 import com.ra4king.opengl.util.math.Vector;
 
+/**
+ * @author Roi Atalla
+ */
 public class TimedLinearInterpolatorVector<T extends Vector<T>> extends WeightedLinearInterpolatorVector<T> {
 	public void setValues(ArrayList<Data> data) {
 		setValues(data, true);

src/com/ra4king/opengl/util/interpolators/TimedLinearInterpolatorf.java

 
 import java.util.ArrayList;
 
+/**
+ * @author Roi Atalla
+ */
 public class TimedLinearInterpolatorf extends WeightedLinearInterpolatorf {
 	public void setValues(ArrayList<Data> data) {
 		setValues(data, true);

src/com/ra4king/opengl/util/interpolators/WeightedLinearInterpolatorVector.java

 
 import com.ra4king.opengl.util.math.Vector;
 
+/**
+ * @author Roi Atalla
+ */
 public class WeightedLinearInterpolatorVector<T extends Vector<T>> {
 	public class Data {
 		public T data;

src/com/ra4king/opengl/util/interpolators/WeightedLinearInterpolatorf.java

 
 import java.util.ArrayList;
 
+/**
+ * @author Roi Atalla
+ */
 public class WeightedLinearInterpolatorf {
 	public class Data {
 		public float data;

src/com/ra4king/opengl/util/loader/XMLMeshLoader.java

 import com.ra4king.opengl.util.StringUtil;
 
 /**
- * @author ra4king
+ * @author Roi Atalla
  */
 public class XMLMeshLoader {
 	private ArrayList<RenderCommand> renderCommands = new ArrayList<>();

src/com/ra4king/opengl/util/math/Matrix3.java

 
 import org.lwjgl.BufferUtils;
 
+/**
+ * @author Roi Atalla
+ */
 public class Matrix3 {
 	private float[] matrix;
 	

src/com/ra4king/opengl/util/math/Matrix4.java

 
 import org.lwjgl.BufferUtils;
 
+/**
+ * @author Roi Atalla
+ */
 public class Matrix4 {
 	private float[] matrix;
 	

src/com/ra4king/opengl/util/math/MatrixStack.java

 
 import java.util.Stack;
 
+/**
+ * @author Roi Atalla
+ */
 public class MatrixStack {
 	private Stack<Matrix4> stack;
 	private Matrix4 current;

src/com/ra4king/opengl/util/math/Quaternion.java

 package com.ra4king.opengl.util.math;
 
+/**
+ * @author Roi Atalla
+ */
 public class Quaternion {
 	private float x, y, z, w;
 	

src/com/ra4king/opengl/util/math/Vector.java

 
 import java.nio.FloatBuffer;
 
+/**
+ * @author Roi Atalla
+ */
 public interface Vector<V> {
 	V add(V v);
 	

src/com/ra4king/opengl/util/math/Vector2.java

 
 import org.lwjgl.BufferUtils;
 
+/**
+ * @author Roi Atalla
+ */
 public class Vector2 implements Vector<Vector2> {
 	private float x, y;
 	

src/com/ra4king/opengl/util/math/Vector3.java

 
 import org.lwjgl.BufferUtils;
 
+/**
+ * @author Roi Atalla
+ */
 public class Vector3 implements Vector<Vector3> {
 	private float x, y, z;
 	

src/com/ra4king/opengl/util/math/Vector4.java

 
 import org.lwjgl.BufferUtils;
 
+/**
+ * @author Roi Atalla
+ */
 public class Vector4 implements Vector<Vector4> {
 	private float x, y, z, w;
 	

src/com/ra4king/opengl/util/scene/Scene.java

 import rosick.jglsdk.glimg.TextureGenerator.ForcedConvertFlags;
 
 /**
- * @author ra4king
+ * @author Roi Atalla
  */
 public class Scene {
 	private HashMap<String,Mesh> meshes;

src/com/ra4king/opengl/util/scene/binders/StateBinder.java

 
 import com.ra4king.opengl.util.ShaderProgram;
 
+/**
+ * @author Roi Atalla
+ */
 public interface StateBinder {
 	void bindState(ShaderProgram program);
 	

src/com/ra4king/opengl/util/scene/binders/TextureBinder.java

 
 import com.ra4king.opengl.util.ShaderProgram;
 
+/**
+ * @author Roi Atalla
+ */
 public class TextureBinder implements StateBinder {
 	public int texUnit;
 	public int texType = GL_TEXTURE_2D;

src/com/ra4king/opengl/util/scene/binders/UniformBlockBinder.java

 
 import com.ra4king.opengl.util.ShaderProgram;
 
+/**
+ * @author Roi Atalla
+ */
 public class UniformBlockBinder implements StateBinder {
 	public int blockIndex;
 	public int uniformBuffer;

src/com/ra4king/opengl/util/scene/binders/UniformFloatBinder.java

 
 import com.ra4king.opengl.util.ShaderProgram;
 
+/**
+ * @author Roi Atalla
+ */
 public class UniformFloatBinder extends UniformBinderBase {
 	private float value;
 	

src/com/ra4king/opengl/util/scene/binders/UniformIntBinder.java

 
 import com.ra4king.opengl.util.ShaderProgram;
 
+/**
+ * @author Roi Atalla
+ */
 public class UniformIntBinder extends UniformBinderBase {
 	private int value;
 	

src/com/ra4king/opengl/util/scene/binders/UniformMat4Binder.java

 import com.ra4king.opengl.util.ShaderProgram;
 import com.ra4king.opengl.util.math.Matrix4;
 
+/**
+ * @author Roi Atalla
+ */
 public class UniformMat4Binder extends UniformBinderBase {
 	private Matrix4 value = new Matrix4().clearToIdentity();
 	

src/com/ra4king/opengl/util/scene/binders/UniformVec2Binder.java

 import com.ra4king.opengl.util.ShaderProgram;
 import com.ra4king.opengl.util.math.Vector2;
 
+/**
+ * @author Roi Atalla
+ */
 public class UniformVec2Binder extends UniformBinderBase {
 	private Vector2 value = new Vector2();
 	

src/com/ra4king/opengl/util/scene/binders/UniformVec3Binder.java

 import com.ra4king.opengl.util.ShaderProgram;
 import com.ra4king.opengl.util.math.Vector3;
 
+/**
+ * @author Roi Atalla
+ */
 public class UniformVec3Binder extends UniformBinderBase {
 	private Vector3 value = new Vector3();
 	

src/com/ra4king/opengl/util/scene/binders/UniformVec4Binder.java

 import com.ra4king.opengl.util.ShaderProgram;
 import com.ra4king.opengl.util.math.Vector4;
 
+/**
+ * @author Roi Atalla
+ */
 public class UniformVec4Binder extends UniformBinderBase {
 	private Vector4 value = new Vector4();