mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
Updated libBoo
This commit is contained in:
2
hecl/extern/libBoo
vendored
2
hecl/extern/libBoo
vendored
Submodule hecl/extern/libBoo updated: 3bcfa99b5a...6c83991e2a
@@ -38,19 +38,19 @@ boo::IVertexFormat* HMDLData::NewVertexFormat(boo::IGraphicsDataFactory* factory
|
|||||||
vdescs[i].indexBuffer = ibo;
|
vdescs[i].indexBuffer = ibo;
|
||||||
}
|
}
|
||||||
|
|
||||||
vdescs[0].semantic = boo::VertexSemantic::Position;
|
vdescs[0].semantic = boo::VertexSemantic::Position3;
|
||||||
vdescs[1].semantic = boo::VertexSemantic::Normal;
|
vdescs[1].semantic = boo::VertexSemantic::Normal3;
|
||||||
size_t e = 2;
|
size_t e = 2;
|
||||||
|
|
||||||
for (size_t i=0 ; i<meta.colorCount ; ++i, ++e)
|
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;
|
vdescs[e].semanticIdx = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (size_t i=0 ; i<meta.uvCount ; ++i, ++e)
|
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;
|
vdescs[e].semanticIdx = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -74,19 +74,19 @@ boo::IVertexFormat* ShaderTag::newVertexFormat(boo::IGraphicsDataFactory *factor
|
|||||||
vdescs[i].indexBuffer = nullptr;
|
vdescs[i].indexBuffer = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
vdescs[0].semantic = boo::VertexSemantic::Position;
|
vdescs[0].semantic = boo::VertexSemantic::Position3;
|
||||||
vdescs[1].semantic = boo::VertexSemantic::Normal;
|
vdescs[1].semantic = boo::VertexSemantic::Normal3;
|
||||||
size_t e = 2;
|
size_t e = 2;
|
||||||
|
|
||||||
for (size_t i=0 ; i<m_colorCount ; ++i, ++e)
|
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;
|
vdescs[e].semanticIdx = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (size_t i=0 ; i<m_uvCount ; ++i, ++e)
|
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;
|
vdescs[e].semanticIdx = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user