Home
last modified time | relevance | path

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

/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Dvecmath.cpp115 float det_1; in Inverse() local
150 det_1 = pos + neg; in Inverse()
152 if (det_1 == 0.0) { in Inverse()
155 det_1 = 1.0f / det_1; in Inverse()
156 ret.f_[0] = (f_[5] * f_[10] - f_[9] * f_[6]) * det_1; in Inverse()
157 ret.f_[1] = -(f_[1] * f_[10] - f_[9] * f_[2]) * det_1; in Inverse()
158 ret.f_[2] = (f_[1] * f_[6] - f_[5] * f_[2]) * det_1; in Inverse()
159 ret.f_[4] = -(f_[4] * f_[10] - f_[8] * f_[6]) * det_1; in Inverse()
160 ret.f_[5] = (f_[0] * f_[10] - f_[8] * f_[2]) * det_1; in Inverse()
161 ret.f_[6] = -(f_[0] * f_[6] - f_[4] * f_[2]) * det_1; in Inverse()
[all …]