mirror of https://github.com/AxioDL/metaforce.git
Updated libBoo
This commit is contained in:
parent
83a3c645ae
commit
f7e195a140
|
@ -1 +1 @@
|
|||
Subproject commit 3bcfa99b5aa5a9c5b74da24b0089775a20fe141c
|
||||
Subproject commit 6c83991e2a297ccf4b47a87b098b50bd9ab06c6b
|
|
@ -38,19 +38,19 @@ boo::IVertexFormat* HMDLData::NewVertexFormat(boo::IGraphicsDataFactory* factory
|
|||
vdescs[i].indexBuffer = ibo;
|
||||
}
|
||||
|
||||
vdescs[0].semantic = boo::VertexSemantic::Position;
|
||||
vdescs[1].semantic = boo::VertexSemantic::Normal;
|
||||
vdescs[0].semantic = boo::VertexSemantic::Position3;
|
||||
vdescs[1].semantic = boo::VertexSemantic::Normal3;
|
||||
size_t e = 2;
|
||||
|
||||
for (size_t i=0 ; i<meta.colorCount ; ++i, ++e)
|
||||
{
|
||||
vdescs[e].semantic = boo::VertexSemantic::Color;
|
||||
vdescs[e].semantic = boo::VertexSemantic::ColorUNorm;
|
||||
vdescs[e].semanticIdx = i;
|
||||
}
|
||||
|
||||
for (size_t i=0 ; i<meta.uvCount ; ++i, ++e)
|
||||
{
|
||||
vdescs[e].semantic = boo::VertexSemantic::UV;
|
||||
vdescs[e].semantic = boo::VertexSemantic::UV2;
|
||||
vdescs[e].semanticIdx = i;
|
||||
}
|
||||
|
||||
|
@ -74,19 +74,19 @@ boo::IVertexFormat* ShaderTag::newVertexFormat(boo::IGraphicsDataFactory *factor
|
|||
vdescs[i].indexBuffer = nullptr;
|
||||
}
|
||||
|
||||
vdescs[0].semantic = boo::VertexSemantic::Position;
|
||||
vdescs[1].semantic = boo::VertexSemantic::Normal;
|
||||
vdescs[0].semantic = boo::VertexSemantic::Position3;
|
||||
vdescs[1].semantic = boo::VertexSemantic::Normal3;
|
||||
size_t e = 2;
|
||||
|
||||
for (size_t i=0 ; i<m_colorCount ; ++i, ++e)
|
||||
{
|
||||
vdescs[e].semantic = boo::VertexSemantic::Color;
|
||||
vdescs[e].semantic = boo::VertexSemantic::ColorUNorm;
|
||||
vdescs[e].semanticIdx = i;
|
||||
}
|
||||
|
||||
for (size_t i=0 ; i<m_uvCount ; ++i, ++e)
|
||||
{
|
||||
vdescs[e].semantic = boo::VertexSemantic::UV;
|
||||
vdescs[e].semantic = boo::VertexSemantic::UV2;
|
||||
vdescs[e].semanticIdx = i;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue