Skip to content

Commit

Permalink
jse3d v2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Emery Ferrari committed Jun 22, 2020
1 parent 8a865ad commit c5ec7bd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/com/emeryferrari/jse3d/JSE3DConst.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
public class JSE3DConst {
private JSE3DConst() {}
public static final String NAME = "jse3d";
public static final String VERSION = "v2.2.2";
public static final String VERSION = "v2.2.3";
public static final String FULL_NAME = JSE3DConst.NAME + " " + JSE3DConst.VERSION;
}
2 changes: 1 addition & 1 deletion src/com/emeryferrari/jse3d/network/JSE3DClientConst.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package com.emeryferrari.jse3d.network;
class JSE3DClientConst {
private JSE3DClientConst() {}
public static final String API_VERSION = "v1.0.222";
public static final String API_VERSION = "v1.0.223";
}
9 changes: 9 additions & 0 deletions src/com/emeryferrari/jse3d/obj/Vector3.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,13 @@ public Vector3 multiply(Vector3 multiply) {
z *= multiply.z;
return this;
}
public static Vector3 divide(Vector3 divide1, Vector3 divide2) {
return new Vector3(divide1.x/divide2.x, divide1.y/divide2.y, divide1.z/divide2.z);
}
public Vector3 divide(Vector3 divide) {
x /= divide.x;
y /= divide.y;
z /= divide.z;
return this;
}
}

0 comments on commit c5ec7bd

Please sign in to comment.