Skip to content

Commit e09503d

Browse files
committed
let's clear some stuff
1 parent db32682 commit e09503d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/nbl/asset/interchange/CPLYMeshFileLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ bool CPLYMeshFileLoader::genVertBuffersForMBuffer(
709709
{
710710
mbPipeline->setShaderAtIndex(ICPURenderpassIndependentPipeline::ESSI_VERTEX_SHADER_IX, mbVertexShader.get());
711711
mbPipeline->setShaderAtIndex(ICPURenderpassIndependentPipeline::ESSI_FRAGMENT_SHADER_IX, mbFragmentShader.get());
712-
712+
713713
auto inputParams = mbPipeline->getVertexInputParams();
714714

715715
for (auto index = 0; index < 4; ++index)

src/nbl/asset/interchange/CPLYMeshWriter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ bool CPLYMeshWriter::writeAsset(io::IWriteFile* _file, const SAssetWriteParams&
152152

153153
const void* ind = meshBuffer->getIndices();
154154
auto idxCnt = meshBuffer->getIndexCount(); // when you convert triangle Fan or triangle strip to triangle list, the index count changes, and thats what you should derive your face count from
155+
// github comment
156+
155157
const auto idxtype = meshBuffer->getIndexType();
156158
const auto primitiveT = mbPipeline->getPrimitiveAssemblyParams().primitiveType;
157159

0 commit comments

Comments
 (0)