invert x coord on X model loader
This commit is contained in:
parent
d7a0650183
commit
648f0d0106
1 changed files with 1 additions and 1 deletions
2
src/X.gd
2
src/X.gd
|
@ -28,7 +28,7 @@ static func LoadModel(filePath: String):
|
|||
if pointData.size() == 5:
|
||||
meshDataStart = false
|
||||
indexDataStart = true
|
||||
verts.push_back(Vector3(float(pointData[0]), float(pointData[1]), float(pointData[2])))
|
||||
verts.push_back(Vector3(-float(pointData[0]), float(pointData[1]), float(pointData[2])))
|
||||
elif indexDataStart:
|
||||
var indexParts = line.strip_edges().split(";")
|
||||
if indexParts.size() == 4:
|
||||
|
|
Loading…
Add table
Reference in a new issue