Fixed inconsistency in the acGridLoad parameter order

This commit is contained in:
jpekkila
2020-08-21 14:40:11 +03:00
parent f2cb9e1dc1
commit 56273433fe
5 changed files with 13 additions and 10 deletions

View File

@@ -51,7 +51,7 @@ main(void)
acGridInit(info);
// INTEGRATION TESTS START ---------------------------------------------------------------------
acGridLoadMesh(model, STREAM_DEFAULT);
acGridLoadMesh(STREAM_DEFAULT, model);
acGridIntegrate(STREAM_DEFAULT, FLT_EPSILON);
acGridPeriodicBoundconds(STREAM_DEFAULT);
acGridStoreMesh(STREAM_DEFAULT, &candidate);
@@ -64,7 +64,7 @@ main(void)
// INTEGRATION TESTS END -----------------------------------------------------------------------
// REDUCTION TESTS START -----------------------------------------------------------------------
acGridLoadMesh(model, STREAM_DEFAULT);
acGridLoadMesh(STREAM_DEFAULT, model);
std::vector<AcScalReductionTestCase> scalarReductionTests{
acCreateScalReductionTestCase("Scalar MAX", VTXBUF_UUX, RTYPE_MAX),