Code: Select all
float omega[3]; omega[1] = 1.0f; omega[2] = 0.0f; omega[3] = 0.0f;
Change this for:
Code: Select all
float omega[3]; omega[1] = 1.0f; omega[2] = 0.0f; omega[0] = 0.0f;
It's ok?
Code: Select all
float omega[3]; omega[1] = 1.0f; omega[2] = 0.0f; omega[3] = 0.0f;
Code: Select all
float omega[3]; omega[1] = 1.0f; omega[2] = 0.0f; omega[0] = 0.0f;