Skip to content

Commit

Permalink
Update fast64_internal/mk64/f3d_course_parser.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dragorn421 <[email protected]>
  • Loading branch information
coco875 and Dragorn421 authored Feb 29, 2024
1 parent fe59e90 commit 230cd6f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions fast64_internal/mk64/f3d_course_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

def courseVertexFormatPatterns():
# position, uv, color/normal
return [
return (
# decomp format
"\{\s*"
+ "\{+([^,\}]*),([^,\}]*),([^,\}]*)\}\s*,\s*"
+ "\{([^,\}]*),([^,\}]*)\}\s*,\s*"
+ "\{MACRO_COLOR_FLAG\(([^,\}]*),([^,\}]*),([^,\}]*),([^,\}])*\),([^,\}]*)\}\s*"
+ "\}",
][0]
r"\{\s*"
r"\{+([^,\}]*),([^,\}]*),([^,\}]*)\}\s*,\s*"
r"\{([^,\}]*),([^,\}]*)\}\s*,\s*"
r"\{MACRO_COLOR_FLAG\(([^,\}]*),([^,\}]*),([^,\}]*),([^,\}])*\),([^,\}]*)\}\s*"
r"\}"
)


def parseCourseVtx(path: str, f3d):
Expand Down

0 comments on commit 230cd6f

Please sign in to comment.