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
55aefc03
"PracticeDx/Lines.cpp" did not exist on "13cc941fbce76225bd15572420fae66e9e63f9b4"
Commit
55aefc03
authored
Jul 23, 2019
by
chili
Browse files
exploring properties
parent
e288866e
Changes
1
Show whitespace changes
Inline
Side-by-side
hw3d/Mesh.cpp
View file @
55aefc03
...
@@ -247,6 +247,11 @@ std::unique_ptr<Mesh> Model::ParseMesh( Graphics& gfx,const aiMesh& mesh,const a
...
@@ -247,6 +247,11 @@ std::unique_ptr<Mesh> Model::ParseMesh( Graphics& gfx,const aiMesh& mesh,const a
)
);
)
);
auto
&
material
=
*
pMaterials
[
mesh
.
mMaterialIndex
];
auto
&
material
=
*
pMaterials
[
mesh
.
mMaterialIndex
];
for
(
int
i
=
0
;
i
<
material
.
mNumProperties
;
i
++
)
{
auto
&
prop
=
*
material
.
mProperties
[
i
];
int
qqq
=
90
;
}
for
(
unsigned
int
i
=
0
;
i
<
mesh
.
mNumVertices
;
i
++
)
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