M
Mike
HI
I've two positions, one is nearer than the other in z. Both have
different x. Now how should I turn them together?
-----------
double theta = (double) heading * 3.14 / 180.0;
SourcesPos[0] = -float(cos(theta)); //not ok if i do: -0.2
SourcesPos[1] = -float(rand()%2);
SourcesPos[2] = -float(sin(theta)) //not ok if i do +0.7
I've two positions, one is nearer than the other in z. Both have
different x. Now how should I turn them together?
-----------
double theta = (double) heading * 3.14 / 180.0;
SourcesPos[0] = -float(cos(theta)); //not ok if i do: -0.2
SourcesPos[1] = -float(rand()%2);
SourcesPos[2] = -float(sin(theta)) //not ok if i do +0.7