mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 05:29:18 +02:00
build 201018. idexed geometry submodel format tweak
This commit is contained in:
@@ -537,7 +537,7 @@ std::pair<int, int> TSubModel::Load( cParser &parser, bool dynamic )
|
||||
auto vertices { std::begin( Vertices ) };
|
||||
for( auto idx = 0; idx < m_geometry.vertex_count; ++idx ) {
|
||||
auto vertex { vertices + idx };
|
||||
parser.getTokens( 3 + 3 + 2 + 3, false );
|
||||
parser.getTokens( 3 + 3 + 2 + 4, false );
|
||||
parser
|
||||
>> vertex->position.x
|
||||
>> vertex->position.y
|
||||
@@ -549,7 +549,8 @@ std::pair<int, int> TSubModel::Load( cParser &parser, bool dynamic )
|
||||
>> vertex->texture.t
|
||||
>> vertex->tangent.x
|
||||
>> vertex->tangent.y
|
||||
>> vertex->tangent.z;
|
||||
>> vertex->tangent.z
|
||||
>> vertex->tangent.w;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user