Blitz3D: Reformatting and more optimizations

This commit is contained in:
Michael Fabian Dirks
2017-04-09 05:35:18 +02:00
parent a5f409755e
commit 11cc383e7b
18 changed files with 743 additions and 695 deletions
+2 -2
View File
@@ -40,10 +40,10 @@ struct TerrainRep::Vert{
Vert(){
}
Vert( int x,int z ):x(x),z(z),v( x,curr->getHeight(x,z),z){
Vert( int x,int z ):x(x),z(z),v( (float)x,curr->getHeight(x,z),(float)z){
src_y=v.y;
}
Vert( int x,int z,float sy ):x(x),z(z),v( x,curr->getHeight(x,z),z ),src_y(sy){
Vert(int x, int z, float sy) :x(x), z(z), v((float)x, curr->getHeight(x, z), (float)z), src_y(sy) {
}
};