20 #ifndef __OPC_COMMON_H__
21 #define __OPC_COMMON_H__
24 #ifdef OPC_CPU_COMPARE
25 #define GREATER(x, y) AIR(x) > IR(y)
27 #define GREATER(x, y) fabsf(x) > (y)
96 dest.
x = trans.
x + source.
x * rot.
m[0][0] + source.
y * rot.
m[1][0] + source.
z * rot.
m[2][0];
97 dest.
y = trans.
y + source.
x * rot.
m[0][1] + source.
y * rot.
m[1][1] + source.
z * rot.
m[2][1];
98 dest.
z = trans.
z + source.
x * rot.
m[0][2] + source.
y * rot.
m[1][2] + source.
z * rot.
m[2][2];
101 #endif //__OPC_COMMON_H__