-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
for (int i = 0; i < 3; ++i) { // Fill out rest of axis
test[6 + i * 3 + 0] = Cross(test[i], test[0]);
test[6 + i * 3 + 1] = Cross(test[i], test[1]);
test[6 + i * 3 + 2] = Cross(test[i], test[2]);
}
If I understood everything correctly, the code should look like this
for (int i = 0; i < 3; ++i) { // Fill out rest of axis
test[6 + i * 3 + 0] = Cross(test[i], test[3]);
test[6 + i * 3 + 1] = Cross(test[i], test[4]);
test[6 + i * 3 + 2] = Cross(test[i], test[5]);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels