139 CosTheta = (
REAL)cos((
double)angle);
140 SinTheta = (
REAL)sin((
double)angle);
141 matrix[m1][m1] = CosTheta;
142 matrix[m2][m2] = CosTheta;
143 matrix[m1][m2] = SinTheta;
144 matrix[m2][m1] = -SinTheta;
void blCreateRotMat(char direction, REAL angle, REAL matrix[3][3])
Type definitions for maths.