Skip to content

Commit

Permalink
Add some probably incorrect comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pherakki committed Oct 14, 2020
1 parent e62c041 commit 6abfe1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions FileReaders/GeomReader/MeshReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ def validate_weighted_bone_id(component_data):
class VertexComponent:
vertex_types = {1: 'Position', # 3 floats
2: 'Normal', # 3 half-floats
3: 'UnknownVertexUsage1', # 4 half-floats, appears in chr, d, eff, npc, t, ui files # colour?
4: 'UnknownVertexUsage2', # 3 half-floats, appears in eff and ui files
3: 'UnknownVertexUsage1', # 4 half-floats, appears in chr, d, eff, npc, t, ui files # colour? # tangent?
4: 'UnknownVertexUsage2', # 3 half-floats, appears in eff and ui files # binormal?
5: 'UV', # 2 half-floats
6: 'UnknownVertexUsage3', # 2 half-floats, appears in block, chr, d, e, eff, f, h, npc, scenario, t, ui files
7: 'UnknownVertexUsage4', # 2 half-floats, appears in chr, d, f, h, t
6: 'UnknownVertexUsage3', # 2 half-floats, appears in block, chr, d, e, eff, f, h, npc, scenario, t, ui files # uv2?
7: 'UnknownVertexUsage4', # 2 half-floats, appears in chr, d, f, h, t # uv3?
9: 'UnknownVertexUsage5', # 4 half-floats, appears in block, blok, chr, d, e, eff, ev, eve, f, h, line, medal, mob, npc, scenario, t, ui, # colour?
10: 'WeightedBoneID', # Variable number of bytes. This is 3X THE INDEX of a bone id in MeshReader.weighted_bone_idxs
11: 'BoneWeight'} # Variable number of half-floats
Expand Down

0 comments on commit 6abfe1e

Please sign in to comment.