commit now

This commit is contained in:
Pan Hu 2019-01-13 22:29:44 +13:00
parent ab1ddba0ed
commit e342af60f6
4 changed files with 4 additions and 4 deletions

1
core/.gitignore vendored
View File

@ -18,3 +18,4 @@
/textRenderer.class /textRenderer.class
/texture.class /texture.class
/vector.class /vector.class
/mainThread$MathOperation.class

View File

@ -54,7 +54,6 @@ public class grid {
} }
} }
} }

View File

@ -49,7 +49,7 @@ public class polygon3D {
public solidObject parentObject; public solidObject parentObject;
//A pool of vectors which will be used for vector arithmetic //A pool of vectors which will be used for vector arithmetic
public vector public static vector
tempVector1 = new vector(0,0,0), tempVector1 = new vector(0,0,0),
tempVector2 = new vector(0,0,0), tempVector2 = new vector(0,0,0),
tempVector3 = new vector(0,0,0), tempVector3 = new vector(0,0,0),
@ -83,7 +83,7 @@ public class polygon3D {
public byte[] diffuse = new byte[3]; public byte[] diffuse = new byte[3];
//default light source //default light source
public vector lightDirection = sunLight.lightDirection; public static vector lightDirection = sunLight.lightDirection;
//the color of polygon if it is defined as soild //the color of polygon if it is defined as soild
public int color; public int color;

View File

@ -60,7 +60,7 @@ public class enemyCommander {
thinkHardLikeHumanPlayer(); thinkHardLikeHumanPlayer();
drawVisionMap(); //drawVisionMap();
//reset tempBitmap; //reset tempBitmap;
for(int i = 0 ;i < tempBitmap.length; i++){ for(int i = 0 ;i < tempBitmap.length; i++){