Searched refs:frust (Results 1 – 2 of 2) sorted by relevance
137 Matrix4x4 frust; in Matrix4x4_Frustum() local142 frust[0*4 + 0] = 2.f * near / dx; in Matrix4x4_Frustum()143 frust[0*4 + 1] = 0.f; in Matrix4x4_Frustum()144 frust[0*4 + 2] = 0.f; in Matrix4x4_Frustum()145 frust[0*4 + 3] = 0.f; in Matrix4x4_Frustum()147 frust[1*4 + 0] = 0.f; in Matrix4x4_Frustum()148 frust[1*4 + 1] = 2.f * near / dy; in Matrix4x4_Frustum()149 frust[1*4 + 2] = 0.f; in Matrix4x4_Frustum()150 frust[1*4 + 3] = 0.f; in Matrix4x4_Frustum()152 frust[2*4 + 0] = (right + left) / dx; in Matrix4x4_Frustum()[all …]
136 ESMatrix frust; in esFrustum() local142 frust.m[0][0] = 2.0f * nearZ / deltaX; in esFrustum()143 frust.m[0][1] = frust.m[0][2] = frust.m[0][3] = 0.0f; in esFrustum()145 frust.m[1][1] = 2.0f * nearZ / deltaY; in esFrustum()146 frust.m[1][0] = frust.m[1][2] = frust.m[1][3] = 0.0f; in esFrustum()148 frust.m[2][0] = (right + left) / deltaX; in esFrustum()149 frust.m[2][1] = (top + bottom) / deltaY; in esFrustum()150 frust.m[2][2] = -(nearZ + farZ) / deltaZ; in esFrustum()151 frust.m[2][3] = -1.0f; in esFrustum()153 frust.m[3][2] = -2.0f * nearZ * farZ / deltaZ; in esFrustum()[all …]