Home
last modified time | relevance | path

Searched refs:TH (Results 1 – 3 of 3) sorted by relevance

/RvlSDK-3.1.4/build/demos/gxdemo/src/Indirect/
Dind-bump-st.c66 u16 TW=64, TH=64; // Light map size. variable
318 …lightMap = MEMAllocFromAllocator(&DemoAllocator1, GXGetTexBufferSize(TW, TH, LIT_TEX_FMT, FALSE, 0… in bumpMapSetup()
321 GXInitTexObj(&lightMapObj, lightMap, TW, TH, LIT_TEX_FMT, in bumpMapSetup()
475 setupSize(TW, TH); in lightMapSetup()
649 c.y += (f32) TH/H*2; in showMaps()
667 c.y += (f32) TH/H*2; in showMaps()
673 c.y -= (f32) TH/H*2; in showMaps()
Dind-bump-xyz.c67 u16 TW=64, TH=64; // Light map size. variable
383 …lightMap = MEMAllocFromAllocator(&DemoAllocator1, GXGetTexBufferSize(TW, TH, LIT_TEX_FMT, FALSE, 0… in bumpMapSetup()
386 GXInitTexObj(&lightMapObj, lightMap, TW, TH, LIT_TEX_FMT, in bumpMapSetup()
528 setupSize(TW, TH); in lightMapSetup()
719 c.y -= (f32) TH/H*2; in showMaps()
737 c.y += (f32) TH/H*2; in showMaps()
743 c.y -= (f32) TH/H*2; in showMaps()
/RvlSDK-3.1.4/build/demos/wpaddemo/src/
Dwpadsample.c958 const f32 TH = WPAD_DPD_ANGLE / 2 * PI / 180; in getDistance() local
969 return (f32)(SEPARATION / 2 / tan(TH) * WPAD_DPD_IMG_RESO_WX / dpdDist); in getDistance()