summaryrefslogtreecommitdiff
path: root/hgehelp/hgedistort.cpp
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-15 02:29:19 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-15 02:29:19 +0000
commit856c345feca062fdfc0b177e0de25489fb1b0c06 (patch)
tree9018cf4f5245e3b6533e86dfa8ca8486a5859498 /hgehelp/hgedistort.cpp
parentf2ce3ddfcb72fc3026ba85bd41849fa1886877e4 (diff)
downloadbullet-lab-remix-856c345feca062fdfc0b177e0de25489fb1b0c06.tar.xz
Extend hge with a 3D Rotation method, it's not tested yet.
Fix probable compile errors due to includes.
Diffstat (limited to 'hgehelp/hgedistort.cpp')
-rw-r--r--hgehelp/hgedistort.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/hgehelp/hgedistort.cpp b/hgehelp/hgedistort.cpp
index 276ca05..c7dc821 100644
--- a/hgehelp/hgedistort.cpp
+++ b/hgehelp/hgedistort.cpp
@@ -6,7 +6,7 @@
** hgeDistortionMesh helper class implementation
*/
-#include "../../include/hgedistort.h"
+#include "hgedistort.h"
HGE *hgeDistortionMesh::hge=0;
@@ -15,7 +15,7 @@ HGE *hgeDistortionMesh::hge=0;
hgeDistortionMesh::hgeDistortionMesh(int cols, int rows)
{
int i;
-
+
hge=hgeCreate(HGE_VERSION);
nRows=rows;
@@ -31,7 +31,7 @@ hgeDistortionMesh::hgeDistortionMesh(int cols, int rows)
disp_array[i].y=0.0f;
disp_array[i].tx=0.0f;
disp_array[i].ty=0.0f;
-
+
disp_array[i].z=0.5f;
disp_array[i].col=0xFFFFFFFF;
}
@@ -81,7 +81,7 @@ hgeDistortionMesh& hgeDistortionMesh::operator= (const hgeDistortionMesh &dm)
}
return *this;
-
+
}
void hgeDistortionMesh::SetTexture(HTEXTURE tex)