Searched refs:dirxx (Results 1 – 1 of 1) sorted by relevance
2338 const FLOAT dirxx = dir->x * dir->x; in D3DXSHEvalDirection() local2344 const FLOAT dirxxxx = dirxx * dirxx; in D3DXSHEvalDirection()2365 out[8] = 0.25f / sqrtf(D3DX_PI / 15.0f) * (dirxx - diryy); in D3DXSHEvalDirection()2369 out[9] = -sqrtf(70.0f / D3DX_PI) / 8.0f * dir->y * (3.0f * dirxx - diryy); in D3DXSHEvalDirection()2374 out[14] = sqrtf(105.0f / D3DX_PI) / 4.0f * dir->z * (dirxx - diryy); in D3DXSHEvalDirection()2375 out[15] = -sqrtf(70.0f / D3DX_PI) / 8.0f * dir->x * (dirxx - 3.0f * diryy); in D3DXSHEvalDirection()2379 out[16] = 0.75f * sqrtf(35.0f / D3DX_PI) * dirxy * (dirxx - diryy); in D3DXSHEvalDirection()2385 out[22] = 0.375f * sqrtf(5.0f / D3DX_PI) * (dirxx - diryy) * (7.0f * dirzz - 1.0f); in D3DXSHEvalDirection()2392 out[26] = 0.75f * sqrtf(385.0f / D3DX_PI) * dirxy * dir->z * (dirxx - diryy); in D3DXSHEvalDirection()2393 …out[27] = sqrtf(770.0f / D3DX_PI) / 32.0f * dir->y * (3.0f * dirxx - diryy) * (1.0f - 9.0f * dirzz… in D3DXSHEvalDirection()[all …]