commit now
This commit is contained in:
parent
ab1ddba0ed
commit
e342af60f6
1
core/.gitignore
vendored
1
core/.gitignore
vendored
@ -18,3 +18,4 @@
|
|||||||
/textRenderer.class
|
/textRenderer.class
|
||||||
/texture.class
|
/texture.class
|
||||||
/vector.class
|
/vector.class
|
||||||
|
/mainThread$MathOperation.class
|
||||||
|
@ -54,7 +54,6 @@ public class grid {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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++){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user