Skip to content

Commit

Permalink
Added PSX scene importing!
Browse files Browse the repository at this point in the history
  • Loading branch information
denetii committed Jul 6, 2018
1 parent 8895366 commit 97baed7
Show file tree
Hide file tree
Showing 3 changed files with 757 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ def to_thug_coords_ns(v):
def from_thug_coords(v):
return (v[0], -v[2], v[1])
#----------------------------------------------------------------------------------
def from_thps_coords(v):
return (v[0]/2.25, v[2]/2.25, -v[1]/2.25)
#----------------------------------------------------------------------------------
def to_thug_coords_rot(v):
return (v[0], v[2] + math.radians(180), -v[1])
#----------------------------------------------------------------------------------
Expand Down
Loading

0 comments on commit 97baed7

Please sign in to comment.