MCPcopy Create free account
hub / github.com/BambooTracker/BambooTracker / changeSize

Method changeSize

BambooTracker/module/pattern.cpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void Pattern::changeSize(size_t size)
72{
73 if (size && size <= MAX_STEP_SIZE) {
74 size_ = size;
75 if (steps_.size() < size) steps_.resize(size);
76 }
77}
78
79void Pattern::insertStep(int n)
80{

Callers 1

Calls 2

sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected