static QEF3D()
{
int size = 8;
deltas = new Vector3[size * size * size];
for (int x = 0; x < size; x++)
{
float dx = (float)x / (float)(size / 2) - 1.0f;
for (int y = 0; y < size; y++)
{
float dy = (float)y / (float)(size / 2) - 1.0f;
for (int z = 0; z < size; z++)
{
float dz = (float)z / (float)(size / 2) - 1.0f;
deltas[x * size * size + y * size + z] = new Vector3(dx * 0.01f, dy * 0.01f, dz * 0.01f);
}
}
}
}