feat: init

This commit is contained in:
dxfiscool
2026-03-08 10:09:54 +01:00
commit 25809b8455
18807 changed files with 3944357 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "stdafx.h"
#include "Synth.h"
doubleArray Synth::create(int width, int height)
{
doubleArray result = doubleArray(width * height);
for (int y = 0; y < height; y++)
{
for (int x = 0; x < width; x++)
{
result[x + y * width] = getValue(x, y);
}
}
return result;
}