Home
last modified time | relevance | path

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

/external/libkmsxx/kmscube/
DesTransform.cpp130 float deltaZ = farZ - nearZ; in esFrustum() local
134 (deltaX <= 0.0f) || (deltaY <= 0.0f) || (deltaZ <= 0.0f)) in esFrustum()
145 frust.m[2][2] = -(nearZ + farZ) / deltaZ; in esFrustum()
148 frust.m[3][2] = -2.0f * nearZ * farZ / deltaZ; in esFrustum()
168 float deltaZ = farZ - nearZ; in esOrtho() local
171 if ((deltaX == 0.0f) || (deltaY == 0.0f) || (deltaZ == 0.0f)) in esOrtho()
179 ortho.m[2][2] = -2.0f / deltaZ; in esOrtho()
180 ortho.m[3][2] = -(nearZ + farZ) / deltaZ; in esOrtho()