mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 21:47:59 +00:00
Squash MSVC Warnings
Update HECL
This commit is contained in:
@@ -108,7 +108,7 @@ bool ReadMAPAToBlender(HECL::BlenderConnection& conn,
|
|||||||
if (GX::Primitive(prim.type) == GX::TRIANGLESTRIP)
|
if (GX::Primitive(prim.type) == GX::TRIANGLESTRIP)
|
||||||
{
|
{
|
||||||
atUint8 flip = 0;
|
atUint8 flip = 0;
|
||||||
for (int v=0 ; v<prim.indexCount-2 ; ++v)
|
for (size_t v=0 ; v<prim.indexCount-2 ; ++v)
|
||||||
{
|
{
|
||||||
if (flip)
|
if (flip)
|
||||||
{
|
{
|
||||||
@@ -138,7 +138,7 @@ bool ReadMAPAToBlender(HECL::BlenderConnection& conn,
|
|||||||
}
|
}
|
||||||
else if (GX::Primitive(prim.type) == GX::TRIANGLES)
|
else if (GX::Primitive(prim.type) == GX::TRIANGLES)
|
||||||
{
|
{
|
||||||
for (int v=0 ; v<prim.indexCount ; v+=3)
|
for (size_t v=0 ; v<prim.indexCount ; v+=3)
|
||||||
{
|
{
|
||||||
os.format("add_triangle(bm, (%u,%u,%u))\n",
|
os.format("add_triangle(bm, (%u,%u,%u))\n",
|
||||||
primVerts[0],
|
primVerts[0],
|
||||||
@@ -159,7 +159,7 @@ bool ReadMAPAToBlender(HECL::BlenderConnection& conn,
|
|||||||
for (const typename MAPA::Surface::Border& border : surf.borders)
|
for (const typename MAPA::Surface::Border& border : surf.borders)
|
||||||
{
|
{
|
||||||
auto iit = border.indices.cbegin();
|
auto iit = border.indices.cbegin();
|
||||||
for (int i=0 ; i<border.indexCount-1 ; ++i)
|
for (size_t i=0 ; i<border.indexCount-1 ; ++i)
|
||||||
{
|
{
|
||||||
os.format("add_border(bm, (%u,%u))\n",
|
os.format("add_border(bm, (%u,%u))\n",
|
||||||
*iit, *(iit+1));
|
*iit, *(iit+1));
|
||||||
|
|||||||
2
hecl
2
hecl
Submodule hecl updated: d4460a3970...cfe192145c
Reference in New Issue
Block a user