public void Init() { fixed (float* orientationsPtr = _orientations) { fixed (float* scriptsNAPtr = _scriptsNA) { for (int i = 0; i < 4; ++i) { for (int j = 0; j < kMaxNumberOfScripts; ++j) { scriptsNAPtr[i * kMaxNumberOfScripts + j] = 0f; } orientationsPtr[i] = 0f; } } } _unicharset = IntPtr.Zero; _bestResult = new OSBestResult(); }
public void Init() { fixed(float *orientationsPtr = _orientations) { fixed(float *scriptsNAPtr = _scriptsNA) { for (int i = 0; i < 4; ++i) { for (int j = 0; j < kMaxNumberOfScripts; ++j) { scriptsNAPtr[i * kMaxNumberOfScripts + j] = 0f; } orientationsPtr[i] = 0f; } } } _unicharset = IntPtr.Zero; _bestResult = new OSBestResult(); }