Lines Matching refs:apcVec

1910         D3DXVECTOR4 apcVec[5];  in RenderNode()  local
1911 apcVec[0].x = g_avLightDirs[0].x; in RenderNode()
1912 apcVec[0].y = g_avLightDirs[0].y; in RenderNode()
1913 apcVec[0].z = g_avLightDirs[0].z; in RenderNode()
1914 apcVec[0].w = 0.0f; in RenderNode()
1915 apcVec[1].x = g_avLightDirs[0].x * -1.0f; in RenderNode()
1916 apcVec[1].y = g_avLightDirs[0].y * -1.0f; in RenderNode()
1917 apcVec[1].z = g_avLightDirs[0].z * -1.0f; in RenderNode()
1918 apcVec[1].w = 0.0f; in RenderNode()
1920 D3DXVec4Normalize(&apcVec[0],&apcVec[0]); in RenderNode()
1921 D3DXVec4Normalize(&apcVec[1],&apcVec[1]); in RenderNode()
1922 piEnd->SetVectorArray("afLightDir",apcVec,5); in RenderNode()
1924 apcVec[0].x = ((g_avLightColors[0] >> 16) & 0xFF) / 255.0f; in RenderNode()
1925 apcVec[0].y = ((g_avLightColors[0] >> 8) & 0xFF) / 255.0f; in RenderNode()
1926 apcVec[0].z = ((g_avLightColors[0]) & 0xFF) / 255.0f; in RenderNode()
1927 apcVec[0].w = 1.0f; in RenderNode()
1931 apcVec[1].x = ((g_avLightColors[1] >> 16) & 0xFF) / 255.0f; in RenderNode()
1932 apcVec[1].y = ((g_avLightColors[1] >> 8) & 0xFF) / 255.0f; in RenderNode()
1933 apcVec[1].z = ((g_avLightColors[1]) & 0xFF) / 255.0f; in RenderNode()
1934 apcVec[1].w = 0.0f; in RenderNode()
1937 apcVec[1].x = 0.0f; in RenderNode()
1938 apcVec[1].y = 0.0f; in RenderNode()
1939 apcVec[1].z = 0.0f; in RenderNode()
1940 apcVec[1].w = 0.0f; in RenderNode()
1943 apcVec[0] *= g_fLightIntensity; in RenderNode()
1944 apcVec[1] *= g_fLightIntensity; in RenderNode()
1945 piEnd->SetVectorArray("afLightColor",apcVec,5); in RenderNode()
1947 apcVec[0].x = vPos.x; in RenderNode()
1948 apcVec[0].y = vPos.y; in RenderNode()
1949 apcVec[0].z = vPos.z; in RenderNode()
1950 piEnd->SetVector( "vCameraPos",&apcVec[0]); in RenderNode()