Home
Feedback Tracker
Search
Configure Global Search
Log In
Transactions
T150351
Change Details
Change Details
Old
New
Diff
Example test vector = Vector (10.2,1.3,3.5); float = 3.0; Option 1 - Doesn't Work test[0] *= coef; test[1] += coef; test[2] -= coef; Option 2 - Works float a1 = test[0]; a1 *= coef; test[0] = a1; float a2 = test[1]; a2 += coef; test[1] = a2; float a3 = test[2]; a3 -= coef; test[2] = a3;
Example test vector = Vector (10.2,1.3,3.5); float coef = 3.0; Option 1 - Doesn't Work test[0] *= coef; test[1] += coef; test[2] -= coef; Option 2 - Works float a1 = test[0]; a1 *= coef; test[0] = a1; float a2 = test[1]; a2 += coef; test[1] = a2; float a3 = test[2]; a3 -= coef; test[2] = a3;
Example test vector = Vector (10.2,1.3,3.5); float
coef
= 3.0; Option 1 - Doesn't Work test[0] *= coef; test[1] += coef; test[2] -= coef; Option 2 - Works float a1 = test[0]; a1 *= coef; test[0] = a1; float a2 = test[1]; a2 += coef; test[1] = a2; float a3 = test[2]; a3 -= coef; test[2] = a3;
Continue