Searched refs:rot (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dmatrix.c384 CRmatrix rot; local
404 rot.m00 = x * x_one_minus_c + c;
405 rot.m01 = x * y_one_minus_c + z * s;
406 rot.m02 = x * z_one_minus_c - y * s;
407 rot.m03 = 0.0f;
408 rot.m10 = y * x_one_minus_c - z * s;
409 rot.m11 = y * y_one_minus_c + c;
410 rot.m12 = y * z_one_minus_c + x * s;
411 rot.m13 = 0.0f;
412 rot
[all...]
/vbox/src/libs/zlib-1.2.6/examples/
H A Dgzappend.c120 /* rotate list[0..len-1] left by rot positions, in place */
121 local void rotate(unsigned char *list, unsigned len, unsigned rot) argument
127 /* normalize rot and handle degenerate cases */
129 if (rot >= len) rot %= len;
130 if (rot == 0) return;
136 if (rot == 1) {
144 if (rot == len - 1) {
152 cycles = gcd(len, rot); /* number of cycles */
158 from += rot; /* g
[all...]

Completed in 42 milliseconds