Lines Matching refs:eye
468 // Construct a matrix based on eye point, center and up direction. Based on the
470 static void loadLookatMatrix(rs_matrix4x4* matrix, float3 eye, float3 center, float3 up)
472 float3 f = normalize(center - eye);
491 rsMatrixTranslate(matrix, -eye.x, -eye.y, -eye.z);
1503 float4 eye = { 0.0f, 0.0f, 0.0f, 1.0f };
1506 eye = rsMatrixMultiply(&pm, eye);
1507 eye *= 1.0f / eye.w;
1512 const float3 rayPoint = { eye.x, eye.y, eye.z };
1518 rsDebug("Ray position (transformed) = ", eye);