Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clark Lin
hw3d
Commits
181b5d26
Commit
181b5d26
authored
Jul 26, 2019
by
chili
Browse files
add texcoord to layout
parent
374f508f
Changes
1
Hide whitespace changes
Inline
Side-by-side
hw3d/Mesh.cpp
View file @
181b5d26
...
...
@@ -245,6 +245,7 @@ std::unique_ptr<Mesh> Model::ParseMesh( Graphics& gfx,const aiMesh& mesh,const a
VertexLayout
{}
.
Append
(
VertexLayout
::
Position3D
)
.
Append
(
VertexLayout
::
Normal
)
.
Append
(
VertexLayout
::
Texture2D
)
)
);
for
(
unsigned
int
i
=
0
;
i
<
mesh
.
mNumVertices
;
i
++
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment