Home
last modified time | relevance | path

Searched refs:w (Results 1 – 24 of 24) sorted by relevance

/RvlSDK-3.2.2/build/libraries/mtx/src/
Dquat.c89 r->w = p->w + q->w; in C_QUATAdd()
145 r->w = p->w - q->w; in C_QUATSubtract()
211 r->w = p->w*q->w - p->x*q->x - p->y*q->y - p->z*q->z; in C_QUATMultiply()
212 r->x = p->w*q->x + p->x*q->w + p->y*q->z - p->z*q->y; in C_QUATMultiply()
213 r->y = p->w*q->y + p->y*q->w + p->z*q->x - p->x*q->z; in C_QUATMultiply()
214 r->z = p->w*q->z + p->z*q->w + p->x*q->y - p->y*q->x; in C_QUATMultiply()
317 r->w = q->w * scale; in C_QUATScale()
365 return (q->x*p->x + q->y*p->y + q->z*p->z + q->w*p->w); in C_QUATDotProduct()
415 mag = (src->x * src->x) + (src->y * src->y) + (src->z * src->z) + (src->w * src->w); in C_QUATNormalize()
424 unit->w = src->w * mag; in C_QUATNormalize()
[all …]
Dmtx44vec.c74 f32 w; in C_MTX44MultVec() local
84 w = m[3][0]*src->x + m[3][1]*src->y + m[3][2]*src->z + m[3][3]; in C_MTX44MultVec()
85 w = 1.0f/w; in C_MTX44MultVec()
88 dst->x = vTmp.x * w; in C_MTX44MultVec()
89 dst->y = vTmp.y * w; in C_MTX44MultVec()
90 dst->z = vTmp.z * w; in C_MTX44MultVec()
161 f32 w; in C_MTX44MultVecArray() local
173 w = m[3][0]*srcBase->x + m[3][1]*srcBase->y + m[3][2]*srcBase->z + m[3][3]; in C_MTX44MultVecArray()
174 w = 1.0f/w; in C_MTX44MultVecArray()
177 dstBase->x = vTmp.x * w; in C_MTX44MultVecArray()
[all …]
Dmtx44.c728 f32 w; in C_MTX44Inverse() local
772 w = 1.0F / gjm[i][i]; in C_MTX44Inverse()
775 gjm[i][j] *= w; in C_MTX44Inverse()
776 inv[i][j] *= w; in C_MTX44Inverse()
784 w = gjm[k][i]; in C_MTX44Inverse()
787 gjm[k][j] -= gjm[i][j] * w; in C_MTX44Inverse()
788 inv[k][j] -= inv[i][j] * w; in C_MTX44Inverse()
Dmtx.c2146 ASSERTMSG( ( q->x || q->y || q->z || q->w ), MTX_QUAT_3 ); in C_MTXQuat()
2149 s = 2.0f / ( (q->x * q->x) + (q->y * q->y) + (q->z * q->z) + (q->w * q->w) ); in C_MTXQuat()
2152 wx = q->w * xs; wy = q->w * ys; wz = q->w * zs; in C_MTXQuat()
/RvlSDK-3.2.2/build/demos/hio2demo/include/
Dmulti.h23 #define SWAP16(w) ((((w) >> 8) & 0x00FF) | (((w) << 8) & 0xFF00)) argument
25 #define SWAP16(w) (w)
/RvlSDK-3.2.2/include/revolution/gx/
DGXVert.h199 void func(const ts x, const ts y, const ts z, const ts w);
255 static inline void func(const ts x, const ts y, const ts z, const ts w) \
264 *((td *) __EmBuffPtr) = (td) w; \
267 Em##func(x, y, z, w); \
308 static inline void func(const ts x, const ts y, const ts z, const ts w) \
313 GXWGFifo.td = (td) w; \
DGXEmVert.h48 void EmGXParam4f32( f32 x, f32 y, f32 z, f32 w );
/RvlSDK-3.2.2/build/libraries/demo/src/
DDEMOWin.c175 static void __DEMOWinMenu_refesh_menu (DEMOWinInfo *w);
176 static void __DEMOWinList_refresh_list (DEMOWinInfo *w);
1225 s32 w, len, i; in __DEMOWin_puts_n() local
1243 w = string[i] - ' '; in __DEMOWin_puts_n()
1244 s = ( w % 8 ) * 16 + fontShift; in __DEMOWin_puts_n()
1245 t = ( w / 8 ) * 16 + fontShift; in __DEMOWin_puts_n()
1637 static void __DEMOWinMenu_refesh_menu(DEMOWinInfo *w) in __DEMOWinMenu_refesh_menu() argument
1651 DEMOWinClearWindow(w); in __DEMOWinMenu_refesh_menu()
1654 m = (w->parent); in __DEMOWinMenu_refesh_menu()
1665 DEMOWinPrintfXY(w, 0, (u16)i, " %s ", m->items[(u16)j].name); in __DEMOWinMenu_refesh_menu()
[all …]
DDEMOPuts.c340 s32 c, w, len, i; in DEMOPuts() local
368 w = string[i] - ' '; in DEMOPuts()
369 s = ( w % 8 ) * 16 + fontShift; in DEMOPuts()
370 t = ( w / 8 ) * 16 + fontShift; in DEMOPuts()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Indirect/
Dind-bump-st.c100 void setupSize(u16 w, u16 h);
200 void setupSize(u16 w, u16 h) in setupSize() argument
202 GXSetViewport(0, 0, w, h, 0, 1); in setupSize()
203 GXSetScissor(0, 0, w, h); in setupSize()
204 GXSetDispCopySrc(0, 0, w, h); in setupSize()
205 GXSetDispCopyDst(w, h); in setupSize()
207 GXSetTexCopySrc(0, 0, w, h); in setupSize()
208 GXSetTexCopyDst(w, h, LIT_TEX_FMT, FALSE); in setupSize()
Dind-bump-xyz.c124 void setupSize(u16 w, u16 h);
259 void setupSize(u16 w, u16 h) in setupSize() argument
261 GXSetViewport(0, 0, w, h, 0, 1); in setupSize()
262 GXSetScissor(0, 0, w, h); in setupSize()
263 GXSetDispCopySrc(0, 0, w, h); in setupSize()
264 GXSetDispCopyDst(w, h); in setupSize()
266 GXSetTexCopySrc(0, 0, w, h); in setupSize()
267 GXSetTexCopyDst(w, h, LIT_TEX_FMT, FALSE); in setupSize()
/RvlSDK-3.2.2/include/revolution/mtx/
DGeoTypes.h79 f32 x, y, z, w; member
/RvlSDK-3.2.2/build/demos/gxdemo/src/Geometry/
Dgeo-particle.c612 double x1, x2, w, y1; in BoxMuller() local
627 w = (x1 * x1) + (x2 * x2); in BoxMuller()
628 } while ( w > 1.0 ); in BoxMuller()
630 w = sqrt( (-2.0 * log( w ) ) / w ); in BoxMuller()
631 y1 = x1 * w; in BoxMuller()
632 y2 = x2 * w; in BoxMuller()
/RvlSDK-3.2.2/include/revolution/gd/
DGDVert.h86 static inline void func(const ts x, const ts y, const ts z, const ts w) \
91 GDWrite_##td(w); \
/RvlSDK-3.2.2/include/demo/
DDEMOWin.h107 #define DEMOWIN_CALC_MENU_WIDTH_PIXELS(w) ((((w)+DEMOWIN_X_CHAR_PAD)*FONT_CHAR_WIDTH)+4) argument
/RvlSDK-3.2.2/build/demos/hio2demo/src/
Ddual-main.c384 u32 x=96, y=128, w=128, h=192, col = myMakeColor(); in myPaintBox() local
385 u32 pixSize = (VI_DISPLAY_PIX_SZ << 1), lineSize = pixSize * w, i; in myPaintBox()
/RvlSDK-3.2.2/build/demos/kpadOlddemo/src/
Dsample.c138 s32 i,w,k, im,wm,km ; in move_cursor() local
168 w = wx * wx + wy ; in move_cursor()
169 if ( w >= wm ) continue ; in move_cursor()
172 wm = w ; in move_cursor()
/RvlSDK-3.2.2/build/demos/gxdemo/src/PixelProc/
Dcmn-model.c496 f32 w, h; member
594 wcos = obj3[i].w * cs; in cmModel3_Draw()
595 wsin = obj3[i].w * sn; in cmModel3_Draw()
/RvlSDK-3.2.2/build/libraries/kpad/include/
DKPADinside.h66 KPADUnifiedWpadStatus w; member
/RvlSDK-3.2.2/build/buildtools/
Dmodulerules601 chmod +w $(INSTALL_ROOT)/lib/* ; \
614 chmod +w $(INSTALL_ROOT)/bin/demos/$(MODULENAME)/* ; \
628 chmod +w $(INSTALL_ROOT)/bin/tests/$(MODULENAME)/* ; \
641 chmod +w $(INSTALL_ROOT)/boot/* ; \
654 chmod +w $(INSTALL_ROOT)/bin/* ; \
/RvlSDK-3.2.2/build/demos/kpaddemo/src/
Dsample.c177 s32 i,w,k, im,wm,km ; in move_cursor() local
206 w = wx * wx + wy ; in move_cursor()
207 if ( w >= wm ) continue ; in move_cursor()
210 wm = w ; in move_cursor()
/RvlSDK-3.2.2/build/demos/gxdemo/src/TexGen/
Dtg-clr-persp.c545 u16 w, h; in AnimTick() local
561 w = GXGetTexObjWidth(&g_texMap[2 * g_map]); in AnimTick()
564 g_map, w, h); in AnimTick()
/RvlSDK-3.2.2/build/tools/TexConv/sample/
Dsample.tcs120 … 2, x, CMPR, 0, 7, 0, GX_CLAMP, GX_MIRROR ; set wrapS to clamp and set wrapT to mirror w/ mipmap
/RvlSDK-3.2.2/build/libraries/kpad/src/
DKPAD.c2034 tp->w = *uwp ; in KPADiRead()
2087 uwp = &tp->w ; in KPADiRead()
2168 uwp = &tp->w ; in KPADiRead()
2219 uwp = &tp->w ; in KPADiRead()