Commit be4ef65b authored by Human Gamer's avatar Human Gamer

Pickle

parent 78a3f328
Pipeline #2499771 skipped
......@@ -126,6 +126,7 @@ public class InteriorBuilder
Point3F normal = normals.getObject(i);
String texture = mesh.getTextures()[textureIndices[i]];
Point2F offset = new Point2F(0, 0);
Point2F scale = new Point2F(0.25f, 0.25f);
float rotation = 0;
if (texture.equalsIgnoreCase("edge_white") || texture.equalsIgnoreCase("edge_white_mbm"))
......@@ -136,7 +137,8 @@ public class InteriorBuilder
rotation = 45;
if (texture.equalsIgnoreCase("beam"))
rotation = 90;
TexData texData = new TexData(normal, new Point2F(0, 0), rotation, scale);
//offset = new Point2F(2, 0);
TexData texData = new TexData(normal, offset, rotation, scale);
ImageData imageData = images.get(texture);
TexGenPlanes texGenPlanes = new TexGenPlanes(normal, point, uv);
if (imageData != null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment