diff --git a/src/org/hl/engine/math/Vector3f.java b/src/org/hl/engine/math/Vector3f.java new file mode 100644 index 0000000..afc8a6b --- /dev/null +++ b/src/org/hl/engine/math/Vector3f.java @@ -0,0 +1,43 @@ +package org.hl.engine.math; + + +public class Vector3f { + private float x, y, z; + + public Vector3f(float x, float y, float z) { + this.x = x; + this.y = y; + this.z = z; + } + + public void setVector(float x, float y, float z) { + this.x = x; + this.y = y; + this.z = z; + } + + public float getX() { + return x; + } + + public void setX(float x) { + this.x = x; + } + + public float getY() { + return y; + } + + public void setY(float y) { + this.y = y; + } + + public float getZ() { + return z; + } + + public void setZ(float z) { + this.z = z; + } +} +