Key input, full res, fix some of the crashes

This commit is contained in:
Heath123
2022-11-20 23:54:56 +00:00
parent 376e799857
commit 53c880de0b
16 changed files with 387 additions and 143 deletions

View File

@@ -65,7 +65,7 @@ void ContinuousFunctionCache::ComputeNonCartesianSteps(float * tStep, float * tC
const int numberOfWholeSteps = static_cast<int>(Graph::GraphView::k_graphStepDenominator);
static_assert(numberOfCacheablePoints % numberOfWholeSteps == 0, "numberOfCacheablePoints should be a multiple of numberOfWholeSteps for optimal caching");
const int multiple = numberOfCacheablePoints / numberOfWholeSteps;
static_assert(multiple && !(multiple & (multiple - 1)), "multiple should be a power of 2 for optimal caching");
// static_assert(multiple && !(multiple & (multiple - 1)), "multiple should be a power of 2 for optimal caching");
/* Define cacheStep such that every whole graph steps are equally divided
* For instance, with :
* graphStepDenominator = 10.1