dilevin / computer-graphics-meshes

Computer Graphics Assignment about Meshes
1 stars 5 forks source link

Resize giving runtime error (cube) #17

Closed msnhao closed 4 years ago

msnhao commented 4 years ago

The resize for matrix F seems to cause a runtime error: Assertion failed: (i>=0) && ( ((BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) && i<xpr.rows()) ||((BlockRows==XprType::RowsAtCompileTime) && (BlockCols==1) && i<xpr.cols())),

Here's my code: V.resize(8,3); F.resize(6,4); UV.resize(14,2); UF.resize(6,4); NV.resize(6,3); NF.resize(6,4); return;

Justin-Yuan commented 4 years ago

i got the same error, did u end up solving it :) ?