From 2a2d7073a31e294127aaa354936b9f034c2c377e Mon Sep 17 00:00:00 2001 From: modeco80 Date: Mon, 20 Jan 2025 00:03:19 -0500 Subject: [PATCH] *: move //hexpat to //datadoc/imhex This commit moves the existing files to better fitting places. It is part of a documentation rework I'm doing. --- {hexpat => datadoc/imhex}/msh.hexpat | 0 {hexpat => datadoc/imhex}/pak.hexpat | 0 {hexpat => datadoc/imhex}/yatf.hexpat | 0 {hexpat => datadoc/mrp}/mesh_researcher_pro_msh.py | 3 ++- 4 files changed, 2 insertions(+), 1 deletion(-) rename {hexpat => datadoc/imhex}/msh.hexpat (100%) rename {hexpat => datadoc/imhex}/pak.hexpat (100%) rename {hexpat => datadoc/imhex}/yatf.hexpat (100%) rename {hexpat => datadoc/mrp}/mesh_researcher_pro_msh.py (92%) diff --git a/hexpat/msh.hexpat b/datadoc/imhex/msh.hexpat similarity index 100% rename from hexpat/msh.hexpat rename to datadoc/imhex/msh.hexpat diff --git a/hexpat/pak.hexpat b/datadoc/imhex/pak.hexpat similarity index 100% rename from hexpat/pak.hexpat rename to datadoc/imhex/pak.hexpat diff --git a/hexpat/yatf.hexpat b/datadoc/imhex/yatf.hexpat similarity index 100% rename from hexpat/yatf.hexpat rename to datadoc/imhex/yatf.hexpat diff --git a/hexpat/mesh_researcher_pro_msh.py b/datadoc/mrp/mesh_researcher_pro_msh.py similarity index 92% rename from hexpat/mesh_researcher_pro_msh.py rename to datadoc/mrp/mesh_researcher_pro_msh.py index 7468c60..76e1330 100644 --- a/hexpat/mesh_researcher_pro_msh.py +++ b/datadoc/mrp/mesh_researcher_pro_msh.py @@ -85,7 +85,8 @@ for i in range(0, mesh_count): # Add it and set everything up, add verts, faces, # and normals/UV if provided mesh = mrp.create_mesh(mtlFilename) - mesh.set_vertices(verts[1], tp="Float") + # We set fm="XZY" cause Europa uses a Y-up coordinate system. + mesh.set_vertices(verts[1], fm="XZY", tp="Float") mesh.set_faces(faces[1], tp="Short") if normals[0] != 0: mesh.set_normals(normals[1], tp="Float")