Fixed IsDirectory for windows.

Fixed dll export for windows.
Some minor changes.
This commit is contained in:
spartanj@gmail.com
2012-10-31 00:20:43 -03:00
parent c396f97994
commit 004ad4a8f3
10 changed files with 20 additions and 38 deletions

View File

@@ -18,7 +18,7 @@ void videoResize() {
eeFloat fieldOfView = 30.0;
eeFloat nearPlane = 1.0;
eeFloat farPlane = 10000.0;
eeFloat top = nearPlane * eetan(fieldOfView * EE_PI / 360.0);
eeFloat top = nearPlane * eetan(fieldOfView * EE_PI_360);
eeFloat bottom = -top;
eeFloat right = top * aspectRatio;
eeFloat left = -right;
@@ -29,6 +29,7 @@ void videoResize() {
eeFloat d = (2 * farPlane * nearPlane) / (farPlane - nearPlane);
eeFloat x = (2 * nearPlane) / (right - left);
eeFloat y = (2 * nearPlane) / (top - bottom);
GLfloat perspectiveMatrix[16] = {
x, 0, a, 0,
0, y, b, 0,