浏览代码

Review: fix wrong interpretation of methods for JNI.

Kim Kulling 6 年之前
父节点
当前提交
7eee959d55
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      port/jassimp/jassimp/src/jassimp/Jassimp.java

+ 4 - 4
port/jassimp/jassimp/src/jassimp/Jassimp.java

@@ -260,7 +260,7 @@ public final class Jassimp {
      * @param data the matrix data
      * @return the wrapped matrix
      */
-    private static Object wrapMatrix(float[] data) {
+    static Object wrapMatrix(float[] data) {
         return s_wrapperProvider.wrapMatrix4f(data);
     }
     
@@ -275,7 +275,7 @@ public final class Jassimp {
      * @param blue blue component
      * @return the wrapped color
      */
-    private static Object wrapColor3(float red, float green, float blue) {
+    static Object wrapColor3(float red, float green, float blue) {
         return wrapColor4(red, green, blue, 1.0f);
     }
     
@@ -291,7 +291,7 @@ public final class Jassimp {
      * @param alpha alpha component
      * @return the wrapped color
      */
-    private static Object wrapColor4(float red, float green, float blue, float alpha) {
+    static Object wrapColor4(float red, float green, float blue, float alpha) {
         ByteBuffer temp = ByteBuffer.allocate(4 * 4);
         temp.putFloat(red);
         temp.putFloat(green);
@@ -312,7 +312,7 @@ public final class Jassimp {
      * @param z z component
      * @return the wrapped vector
      */
-    private static Object wrapVec3(float x, float y, float z) {
+    static Object wrapVec3(float x, float y, float z) {
         ByteBuffer temp = ByteBuffer.allocate(3 * 4);
         temp.putFloat(x);
         temp.putFloat(y);